Skip to main content

Get a single asset by id

GET 

/assets/:id

Returns the single usable asset with the given stable Mocart asset document id. Add ?showDeleted=true to read a deleted asset too (the body then carries deletedAt). The strong ETag header identifies the asset state; send it back as If-Match on a write.

Request​

Responses​

OK. The single asset.

Response Headers
    ETag

    Strong hash of the asset state, sent on the plain read and on a deleted asset read with ?showDeleted=true. Send it back as If-Match.