Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h5. API Call \-

...

 /share/add/

...

json/

{

...

Info

Add a shared object i.e.: JSON document, string-able object type, or simple string value

Authentication

Required, see Auth - Login

Arguments

type (required)
Type of object shared: Query, Dataset, Url, etc.

title (required)
Display title for share

description (required)
Display description for share

share (required)
JSON or other string value representing the object to share

Example
info}

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


h5. Authentication

Required, see [Auth - Login|Auth - Login]

h5. Arguments

*json* (required)
JSON representation of a SharePojo object



h5. Example

*Method.Get*
\[http://infinite.ikanow.com/api/share/add/

...

Example Response
json/?json={title:'test'}\]

*Method.Post*


h5. Example Response

{info}
{code}
{
	response: {
		action: "New Share"
		success: true
		message: "New share added successfully."
		time: 10
	}
}
Info
Code Block

...

{code}
{info}


h5. Error Response