Nurama Developers
AssetOriginals

Get the state of an asset's original

Where the original is, what the project policy will do with it, and whether it can be pruned by hand now (`eligibility`). Requires `canGetAssetOriginal`.

GET
/assets/{assetId}/original

Where the original is, what the project policy will do with it, and whether it can be pruned by hand now (eligibility). Requires canGetAssetOriginal.

Authorization

AuthorizationBearer <token>

OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.

In: header

Scope: assets:read

Path Parameters

assetId*string

The ID of the asset.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/original"
{  "reattach": {    "phase": "uploading",    "startedAt": 0,    "startedById": "7347b630-d3cd-4c11-b046-3f92c23756e5"  },  "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",  "originalState": "stored",  "keepOriginal": true,  "pruneAfter": 0,  "pruneReason": "string",  "prunedAt": 0,  "pruneAttempts": 0,  "pruneError": "string",  "contentSha256": "string",  "originalName": "string",  "originalExtension": "string",  "originalSizeInBytes": 0,  "processingCompletedAt": 0,  "eligibility": {    "eligible": true,    "reasons": [      "string"    ],    "warnings": [      "string"    ],    "references": {      "reviewers": true,      "publicLinks": true,      "publicCollections": 0,      "submissions": 0    },    "bytesReclaimed": 0  },  "policy": {    "enabled": true,    "mediaTypes": [      "string"    ],    "graceDays": 0,    "skipPublished": true,    "skipInSubmissions": true,    "appliesToAsset": true,    "skippedBecause": [      "mediaTypeExcluded"    ],    "eligibleFrom": 0  }}