)]}'
{"api-ref/source/storage-account-services.inc":[{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"fd6e3b562a86f7ebe39faceb7cbab378b6feb4e4","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"- ``Precondition Failed (412)``. Error response code if the delimiter is bad."},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"- ``Insufficient Storag (507)``. Error response code if the storage is insufficient."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Normal response code: 200, 204"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"1f1a1f67_f1b52d33","line":72,"updated":"2017-07-18 13:44:19.000000000","message":"Storage: Missing \"e\"","commit_id":"7e01f78531ecc19f44a6fbd5f0785d9a341da7a7"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"fd6e3b562a86f7ebe39faceb7cbab378b6feb4e4","unresolved":false,"context_lines":[{"line_number":261,"context_line":"- ``Insufficient Storag (507)``. Error response code if checking mount failed."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"Noraml response code: 204"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"Error response code: 400, 507"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"1f1a1f67_b1ea150c","line":264,"updated":"2017-07-18 13:44:19.000000000","message":"Normal","commit_id":"7e01f78531ecc19f44a6fbd5f0785d9a341da7a7"}],"api-ref/source/storage-container-services.inc":[{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"410685355e5c683a72ad48d60a9c9e571ac0718e","unresolved":false,"context_lines":[{"line_number":189,"context_line":"If the request succeeds, the operation returns the ``201 Created``,"},{"line_number":190,"context_line":"if the container has already existed, it returns the ``204 No Content``."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"Normal response codes: 201"},{"line_number":193,"context_line":"Error response codes: 204"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"1f1a1f67_207b83f5","line":192,"updated":"2017-07-17 09:08:10.000000000","message":"New line requires empty line in between, can we have a response code as bullet point? It looks good and easy to identify and read.\n\nSomething like: https://gist.github.com/psachin/fa691b6c50a7b4098943152f796b835a","commit_id":"b795ca783dcfd7da78345a7bbc3a79267d599af7"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Normal response code: 200"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Error response codes:416,404,204,"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_f5af867a","line":42,"updated":"2017-07-17 11:29:08.000000000","message":"Following looks more pleasing(Notice the incremental order and space seperation)\n\nError response code: 204, 404, 416","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Normal response code: 200"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Error response codes:416,404,204,"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_326aa7ed","line":42,"in_reply_to":"1f1a1f67_f5af867a","updated":"2017-07-17 18:51:57.000000000","message":"Since we\u0027re fixing things here anyway...\n\n* 204 is a normal response code, as documented above.\n* 416 should never be returned; account and container listings don\u0027t support the Range header.\n* 406 may be returned, if requesting an unsupported format via the Accept header.\n* 412 may be returned, if the request path contains invalid UTF-8.\n* 400 may be returned, if a supported query param (like delimiter or prefix) contains invalid UTF-8.","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":188,"context_line":"     Date: Tue, 14 Jan 2014 19:25:43 GMT"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"If the request succeeds, the operation returns the ``201 Created``,"},{"line_number":191,"context_line":"if the container has already existed, it returns the ``204 No Content``."},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"Normal response code: 201"},{"line_number":194,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_83aa4f6e","line":191,"updated":"2017-07-17 18:51:57.000000000","message":"If a container already exists, a PUT results in a 202 Accepted; see https://github.com/openstack/swift/blob/2.14.0/swift/container/server.py#L406-L413 -- this should be considered a \"normal\" response, as any container metadata in the request will be applied.\n\nIf we want to consider possible error codes, there\u0027s at least\n\n* 400 if the container name is too long\n* 404 if the parent account does not exist and autocreate_account is disabled\n* 409 if the container already exists with a different storage policy\n* 412 if the request path container invalid UTF-8","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":330,"context_line":""},{"line_number":331,"context_line":"To confirm your changes, issue a show container metadata request."},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"Error response code: 204,"},{"line_number":334,"context_line":""},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_75c37639","line":333,"updated":"2017-07-17 11:29:08.000000000","message":"no commas at the end","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":330,"context_line":""},{"line_number":331,"context_line":"To confirm your changes, issue a show container metadata request."},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"Error response code: 204,"},{"line_number":334,"context_line":""},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_e3e903b7","line":333,"in_reply_to":"1f1a1f67_75c37639","updated":"2017-07-17 18:51:57.000000000","message":"This isn\u0027t an error response.","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":414,"context_line":"If the request succeeds, the operation returns the ``No Content"},{"line_number":415,"context_line":"(204)`` response code."},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"Error response code: 204,"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_35df3e0e","line":417,"updated":"2017-07-17 11:29:08.000000000","message":"Same here","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":414,"context_line":"If the request succeeds, the operation returns the ``No Content"},{"line_number":415,"context_line":"(204)`` response code."},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"Error response code: 204,"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_4308b790","line":417,"in_reply_to":"1f1a1f67_35df3e0e","updated":"2017-07-17 18:51:57.000000000","message":"Again, not an error response.","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":524,"context_line":""},{"line_number":525,"context_line":"Normal response code: 204"},{"line_number":526,"context_line":""},{"line_number":527,"context_line":"Error response codes: 404,409,"},{"line_number":528,"context_line":""},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_75d8161d","line":527,"updated":"2017-07-17 11:29:08.000000000","message":"Refer previous comments","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"aee7ed15883de91ce8c746a9588847bc9337b435","unresolved":false,"context_lines":[{"line_number":41,"context_line":"- ``Not Found (404)``. Error response code if the container info does not"},{"line_number":42,"context_line":"  exist."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"- ``Not Acceptable (406)``. Error response code if the container info does"},{"line_number":45,"context_line":"  not exist."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"- ``Precondition Failed (412)``. Error response code if it contains the bad"},{"line_number":48,"context_line":"  delimiter or bad UTF-8."}],"source_content_type":"text/x-c++src","patch_set":5,"id":"1f1a1f67_14341292","line":45,"range":{"start_line":44,"start_character":28,"end_line":45,"end_character":12},"updated":"2017-07-18 16:14:56.000000000","message":"\u003e Error response code if the requested content type is not acceptable\n\nno?","commit_id":"4c6f044221cc9c6864e19fd2b035ed148524f31d"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"aee7ed15883de91ce8c746a9588847bc9337b435","unresolved":false,"context_lines":[{"line_number":456,"context_line":""},{"line_number":457,"context_line":""},{"line_number":458,"context_line":""},{"line_number":459,"context_line":"- ``Created (201)``. Normal response code if the container is created."},{"line_number":460,"context_line":""},{"line_number":461,"context_line":"- ``Bad Request (400)``. Error response code if the request path is error."},{"line_number":462,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"1f1a1f67_d49a1a60","line":459,"range":{"start_line":459,"start_character":2,"end_line":459,"end_character":70},"updated":"2017-07-18 16:14:56.000000000","message":"\u003e ``No Content (204)``. Normal response code when retrieving container info","commit_id":"4c6f044221cc9c6864e19fd2b035ed148524f31d"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"aee7ed15883de91ce8c746a9588847bc9337b435","unresolved":false,"context_lines":[{"line_number":584,"context_line":""},{"line_number":585,"context_line":"- ``No Content (204)``. Normal response code when the container is deleted."},{"line_number":586,"context_line":""},{"line_number":587,"context_line":"- ``Bad Request (400)``. Error response code if the X-Storage-Policy-Index"},{"line_number":588,"context_line":"  is invalid."},{"line_number":589,"context_line":""},{"line_number":590,"context_line":"- ``Bad Request (404)``. Error response code if the db file is not existed."},{"line_number":591,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":5,"id":"1f1a1f67_7fc8bf72","line":588,"range":{"start_line":587,"start_character":45,"end_line":588,"end_character":13},"updated":"2017-07-18 16:14:56.000000000","message":"Since this isn\u0027t something the client can change, I\u0027m not sure it belongs in the client-facing API docs.\n\nIn fact, I don\u0027t think this situation should ever come up for a client DELETE request; the comment near the call to get_and_validate_policy_index [1] seems to indicate we only need it for deleting object entries from the container DB, and when we build the headers for the request in the proxy [2], we should be getting a X-Backend-Storage-Policy-Default header [3] instead of a X-Backend-Storage-Policy-Index header.\n\n[1] https://github.com/openstack/swift/blob/2.14.0/swift/container/server.py#L268-L270\n[2] https://github.com/openstack/swift/blob/2.14.0/swift/proxy/controllers/container.py#L223-L224\n[3] https://github.com/openstack/swift/blob/2.14.0/swift/proxy/controllers/container.py#L238-L240","commit_id":"4c6f044221cc9c6864e19fd2b035ed148524f31d"}],"api-ref/source/storage-object-services.inc":[{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"Normal response code: 200"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"Error response codes:416,404,"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_1591e24e","line":97,"updated":"2017-07-17 11:29:08.000000000","message":"Lets keep proper spacing\n\n\nError response codes: 416, 404","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"Normal response code: 201"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"Error response codes: 422,411,408,"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_d586ca13","line":238,"updated":"2017-07-17 11:29:08.000000000","message":"Same here","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":559,"context_line":""},{"line_number":560,"context_line":"Normal response code: 200"},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"Error response code:204,"},{"line_number":563,"context_line":""},{"line_number":564,"context_line":""},{"line_number":565,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_5572ba4a","line":562,"updated":"2017-07-17 11:29:08.000000000","message":"No comma is needed at the end\n\nError response code: 204","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":559,"context_line":""},{"line_number":560,"context_line":"Normal response code: 200"},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"Error response code:204,"},{"line_number":563,"context_line":""},{"line_number":564,"context_line":""},{"line_number":565,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_e337c34c","line":562,"in_reply_to":"1f1a1f67_5572ba4a","updated":"2017-07-17 18:51:57.000000000","message":"There should never be a 204, even for a zero-byte object.","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"ac8070d905297817871acd12d394f306a522a3e5","unresolved":false,"context_lines":[{"line_number":716,"context_line":"     \u003c/p\u003e"},{"line_number":717,"context_line":"     \u003c/html\u003e"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"Error response code: 202,"},{"line_number":720,"context_line":""},{"line_number":721,"context_line":""},{"line_number":722,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_d59b6a63","line":719,"updated":"2017-07-17 11:29:08.000000000","message":"Same as line 562","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"485171e418fd430a08779d86a40059f7d73a4ab8","unresolved":false,"context_lines":[{"line_number":716,"context_line":"     \u003c/p\u003e"},{"line_number":717,"context_line":"     \u003c/html\u003e"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"Error response code: 202,"},{"line_number":720,"context_line":""},{"line_number":721,"context_line":""},{"line_number":722,"context_line":"Request"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"1f1a1f67_431677aa","line":719,"in_reply_to":"1f1a1f67_d59b6a63","updated":"2017-07-17 18:51:57.000000000","message":"Not an error response.","commit_id":"0e4a5bd290080802cd18310ec33ace4589830982"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"fd6e3b562a86f7ebe39faceb7cbab378b6feb4e4","unresolved":false,"context_lines":[{"line_number":95,"context_line":"- ``Precondition Failed (412)``. Error response code if it is invalid UTF8"},{"line_number":96,"context_line":"  or contains NULL."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"- ``Range Not Satisfiable (416)``. Error response code if any ranged GET requests"},{"line_number":99,"context_line":"  that specify more than:"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"  - Fifty ranges."}],"source_content_type":"text/x-c++src","patch_set":3,"id":"1f1a1f67_3123a558","line":98,"updated":"2017-07-18 13:44:19.000000000","message":"Satisfied","commit_id":"7e01f78531ecc19f44a6fbd5f0785d9a341da7a7"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"fd6e3b562a86f7ebe39faceb7cbab378b6feb4e4","unresolved":false,"context_lines":[{"line_number":250,"context_line":"- ``Length Required (411)`` Error response code indicates a missing ``Transfer-Encoding``"},{"line_number":251,"context_line":"  or ``Content-Length`` request header."},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"- ``Unprocessable Entity (422)`` Error response code indicates If the MD5 checksum"},{"line_number":254,"context_line":"  of the data that is written to the object store does not match the optional ``ETag``"},{"line_number":255,"context_line":"  value."},{"line_number":256,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":3,"id":"1f1a1f67_91c27958","line":253,"updated":"2017-07-18 13:44:19.000000000","message":"Un-processable","commit_id":"7e01f78531ecc19f44a6fbd5f0785d9a341da7a7"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"fd6e3b562a86f7ebe39faceb7cbab378b6feb4e4","unresolved":false,"context_lines":[{"line_number":508,"context_line":"- ``Not Found (404)``. Error response code if the disk file is not found"},{"line_number":509,"context_line":"  or the disk file is expired or the disk file is quarantined."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"- ``HTTP Conflict (409)``. Error response code if the orignal timestamp is"},{"line_number":512,"context_line":"  bigger than request timestamp."},{"line_number":513,"context_line":""},{"line_number":514,"context_line":"- ``Service Unavailable (503)``. Error response code if the path is invalid"}],"source_content_type":"text/x-c++src","patch_set":3,"id":"1f1a1f67_51b861e3","line":511,"updated":"2017-07-18 13:44:19.000000000","message":"original","commit_id":"7e01f78531ecc19f44a6fbd5f0785d9a341da7a7"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"19b68b63c2b0f6e7a5744165263976b3ed0b81b1","unresolved":false,"context_lines":[{"line_number":774,"context_line":"- ``Not Found (404)``. Error response code if the disk file is not found"},{"line_number":775,"context_line":"  or the disk file is expired or the disk file is quarantined."},{"line_number":776,"context_line":""},{"line_number":777,"context_line":"- ``HTTP Conflict (409)``. Error response code if the orignal timestamp is"},{"line_number":778,"context_line":"  bigger than request timestamp."},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"- ``Service Unavailable (503)``. Error response code if the path is invalid"}],"source_content_type":"text/x-c++src","patch_set":4,"id":"1f1a1f67_47d303d6","line":777,"updated":"2017-07-18 14:33:58.000000000","message":"original","commit_id":"5fe24f681ebbca367e9767d35fcd2e79d304272e"}]}
