Previous Next

Get collection resource metadata URL link

options
/resources/v1/aggregates/{siteName}/{collectionAssetType}/{assetId}/items
The resource endpoint returns a link to the collection resource metadata URL in the response header.

The following tables summarize the client request.

Path Parameters
Name Description Format
assetId ID of the collection asset integer double
collectionAssetType Name of the collection asset type string
siteName Name of the site string

The following tables summarize the server response.

200 Response

Resource metadata URL in the response header with rel as "describedby"

The following example shows how to get a metadata URL link of a Collection asset resource in the avisports sample site, by submitting an OPTIONS request on the REST resource using cURL.

curl -i -X OPTIONS "http://<host>:<port>/<context>/REST/resources/v1/aggregates/avisports/ContentQuery/1395380847207/items"

Example of Response Header

The following example shows the response header.

HTTP/1.1 200 OK
Link: <http://<host>:<port>/<context>/REST/resources/v1/metadata-catalog/aggregates/avisports/ContentQuery/1395380847207/items>; rel="describedby" 
Content-Type: text/html;charset=utf-8
Content-Length: 0