||
Skip to end of metadata
Go to start of metadata

This section explains the REST operations for getting metadata for resources or collections that have been secured with Basic Auth. 

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

Attributesvalues
HTTP MethodGET
Request URI/metadata?path={ resource path }
HTTP Request HeaderAuthorization: Basic { base64encoded(username:password) }
DescriptionContains the description, media type, last modified time, author's user name, last modified person's username, created time.
ResponseHTTP 200 OK
Response Typeapplication/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

AttributesValues
HTTP MethodGET
Request URI/metadata?path={ collection path }
HTTP Reuqest HeaderAuthorization: Basic { base64encoded(username:password) }
DescriptionContains the description, media type, last modified time, author's user name, last modified person's username, created time
ResponseHTTP 200 OK
Response Typeapplication/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

  • No labels