...
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /property?path={ resource path }&name={ property name }&user={ user name } |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Description | This retrieves the specific property associated with the given property name. |
Response | HTTP 200 OK |
Response Type | JSON |
...
Attributes | Values |
---|---|
HTTP Method | PUT |
Request URI | /property?path={ resource path }&user={ user name } |
HTTP Request Headers | Authorization: Bearer { OAuth access token } Content-Type: application/json |
Payload | [ {"name":"propperty1","value":["value1","value2"]} ] |
Description | Add the array of properties for the given resource |
Response | 204 No Content |
Response Type | JSON |
...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /property?path={ resource path }&user={ user name } |
HTTP Request Header | Authorization: Bearer { OAuth access token } Content-Type: application/json |
Payload | [ {"name":"propperty1","value":["value3","value4"]} ] |
Description | Update the respective properties with the newly passed array of properties |
Response | HTTP 204 No Content |
Response Type | JSON |
Delete a Property of a Given Resource
Attributes | Values |
---|---|
HTTP Method | DELETE |
Request URI | /property?path={ resource path }&name={property name}&user={ user name } |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Description | Deletes the specified property from the given resource |
Response | HTTP 204 No Content |
Response Type | JSON |