[MM-57966]Centralize the 200 maximum page size cap for the per_page parameter and remove individual mentions from API endpoint documentation (#26859)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
173ff52e18
Коммит
5f1a357845
@@ -60,8 +60,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of users per page. There is a maximum limit of 200 users
|
description: The number of users per page.
|
||||||
per page.
|
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
|
|||||||
@@ -1307,7 +1307,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of members per page. There is a maximum limit of 200 members.
|
description: The number of members per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of policies per page. There is a maximum limit of 200 per page.
|
description: The number of policies per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of teams per page. There is a maximum limit of 200 per page.
|
description: The number of teams per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@@ -495,7 +495,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of channels per page. There is a maximum limit of 200 per page.
|
description: The number of channels per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ tags:
|
|||||||
|
|
||||||
|
|
||||||
When using endpoints that require a user id, the string `me` can be used in place of the user id to indicate the action is to be taken for the logged in user.
|
When using endpoints that require a user id, the string `me` can be used in place of the user id to indicate the action is to be taken for the logged in user.
|
||||||
|
|
||||||
|
|
||||||
|
For all endpoints that implement pagination via the `per_page` parameter, the maximum number of items returned per request is capped at 200. If `per_page` exceeds 200, the list will be silently truncated to 200 items.
|
||||||
- name: drivers
|
- name: drivers
|
||||||
description: >
|
description: >
|
||||||
The easiest way to interact with the Mattermost Web Service API is through
|
The easiest way to interact with the Mattermost Web Service API is through
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of users per page. There is a maximum limit of 200 users
|
description: The number of users per page.
|
||||||
per page.
|
per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
|||||||
@@ -195,8 +195,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of users per page. There is a maximum limit of 200 users
|
description: The number of users per page.
|
||||||
per page.
|
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@@ -3140,7 +3139,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of policies per page. There is a maximum limit of 200 per page.
|
description: The number of policies per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@@ -3190,7 +3189,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of policies per page. There is a maximum limit of 200 per page.
|
description: The number of policies per page.
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@@ -3233,8 +3232,7 @@
|
|||||||
default: 0
|
default: 0
|
||||||
- name: per_page
|
- name: per_page
|
||||||
in: query
|
in: query
|
||||||
description: The number of users per page. There is a maximum limit of 200 users
|
description: The number of users per page.
|
||||||
per page.
|
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user