)]}'
{"doc/source/specs/quotas.rst":[{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"521ceb4430476c020642055c79ffc369fd801e69","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"2. The resources need to limit."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"   QUOTAS_CHECKPOINT \u003d \u0027chenkpoint\u0027"},{"line_number":54,"context_line":"   QUOTAS_VOLUME_CAPACITY \u003d \u0027volume_capacity\u0027"},{"line_number":55,"context_line":"   QUOTAS_SHARE_CAPACITY \u003d \u0027share_capacity\u0027"},{"line_number":56,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_db5e4ae5","line":53,"range":{"start_line":53,"start_character":24,"end_line":53,"end_character":34},"updated":"2017-08-24 00:41:35.000000000","message":"checkpoint","commit_id":"bb813fdd28169e4e6ea4d605f4b83baadef86ed9"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"521ceb4430476c020642055c79ffc369fd801e69","unresolved":false,"context_lines":[{"line_number":54,"context_line":"   QUOTAS_VOLUME_CAPACITY \u003d \u0027volume_capacity\u0027"},{"line_number":55,"context_line":"   QUOTAS_SHARE_CAPACITY \u003d \u0027share_capacity\u0027"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"   QUOTAS_CHECKPOINT: The maximum number of chenkpoints that a specific project can use."},{"line_number":58,"context_line":"   QUOTAS_VOLUME_CAPACITY: The maximum total amount of volume backups data in gibibytes (GiB)"},{"line_number":59,"context_line":"   that a specific project can use."},{"line_number":60,"context_line":"   QUOTAS_SHARE_CAPACITY: The maximum total amount of share snapshots data in gibibytes (GiB)"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_9b70c274","line":57,"range":{"start_line":57,"start_character":44,"end_line":57,"end_character":55},"updated":"2017-08-24 00:41:35.000000000","message":"checkpoints","commit_id":"bb813fdd28169e4e6ea4d605f4b83baadef86ed9"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"521ceb4430476c020642055c79ffc369fd801e69","unresolved":false,"context_lines":[{"line_number":65,"context_line":"   The default limit number of the resources should be inited in the data module"},{"line_number":66,"context_line":"   table \u0027quotas\u0027 when the karbor api service start to run."},{"line_number":67,"context_line":"   The default limit number of the resources can be set from the value of configurations."},{"line_number":68,"context_line":"   The config \u0027quotas_chenkpoint\u0027 and \u0027quotas_resource_capacity\u0027 need be added."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"4. Update the reserved and in use number of the resources quota usages."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_5b6a5a80","line":68,"range":{"start_line":68,"start_character":22,"end_line":68,"end_character":32},"updated":"2017-08-24 00:41:35.000000000","message":"checkpoint","commit_id":"bb813fdd28169e4e6ea4d605f4b83baadef86ed9"},{"author":{"_account_id":21224,"name":"jiaopengju","email":"jiaopengju_yewu@cmss.chinamobile.com","username":"jiaopengju"},"change_message_id":"521ceb4430476c020642055c79ffc369fd801e69","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"1. Update quotas  API, admin only."},{"line_number":133,"context_line":"The request JSON when updating a quota::"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    **post** : /v1/{project_id}/quotas/{quota_id}"},{"line_number":136,"context_line":"    ```json"},{"line_number":137,"context_line":"    {"},{"line_number":138,"context_line":"      \"quota\":"},{"line_number":139,"context_line":"        {"},{"line_number":140,"context_line":"          \"hard_limit\": 100"},{"line_number":141,"context_line":"        }"},{"line_number":142,"context_line":"    }"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"The response JSON when updating a quota::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7f287b81_1b65f2b5","line":142,"range":{"start_line":134,"start_character":0,"end_line":142,"end_character":5},"updated":"2017-08-24 00:41:35.000000000","message":"If we do not specify the resource type, checkpoint type will be used by default?","commit_id":"bb813fdd28169e4e6ea4d605f4b83baadef86ed9"}]}
