meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
api:api_applications_flags [2014/06/25 16:38]
Lauri Elevant created
api:api_applications_flags [2014/06/29 20:35]
Lauri Elevant [Parameters]
Line 23: Line 23:
 If a flag with this name exists already, a ''​409 Conflict''​ will be returned, along with the URI of the offending flag in the ''​Location''​ header. ​ If a flag with this name exists already, a ''​409 Conflict''​ will be returned, along with the URI of the offending flag in the ''​Location''​ header. ​
  
-**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:api_applications_123_flags_1|/​api/​applications/​123/flags/1]].+**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:api_applications_ID_flags_ID|/​api/​applications/​ID/flags/ID]].
  
 ==== Syntax ==== ==== Syntax ====
Line 33: Line 33:
 ==== Parameters ==== ==== Parameters ====
  
 +^ Name ^  ^ Description ^ 
 | ''​name''​ | **Required** | This text will be displayed on the flag. Up to 32 characters. | | ''​name''​ | **Required** | This text will be displayed on the flag. Up to 32 characters. |
  
Line 43: Line 44:
 ==== Response codes ==== ==== Response codes ====
  
-| ''​201 Created''​ | New flag was created ​(and set) +| ''​201 Created''​ | New flag was created | 
-| ''​209 Conflict''​ | Such a flag already exists |+| ''​209 Conflict''​ | flag with this name already exists |