Link relation ia:lock-asset-by-id

Overview

Put an ia:asset-lock on an asset or a part of it.

HTTP method

POST

URL template parameters

id

The id of the asset.

Query parameters

section

The story section to lock. Can be one of:

  • form, to lock only the story form

  • body, to lock only the story body

  • all, to lock the complete story (default)

Request body

-

HTTP response

201 Created

The lock was created.

400 Bad Request

The asset was already locked.

404 Not Found

Response body

The asset lock.

Available in