Versions Compared

Key

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

...

AttributesValues
HTTP MethodGET
Request URI/artifact{ collection path }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
ResponseHTTP 200 OK
Response typeapplication/json
Description                 Retrieves the content the paths of the requested collection

...

Attributesvalues
HTTP MethodPUT
Request URI/artifact{ complete path of the collection to be added }
HTTP Request Header

Authorization: Bearer { OAuth access token }

MediaContent-Type: application/atomcoll+xml

Sample requestcurl -v -k -X PUT -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/atomcoll+xml" -d "https://localhost:9443/resource/1.0.0/artifact/_system/governance/permission/applications/TestSP/TestCol"
ResponseHTTP 204 No Content
Response typeapplication/json
DescriptionIt adds the specified collection if doesn't exist.

...

Attributesvalues
HTTP MethodDELETE
Request URI/artifact{ collection path }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
ResponseHTTP 204 No Content
Response typeapplication/json
DescriptionIt deletes the requested collection if it exists.

...