project

Add capsules to a project. Answers per item: 200, 207 when some items failed, 400 when all did. An archived capsule refuses the whole request with 409 `CAPSULE_ARCHIVED` naming it in `details.archived`.

Changed on
post/api/preview/projects/{id}/capsules

Request

Path parameters

idstring required

UUID v4 string

Request body

capsule_idsstring[] required

Capsule UUIDs to add to or remove from the project

Response

Successful response

addedinteger required
detailstring

Present only when every item failed (status 400): why, in one sentence.

failedinteger required
itemsobject[] required
unchangedinteger required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status