)]}'
{"v3/src/markdown/identity-api-v3-os-endpoint-policy.md":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"8a083085120924f966df9dde8d1b264af4bc05c1","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        }"},{"line_number":141,"context_line":"    }"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"#### Get effective policy associated with endpoint: `GET /endpoints/{endpoint_id}/OS-ENDPOINT-POLICY/policy`"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"Returns the policy that is currently associated with the given endpoint, by"},{"line_number":146,"context_line":"working through the ordered sequence of methods of association. The first"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"da9df570_eddc8ee6","line":143,"updated":"2014-09-27 16:09:12.000000000","message":"I think we can write this as GET/HEAD on this line too...","commit_id":"24985eb3559f53a7e597bbfbe45420dfc2da47c8"},{"author":{"_account_id":9098,"name":"Nathan Kinder","email":"nkinder@redhat.com","username":"nkinder"},"change_message_id":"12afdc96f5cfcbbf10770e326596c75f83dedba7","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        }"},{"line_number":141,"context_line":"    }"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"#### Get effective policy associated with endpoint: `GET /endpoints/{endpoint_id}/OS-ENDPOINT-POLICY/policy`"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"Returns the policy that is currently associated with the given endpoint, by"},{"line_number":146,"context_line":"working through the ordered sequence of methods of association. The first"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"baa201ad_4cccec6a","line":143,"in_reply_to":"baa201ad_4cdf8c69","updated":"2014-10-04 00:38:16.000000000","message":"I ended up calling HEAD out separately here, as the response is different than get (the response code is the same, but the content is different).  The description of the call should also change, as HEAD doesn\u0027t get the policy, but merely checks if one exists.  This is an approach that we take with the documentation of other GET/HEAD calls in the core Identity v3 API.","commit_id":"24985eb3559f53a7e597bbfbe45420dfc2da47c8"},{"author":{"_account_id":9098,"name":"Nathan Kinder","email":"nkinder@redhat.com","username":"nkinder"},"change_message_id":"358e02a080bdf33329ce3d7bf7d36e473a7beb1d","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        }"},{"line_number":141,"context_line":"    }"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"#### Get effective policy associated with endpoint: `GET /endpoints/{endpoint_id}/OS-ENDPOINT-POLICY/policy`"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"Returns the policy that is currently associated with the given endpoint, by"},{"line_number":146,"context_line":"working through the ordered sequence of methods of association. The first"}],"source_content_type":"text/x-markdown","patch_set":1,"id":"baa201ad_4cdf8c69","line":143,"in_reply_to":"da9df570_eddc8ee6","updated":"2014-10-03 23:58:17.000000000","message":"We should try to have some consistency with the APIs that support GET and HEAD.  In this file, we show the calls as \u0027GET\u0027 as seen at line 143, and mention that HEAD calls are also supported in the description of the call (as seen on line 149).\n\nIn other files in the identity-api repo, we separately list GET and HEAD calls instead of combining them.  Perhaps the right thing to do is follow this standard here in the endpoint policy API file as well.","commit_id":"24985eb3559f53a7e597bbfbe45420dfc2da47c8"}]}
