Cloud HostingLaunch UnoPim on fully-managed cloud hosting — fast, secure and cost-effective plans.
Skip to content

Unopim DAM - Linked Resources Endpoints

Comprehensive guide for managing linked resources via API

A linked resource is the record that ties an asset to a product or a category — created whenever you assign an asset to either. See Asset Products and Asset Categories for how those links are made in the admin panel.


GET - Get the Linked Resources

Retrieve a linked-resource record by its ID.

Endpoint:

GET {{url}}/api/v1/rest/linked-resource/9

Headers:

Accept: application/json
Authorization: Bearer {{token}}

Response:

json
{
    "success": true,
    "data": {
        "id": 9,
        "type": "product",
        "dam_asset_id": 390,
        "product_id": 42,
        "category_id": null,
        "related_field": "image"
    }
}

Fields:

FieldNotes
typeproduct or category
dam_asset_idThe linked asset
product_idSet when type is product, otherwise null
category_idSet when type is category, otherwise null
related_fieldThe attribute the asset is attached to

NOTE

The ID in the URL is the linked-resource record ID, not an asset ID. To list every resource attached to a given asset, call GET /assets/{id} — the response includes a resources array.

Returns 404 if no linked-resource record with that ID exists.

Released under the MIT License.