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 14 Next »

/social/share/add/json/{type}/{title}/{description}

Add a shared object (JSON document) to the share collection. Note: Can be called via post or get.

Authentication

Required, see Auth - Login

Arguments

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/add/json/type/title/description?json=<>

Method.Post

Example using curl:

curl \-XPOST 'http://infinite.ikanow.com/api/share/add/json/type/title/description' \-d '{"field":"value"}'
Example Response
{
	response: {
		action: "New Share"
		success: true
		message: "New share added successfully."
		time: 10
	}
}
  • No labels