Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
api:api_applications_id_flags_id [2014/07/11 09:32] – [HEAD, GET] Lauri | api:api_applications_id_flags_id [2024/07/30 11:50] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
Host: apply.example.edu | Host: apply.example.edu | ||
Authorization: | Authorization: | ||
+ | |||
==== Response headers ==== | ==== Response headers ==== | ||
Line 19: | Line 20: | ||
Content-Type: | Content-Type: | ||
Content-Length: | Content-Length: | ||
+ | |||
==== Response codes ==== | ==== Response codes ==== | ||
| '' | | '' | ||
- | | '' | + | | '' |
+ | | '' | ||
+ | |||
+ | ==== Response example ==== | ||
+ | |||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
===== PUT ===== | ===== PUT ===== | ||
- | Set the flag (identified by it's ID) to the application in question. | + | Set a flag (identified by it's ID) to the application in question. **This requires that the flag already exists.** Use '' |
+ | |||
+ | In other words, this will not create a new flag, but create a relationship (association) between an existing flag and an application. | ||
==== Syntax ==== | ==== Syntax ==== | ||
Line 44: | Line 56: | ||
| '' | | '' | ||
+ | | '' | ||
===== DELETE ===== | ===== DELETE ===== | ||
Line 67: | Line 79: | ||
| '' | | '' | ||
+ | | '' | ||
+ | | '' |