Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

/social/share/update/json/{id}/{type}/{title}/{description}?json=<object-json> (GET)
/social/share/update/json/{id}/{type}/{title}/{description} (POST)

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.

Authentication

Required, see Auth - Login

Arguments

id (required)
ID of share to update

type (required)
Type of share: dataset, query, etc.

title (required)
Arbitrary display title for the share

description (required)
Arbitrary display description for the share

json (required)
JSON object

Example

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:

curl \-XPOST 'http://infinite.ikanow.com/api/share/update/json/id/type/title/description' \-d '{"userid":"4f5e189ada7f00000000510f","settings":{"maximized":false,"lastTabOpen":1}}'
Example Response
{
	response: {
		action: "Update Share"
		success: true
		message: "Share updated successfully."
		time: 10
	}
}
  • No labels