)]}'
{"placement-api-ref/source/index.rst":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"e77fe83d094c2eafbbf80b7b06e476ed13cc17e6","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"The Placement API uses JSON for data exchange.  As such, the ``Content-Type``"},{"line_number":12,"context_line":"header for APIs sending data payloads in the request body (i.e. ``PUT`` and"},{"line_number":13,"context_line":"``POST``) as well as the ``Accept`` header for APIs returning data in the"},{"line_number":14,"context_line":"response body should be set to ``application/json`` unless otherwise noted."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. rest_expand_all::"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff82abbf_96f78ef6","line":14,"range":{"start_line":13,"start_character":10,"end_line":14,"end_character":13},"updated":"2017-11-20 16:41:22.000000000","message":"The accept header is optional, and I\u0027m not aware of anywhere in here that we need to do anything client-side to set the accept header to work with the placement API. The content-type header must be set on PUT/POST requests though on the client side otherwise it fails. So I\u0027m not sure we need to mention the accept header in here and potentially confuse people.","commit_id":"3f7430c55bcf8ffc9e13dbb76b590cc1d82d15c7"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d1603acedbd500fb95709dc5728681fc469d5b40","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"The Placement API uses JSON for data exchange.  As such, the ``Content-Type``"},{"line_number":12,"context_line":"header for APIs sending data payloads in the request body (i.e. ``PUT`` and"},{"line_number":13,"context_line":"``POST``) as well as the ``Accept`` header for APIs returning data in the"},{"line_number":14,"context_line":"response body should be set to ``application/json`` unless otherwise noted."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. rest_expand_all::"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff82abbf_567a6624","line":14,"range":{"start_line":13,"start_character":10,"end_line":14,"end_character":13},"in_reply_to":"ff82abbf_96f78ef6","updated":"2017-11-20 16:48:36.000000000","message":"Done","commit_id":"3f7430c55bcf8ffc9e13dbb76b590cc1d82d15c7"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"6a3e5caf3cd507b916ac901f1d3473c4239ab934","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"The Placement API uses JSON for data exchange.  As such, the ``Content-Type``"},{"line_number":12,"context_line":"header for APIs sending data payloads in the request body (i.e. ``PUT`` and"},{"line_number":13,"context_line":"``POST``) as well as the ``Accept`` header for APIs returning data in the"},{"line_number":14,"context_line":"response body should be set to ``application/json`` unless otherwise noted."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. rest_expand_all::"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff82abbf_b6b732d9","line":14,"range":{"start_line":13,"start_character":10,"end_line":14,"end_character":13},"in_reply_to":"ff82abbf_96f78ef6","updated":"2017-11-20 16:50:32.000000000","message":"Error messages are the wrong format if accept headers is not properly set. see https://review.openstack.org/#/c/518223/ and the linked bug.\n\nIf that review is merged, then yeah, mentioning the Accept header doesn\u0027t matter.","commit_id":"3f7430c55bcf8ffc9e13dbb76b590cc1d82d15c7"}],"placement-api-ref/source/root.inc":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"9a6f592451d48a66494da768fba2a4a32fddc825","unresolved":false,"context_lines":[{"line_number":13,"context_line":".. note:: At this time there is only one major version of the placement API:"},{"line_number":14,"context_line":"          version 1.0."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Microversions allow use of certain features on a per-request basis via the"},{"line_number":17,"context_line":"``OpenStack-API-Version`` header.  For example, to request microversion 1.10,"},{"line_number":18,"context_line":"specify the header::"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"ff82abbf_3076cada","line":16,"updated":"2017-11-20 15:43:23.000000000","message":"This is collapsed by default so you don\u0027t see this. I was thinking put it in the top-level description:\n\nhttps://developer.openstack.org/api-ref/placement/#placement-api\n\nLike we have for the compute API reference:\n\nhttps://developer.openstack.org/api-ref/compute/","commit_id":"582997a7f0c8d71b69ee5eee0f3f02fae6f521db"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"ba2c3e5028935241b2c6f4940100b7928d188a2a","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  Openstack-API-Version: placement 1.10"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"For more details about Microversions, please reference:"},{"line_number":13,"context_line":"`Microversions"},{"line_number":14,"context_line":"\u003chttps://developer.openstack.org/api-guide/compute/microversions.html\u003e`_"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"ff82abbf_ef4ce277","line":12,"range":{"start_line":12,"start_character":45,"end_line":12,"end_character":55},"updated":"2017-11-21 14:04:37.000000000","message":"please refer to the `API guide \u003clink\u003e`","commit_id":"44b77d887a874eb0220d81f1a090c4951fd56683"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"5698151c8c5a21466a5df09d601b27c068a8ba3f","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  Openstack-API-Version: placement 1.10"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"For more details about Microversions, please reference:"},{"line_number":13,"context_line":"`Microversions"},{"line_number":14,"context_line":"\u003chttps://developer.openstack.org/api-guide/compute/microversions.html\u003e`_"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":4,"id":"ff82abbf_0f890674","line":12,"range":{"start_line":12,"start_character":45,"end_line":12,"end_character":55},"in_reply_to":"ff82abbf_ef4ce277","updated":"2017-11-21 14:08:02.000000000","message":"I don\u0027t disagree.  This is a straight copy from the compute API ref.","commit_id":"44b77d887a874eb0220d81f1a090c4951fd56683"}]}
