Routescope APIRoutescope API
Model API DocumentationVideo Models

Update Asset Group Name or Cover

Update the display name or cover of an asset group.

Update the display name or cover of an asset group. Supported fields are displayName, coverAssetId, and coverUrl. The server first validates whether groupId belongs to the current user.

PATCH
/v1/api/video-studio/assets/ecloud/{groupId}
curl -X PATCH "https://api.routescope.ai/v1/api/video-studio/assets/ecloud/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {},
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}
{
  "data": null,
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}

Authorization

BearerAuth

AuthorizationBearer <token>

Use this project's gateway token: Authorization: Bearer <API_TOKEN>. This is not the upstream asset-library API key.

In: header

Path Parameters

groupId*string

Asset group ID returned by the upstream service. This project validates the local ownership relation for this groupId against the current user.

Request Body

application/json

displayName?string

New asset group display name.

coverAssetId?string

Pass this asset ID when using an asset inside the group as the cover.

coverUrl?string

Specify the cover URL directly.

Formaturi

Response Body

application/json

application/json

Last updated on