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 (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/json/?json={title:'test'}\<>]

*Method.Post*
curl \-XPOST 'http://infinite.ikanow.com/api/share/add/json/' \-d '{ "json": "{...}" }'

h5. Example Response

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


h5. Error Response