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
Info | |
---|---|
Code Block | json/?json={title:'test'}\] *Method.Post* h5. Example Response {info} {code} { response: { action: "New Share" success: true message: "New share added successfully." time: 10 } } |
...
{code} {info} h5. Error Response |