Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributesValues

HTTP Method                

GET
Request URI/property?path={ resource path }&name={ property name }&user={ user name }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
DescriptionThis retrieves the specific property associated with the given property name.
ResponseHTTP 200 OK
Response TypeJSON

...

AttributesValues

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"]} ]     
DescriptionAdd the array of properties for the given resource
Response204 No Content
Response TypeJSON

...

AttributesValues

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"]} ]
DescriptionUpdate the respective properties with the newly passed array of properties
ResponseHTTP 204 No Content
Response TypeJSON

Delete a Property of a Given Resource

AttributesValues

HTTP Method                

DELETE
Request URI/property?path={ resource path }&name={property name}&user={ user name }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
DescriptionDeletes the specified property from the given resource
ResponseHTTP 204 No Content
Response TypeJSON