This section explains the
...
REST operations
...
for working with metadata of resources or collections that have been secured with Basic Auth.
Table of Contents |
---|
Note | ||||
---|---|---|---|---|
The following terms explain the meaning of the parameters passed with the following REST URIs
|
...
|
Query parameters
The path
query parameter refers to the path of the resource or collection.
For details on security (the authorization header) and the URI syntax (port, context, etc.), see Registry REST API.
Get the metadata of the resource
Attributes | values |
---|---|
HTTP Method | GET |
Request URI | /metadata?path={ resource path } |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Description | Contains the description, media type, last modified time, author's user name, last modified person's username, created time. |
Response | HTTP 200 OK |
Response Type | application/json |
Sample request
curl -X GET -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Cache-Control: no-cache" "https://localhost:9443/resource/1.0.0/metadata?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService" -i -k
Get the
...
metadata of the
...
collection
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /metadata?path={ collection path } |
HTTP Reuqest Header | Authorization: Basic { base64encoded(username:password) } |
Description | Contains the description, media type, last modified time, author's user name, last modified person's username, created time |
Response | HTTP 200 OK |
Response Type | application/json |
Sample request
curl -X GET -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Cache-Control: no-cache" "https://localhost:9443/resource/1.0.0/metadata?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/" -i -k