Library

Add a project's media file to the workspace Library

Copies the media (resolved by project ID + content hash) into the Library server-side — no bytes transit the client. Returns the existing asset with deduplicated=true when identical content is already in the Library.

post/workspaces/{workspaceId}/library/from-project

Request

  • Base URL
    https://api.rendley.com/v1
  • Auth
    API key in header Authorization

Path parameters

workspaceIdstring required

Workspace ID

Request body

file_hashstring required
project_idstring required

Example request

{
  "file_hash": "c6c8ec4f9a6fdd9d"
}

Response

OK

metaunknown

Example response

{
  "data": {
    "file_hash": "c6c8ec4f9a6fdd9d",
    "media_id": "c448b6e3-2b78-4bda-b369-d1afc6aec07f"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.