blob: 9752242120c1ea4292898f4cc23aafac44973d74 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001# 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.
7MAX_COMMENTS_PER_PAGE = 100
8
9# Max issues per page in the SearchIssues API.
10MAX_ISSUES_PER_PAGE = 100
11
12# Max issues tp fetch in the BatchGetIssues API.
13MAX_BATCH_ISSUES = 100
14
15# Max issues to modify at once in the ModifyIssues API.
16MAX_MODIFY_ISSUES = 100
17
18# Max impacted issues allowed in a ModifyIssues API.
19MAX_MODIFY_IMPACTED_ISSUES = 50
20
21# Max approval values to modify at once in the ModifyIssueApprovalValues API.
22MAX_MODIFY_APPROVAL_VALUES = 100
23
24# Max users to fetch in the BatchGetUsers API.
25MAX_BATCH_USERS = 100
26
27# Max component defs to fetch in the ListComponentDefs API
28MAX_COMPONENTS_PER_PAGE = 100