...
Attributes | values |
---|---|
HTTP Method | PUT |
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 request | curl -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" |
Response | HTTP 204 No Content |
Response type | application/json |
Description | It adds the specified collection if doesn't exist. |
...