Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.26 KB

workflowsteps.md

File metadata and controls

43 lines (36 loc) · 1.26 KB

Workflow Steps Endpoints

Back to the list of all defined endpoints

A workflow step represents a single step in the reviewing process, e.g. the accept/reject step.

All endpoints mentioned here require authentication, but no specific permissions.

Main Endpoint

/api/config/workflowsteps

The main endpoint is not implemented and a 405 error code is returned according to our general error response codes.

Single Workflow Step Definition

/api/config/workflowsteps/<:step-name>

Provide detailed information about a specific workflow step. An example JSON response document:

{
  	"id": "editstep",
  	"type": "workflowstep",
    "_links": {
      "workflowactions": {
        "href": "https://demo.dspace.org/server/api/config/workflowsteps/<:step-name>/workflowactions"
      }
    },
    "_embedded": {
      "workflowactions": 
        [
          {
            "id": "editaction",
            "options": [
                "approve",
                "reject",
                "edit_metadata"
            ],
            "type": "workflowaction"
          }
        ]
    }
}

It includes the list of workflow actions used in the workflow step. See Workflow Actions Endpoints for more details