v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Collection Submission Actions

Creates a Collection Submission Action

This adds a Collection Submission Action to the Collection, causing the Collection state machine to perform a transition.

Permissions

This action is only available to an admin on the Collection Submission, or a moderator for the Collection Provider in question.

Returns

Returns a JSON object containing data and links keys. Returns a JSON object with a data key containing the representation of the requested collection submission action object, if the request is successful.

post/collection_submission_actions/

Request body

object required

Example request

{
  "data": {
    "type": "collection-submission-actions",
    "attributes": {
      "comment": "some comment",
      "trigger": "remove"
    },
    "relationships": {
      "target": {
        "data": {
          "id": "{node_id}-{collection_id}",
          "type": "collection-submission"
        }
      }
    }
  }
}

Response

OK