Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style |
| 3 | # license that can be found in the LICENSE file. |
| 4 | """Some constants used by Monorail's v3 API.""" |
| 5 | |
| 6 | # Max comments per page in the ListComment API. |
| 7 | MAX_COMMENTS_PER_PAGE = 100 |
| 8 | |
| 9 | # Max issues per page in the SearchIssues API. |
| 10 | MAX_ISSUES_PER_PAGE = 100 |
| 11 | |
Adrià Vilanova MartÃnez | 9f9ade5 | 2022-10-10 23:20:11 +0200 | [diff] [blame^] | 12 | # Max issues to fetch in the BatchGetIssues API. |
| 13 | MAX_BATCH_ISSUES = 1000 |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 14 | |
| 15 | # Max issues to modify at once in the ModifyIssues API. |
| 16 | MAX_MODIFY_ISSUES = 100 |
| 17 | |
| 18 | # Max impacted issues allowed in a ModifyIssues API. |
| 19 | MAX_MODIFY_IMPACTED_ISSUES = 50 |
| 20 | |
| 21 | # Max approval values to modify at once in the ModifyIssueApprovalValues API. |
| 22 | MAX_MODIFY_APPROVAL_VALUES = 100 |
| 23 | |
| 24 | # Max users to fetch in the BatchGetUsers API. |
| 25 | MAX_BATCH_USERS = 100 |
| 26 | |
| 27 | # Max component defs to fetch in the ListComponentDefs API |
| 28 | MAX_COMPONENTS_PER_PAGE = 100 |