From fad85dc600f592d4d5ec4561e321061804a64dd9 Mon Sep 17 00:00:00 2001 From: Mitchell Quinn Date: Fri, 2 Apr 2021 01:46:58 -0400 Subject: [PATCH] Update collaborations.yml Removed pagination schema Added next_marker property Added previous_marker property IMPORTANT: I would have used the marker_pagination like in the Folder Locks resource but there does not seem to be a limit property in this response. --- content/responses/collaborations.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/content/responses/collaborations.yml b/content/responses/collaborations.yml index 8382b011..9281aa14 100644 --- a/content/responses/collaborations.yml +++ b/content/responses/collaborations.yml @@ -10,9 +10,22 @@ description: |- A list of collaborations allOf: - - $ref: "../attributes/pagination.yml" - properties: entries: type: array items: $ref: '#/components/schemas/Collaboration' + + next_marker: + description: |- + The marker for the start of the next page of results. + example: 3000 + type: integer + format: int64 + + prev_marker: + description: |- + The marker for the start of the previous page of results. + example: 1000 + type: integer + format: int64