Previously the section was very strict in what pagination was, however this isn't the reality for the matrix specification. Several endpoints have their own pagination naming conventions and do not follow those mandated by this section. This commit generalizes the language to cover those endpoints while also describing how pagination works. In particular, it describes the rough API shape to expect and how to deal with the responses. This commit also removes the `M_BAD_PAGINATION` error as it is not used in the real world. Homeservers are instead encouraged to use the standard `M_INVALID_PARAM` or similar error code. Fixes https://github.com/matrix-org/matrix-doc/issues/610 Fixes https://github.com/matrix-org/matrix-doc/issues/1523 |
||
---|---|---|
.. | ||
appendices | ||
modules | ||
appendices.rst | ||
application_service_api.rst | ||
client_server_api.rst | ||
events.rst | ||
feature_profiles.rst | ||
identity_service_api.rst | ||
index.rst | ||
modules.rst | ||
proposals.rst | ||
proposals_intro.rst | ||
push_gateway.rst | ||
server_server_api.rst | ||
targets.yaml |