GetLinks
Collects the asset links information
Defined in: getLinks.js.
Constructor Attributes | Constructor Name and Description |
---|---|
GetLinks(ids, resolver, verbose, fields)
Given a resolver URL or an array of Id's, this endpoint returns asset data for each asset as well as its linked assets
|
Class Detail
GetLinks(ids, resolver, verbose, fields)
Given a resolver URL or an array of Id's, this endpoint returns asset data for each asset as well as its linked assets
- Parameters:
- ids Optional
- The asset id's.
- resolver Optional
- A resolver url.
- verbose Optional, Default: false
- Setting this to true will collect a variety of default values for each asset.
- fields Optional
- An array of field id's to collect the values for each asset
- Returns:
- [{assetInfo}, ... ]
/wf/restapi/v2/getDiscussion Properties: ids=201631708&verbose=false Response: [ { "linkGroups": [ { "id": "39D58F64-9C41-4FF9-8891-CF52EF3254A0", "globalDescription": "test", "links": [ { "linkDescription": "undefined", "asset": { "id": 201631649 } } ] } ], "id": 201631708 } ]