Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
api:api_applications_id_flags_id [2014/06/26 19:21] – created Lauri Elevant | api:api_applications_id_flags_id [2014/07/17 10:32] – Lauri Elevant | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== HEAD, GET ===== | ===== HEAD, GET ===== | ||
- | Use the '' | + | Use the '' |
+ | |||
+ | **Note that this will not return the flag itself**, but rather represents the relationships between the application and the flag. Follow the flag URI in the response to retrieve further information about the flag in question. | ||
==== Syntax ==== | ==== Syntax ==== | ||
Line 20: | Line 23: | ||
| '' | | '' | ||
- | | '' | + | | '' |
+ | | '' | ||
===== 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 41: | Line 47: | ||
| '' | | '' | ||
+ | | '' | ||
===== DELETE ===== | ===== DELETE ===== | ||
Remove the flag (identified by it's ID) from the application in question. | Remove the flag (identified by it's ID) from the application in question. | ||
+ | |||
+ | Note that this **does not delete the flag itself**, only removing it's association with the application in question. | ||
+ | |||
==== Syntax ==== | ==== Syntax ==== | ||
Line 61: | Line 70: | ||
| '' | | '' | ||
+ | | '' | ||
+ | | '' | ||