)]}'
{"specs/queens/add-count-info-in-list-response.rst":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"d6dd170ac24e7552366f57b1dd065b2b5de5a834","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Show how many resources a user or tenant has is usually required in the web"},{"line_number":20,"context_line":"portal\u0027s summary section, but since we introduced the pagination mechanism,"},{"line_number":21,"context_line":"we only could get the ``{resource}_link`` which telling us you have more"},{"line_number":22,"context_line":"resources. In order to show this kind of total number to the end user, many"},{"line_number":23,"context_line":"clouds have to collect all of the resources while they only have to display"},{"line_number":24,"context_line":"the first page of the resource."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_2f6f28fd","line":21,"updated":"2017-09-05 16:06:18.000000000","message":"s/telling/tells/","commit_id":"5bee26fc27cdc71befe1b9615978ac7b788a3ee4"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"d6dd170ac24e7552366f57b1dd065b2b5de5a834","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Having the total count information in list API response is not only a"},{"line_number":36,"context_line":"requirement for Cinder or OpenStack, it\u0027s a common requirement for the"},{"line_number":37,"context_line":"REST APIs, so find out what are others doing may help us to have a better"},{"line_number":38,"context_line":"API model for this case."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"1. Facebook API support the ``total_count`` attribute in their list"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_0f246cc5","line":37,"updated":"2017-09-05 16:06:18.000000000","message":"nit:\n\ns/find out what are others doing/finding out what are others are doing/","commit_id":"5bee26fc27cdc71befe1b9615978ac7b788a3ee4"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"d6dd170ac24e7552366f57b1dd065b2b5de5a834","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      }"},{"line_number":88,"context_line":"    }"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"So, this bp proposes to add new attribute ``total_count`` in out list APIs ("},{"line_number":91,"context_line":"including index and detail). We\u0027d like to wrap it in the ``summary`` object"},{"line_number":92,"context_line":"because it easier for expansion, such as total_size etc."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_6f33f014","line":90,"updated":"2017-09-05 16:06:18.000000000","message":"s/out/our/","commit_id":"5bee26fc27cdc71befe1b9615978ac7b788a3ee4"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"c533cab37b66be8a44c28d9862e363c0bbd3cfdc","unresolved":false,"context_lines":[{"line_number":176,"context_line":""},{"line_number":177,"context_line":"There would be negative performance impact if the list API is requested"},{"line_number":178,"context_line":"with the summary option."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"Other deployer impact"},{"line_number":181,"context_line":"---------------------"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_c91b071a","line":179,"updated":"2017-09-05 13:21:25.000000000","message":"There will be a performance impact if there are a lot of data in the database too.","commit_id":"5bee26fc27cdc71befe1b9615978ac7b788a3ee4"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2979e6fccd8de5c0198c65fcbadeaf9fb4c50b15","unresolved":false,"context_lines":[{"line_number":121,"context_line":"we don\u0027t have any history for adding useful content in response"},{"line_number":122,"context_line":"headers. Also it makes more difficult for documentation."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"2. Add explicit API for each resources::"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    POST: /v3/{tenant_id}/{resources}/action {os-count}"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7f287b81_b4d001f9","line":124,"updated":"2017-09-06 01:22:00.000000000","message":"This was my initial thought, but I agree. This would be overkill, and I would guess in most cases the consumer of the API would also be calling the proposed calls, resulting in this being much less efficient.","commit_id":"791bdf24341042e2ab53051b04543c322cb53ea0"}]}
