Versions Compared

Key

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

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

ParameterExplanation
pathPath of the resource/collection

...

maxLevel3

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