...
Info |
---|
Update a document in the share collection. Note: Can be called via post or get. A simple web-based utility is available for performing many share management activities. Note that updating a share unendorses it for all communities for which the logged-in user is not a moderator. |
Authentication
Required, see Auth - Login.
Info |
---|
There is one exception to needing to be the owner or an administrator - if a share is only currently shared with a single community (this means it must have been explicitly unshared from the personal community of the user who created it), then it can be modifed by any content publisher or community moderator for that community. |
Arguments
id (required)
ID of share to update
...
Method.Get
http://infinite.ikanow.com/api/share/update/json/id/type/title/description?json=<>%7B%22userid%22%3A%224f5e189ada7f00000000510f%22%2C%22settings%22%3A%7B%22maximized%22%3Afalse%2C%22lastTabOpen%22%3A1%7D%7D
Method.Post
Example using curl:
Code Block |
---|
curl \-XPOST 'http://infinite.ikanow.com/api/share/update/json/id/type/title/description' \-d '{ "field":"value" {"userid":"4f5e189ada7f00000000510f","settings":{"maximized":false,"lastTabOpen":1}}' |
Example Response
Info | ||
---|---|---|
|