Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api:api_applications_id_flags_id [2014/07/17 10:32]
Lauri Elevant
api:api_applications_id_flags_id [2014/07/23 20:17] (current)
Lauri Elevant
Line 14: Line 14:
   Host: apply.example.edu   Host: apply.example.edu
   Authorization: DREAM apikey="..."   Authorization: DREAM apikey="..."
 +
  
 ==== Response headers ==== ==== Response headers ====
Line 19: Line 20:
   Content-Type: application/json   Content-Type: application/json
   Content-Length: 1234   Content-Length: 1234
 +
  
 ==== Response codes ==== ==== Response codes ====
Line 26: Line 28:
 | ''404 Not Found'' | The flag was not set to this application | | ''404 Not Found'' | The flag was not set to this application |
  
 +
 +==== Response example ====
 +
 +  {
 +    "assigned": "2014-07-11T09:24:51+00:00",
 +    "flag": "/api/applications/flags/6"
 +  }
  
 ===== PUT ===== ===== PUT =====
Line 72: Line 81:
 | ''404 Not Found'' | The flag does not exist | | ''404 Not Found'' | The flag does not exist |
 | ''404 Not Found'' | The flag was not set to this application | | ''404 Not Found'' | The flag was not set to this application |
-