Differences

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

Link to this comparison view

Next revision
Previous revision
api:api_applications_id_flags [2014/06/26 19:21] – created Lauri Elevantapi:api_applications_id_flags [2021/01/21 12:51] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ===== HEAD, GET ===== ===== HEAD, GET =====
  
-List all flags assigned to the application in question.+Get a list of flag associations for the application in question. 
 + 
 +**Note that this will not return the flags themselves**, but rather represents the relationships between an application and flags. Follow the flag URI in the response to retrieve further information about the flag in question.
  
 ==== Syntax ==== ==== Syntax ====
Line 16: Line 18:
   Content-Length: 1234   Content-Length: 1234
   X-Count: 15   X-Count: 15
 +
 +==== Response example ====
 +
 +  {
 +    "123": {
 +        "assigned": "2014-07-11T09:24:51+00:00",
 +        "flag": "/api/applications/flags/123"
 +    },
 +    "321": {
 +        "assigned": "2014-07-11T09:22:14+00:00",
 +        "flag": "/api/applications/flags/321"
 +    }
 +  }