Table of Contents

/api/applications/ID/tasks/ID/status

HEAD, GET

A request with the GET verb returns the status text about the application task in question.

Syntax

GET /api/applications/123/tasks/321/status
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

Content-Type: application/json
Content-Length: 1234

Response codes

200 OK The status is returned successfully
404 Not Found Application does not have this task

Response example

"This is an example status of a task."

PUT

Set a status to the application task (identified by it's ID) in question. This will check if the given status is already defined in the application task's definition, and in case it's not defined, this will add the status to the application task in question.

Syntax

PUT /api/applications/123/tasks/321/status
Host: apply.example.edu
Authorization: DREAM apikey="..."

Raw request body

This text will be set as the status of the application task. Up to 50 characters.

"This is an example status of a task."

Response headers

Content-Type: text/plain
Content-Length: 0

Response codes

200 OK Status was successfully set
400 Bad Request Invalid status
400 Bad Request Invalid status. Please make sure that status is a valid JSON string with quotes
404 Not Found Application does not have this task