blob: e21270cceb2560ad309222f03b3cad137502ec13 [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
Adrià Vilanova Martínez9f9ade52022-10-10 23:20:11 +020012# Max issues to fetch in the BatchGetIssues API.
13MAX_BATCH_ISSUES = 1000
Copybara854996b2021-09-07 19:36:02 +000014
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