Get asset resource metadata URL link.
/resources/v1/aggregates/{siteName}/{assetType}/{assetId}
The resource endpoint returns a link to the asset resource metadata URL in the response header.
The following tables summarize the client request.
Path Parameters
Name | Description | Format |
---|---|---|
assetId | ID of the asset | integer int64 |
assetType | Name of the 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 for an asset resource by submitting an OPTIONS request on the REST resource using cURL.
curl -i -X OPTIONS "http://<host>:<port>/<context>/REST/resources/v1/aggregates/avisports/AVIArticle/1328196047241"
Example of Response Header
The following example shows a response header.
HTTP/1.1 200 OK Link: <http://<host>:<port>/<context>/REST/resources/v1/metadata-catalog/aggregates/avisports/AVIArticle/1328196047241>; rel="describedby" Content-Type: text/html;charset=utf-8 Content-Length: 0