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).
GET /api/applications/flags/1 Host: apply.example.edu Authorization: DREAM apikey="..."
Content-Type: application/json Content-Length: 1234
200 OK | The flag exists |
404 Not Found | The flag does not exist |
{ "created": "2014-06-20T06:50:15+00:00", "name": "Interested in accommodation" }
Remove the flag from the system, also removing it from all applications.
DELETE /api/applications/flags/1 Host: apply.example.edu Authorization: DREAM apikey="..."
Content-Type: text/plain Content-Length: 0
204 No Content | Flag was successfully deleted |