Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
api:api_applications_id_flags_id [2014/07/17 10:32] Lauriapi: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: 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 |
-