meta data for this page
This is an old revision of the document!
Get a list of all flags currently in the system.
GET /api/applications/flags Host: apply.example.edu Authorization: DREAM apikey="..."
Content-Type: application/json Content-Length: 1234
Add a new flag using any text (up to 32 characters) as the flag's name. The URI for the flag created is returned in the
If a flag with this name exists already, a
409 Conflict will be returned, along with the URI of the offending flag in the
This method simply creates a new flag, but does not assign it to any applications. You are expected to use the
PUT verb to add exiting flags to applications, see /api/applications/ID/flags/ID.
POST /api/applications/flags Host: apply.example.edu Authorization: DREAM apikey="..."
| ||Required||This text will be displayed on the flag. Up to 32 characters.|
Content-Type: application/json Content-Length: 0 Location: /api/applications/flags/456
| ||New flag was created|
| ||A flag with this name already exists|