Table of Contents

/api/applications/flags/ID

HEAD, GET

Use the HEAD verb to test if this fla exists. A request with the GET verb returns some additional information about the flag (e.g created date).

Syntax

GET /api/applications/flags/1
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

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

Response codes

200 OK The flag exists
404 Not Found The flag does not exist

Response example

{
  "created": "2014-06-20T06:50:15+00:00",
  "name": "Interested in accommodation"
}

DELETE

Remove the flag from the system, also removing it from all applications.

Syntax

DELETE /api/applications/flags/1
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

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

Response codes

204 No Content Flag was successfully deleted