Sugar Network/API: Difference between revisions
m Alsroot moved page Platform Team/Sugar Network/API to Sugar Network/API |
|||
| Line 112: | Line 112: | ||
* {{Code|result}}, an array of dictionaries with resource object properties, dictionaries contain at least {{Code|guid}} property. | * {{Code|result}}, an array of dictionaries with resource object properties, dictionaries contain at least {{Code|guid}} property. | ||
<div id=" | <div id="GET-resource"></div> | ||
'''GET''' /''RESOURCE''/''GUID''[?reply=''PROP''[,..]] | '''GET''' /''RESOURCE''/''GUID''[?reply=''PROP''[,..]] | ||
| Line 121: | Line 121: | ||
* properties that were specified in {{Code|reply}} argument(s), at least {{Code|guid}}. | * properties that were specified in {{Code|reply}} argument(s), at least {{Code|guid}}. | ||
<div id=" | <div id="GET-property"></div> | ||
'''GET''' /''RESOURCE''/''GUID''/''PROP'' | '''GET''' /''RESOURCE''/''GUID''/''PROP'' | ||
| Line 130: | Line 130: | ||
* property value in JSON notation for regular properties; | * property value in JSON notation for regular properties; | ||
* raw data or redirection for BLOB properties. | * raw data or redirection for BLOB properties. | ||
<div id="HEAD-property"></div> | |||
'''HEAD''' /''RESOURCE''/''GUID''/''PROP'' | |||
Return property metadata for particular resource object. In addition to regular HTTP header properties, the command will return Sugar Network property metadata in header keys prefixed by {{Code|X-SN-}}. | |||
=== Download activities === | === Download activities === | ||