Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11406,21 +11406,28 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"format": "uuid",
"description": "The document ID to retrieve views for"
"allOf": [
{
"$ref": "#/components/schemas/Pagination"
},
"includeSuspended": {
"type": "boolean",
"description": "Whether to include views from suspended users",
"default": false
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"format": "uuid",
"description": "The document ID to retrieve views for"
},
"includeSuspended": {
"type": "boolean",
"description": "Whether to include views from suspended users",
"default": false
}
},
"required": [
"documentId"
]
}
},
"required": [
"documentId"
]
}
}
Expand All @@ -11439,6 +11446,9 @@
"items": {
"$ref": "#/components/schemas/View"
}
},
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
}
}
Expand Down
28 changes: 16 additions & 12 deletions spec3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7917,18 +7917,20 @@ paths:
content:
application/json:
schema:
type: object
properties:
documentId:
type: string
format: uuid
description: The document ID to retrieve views for
includeSuspended:
type: boolean
description: Whether to include views from suspended users
default: false
required:
- documentId
allOf:
- "$ref": "#/components/schemas/Pagination"
- type: object
properties:
documentId:
type: string
format: uuid
description: The document ID to retrieve views for
includeSuspended:
type: boolean
description: Whether to include views from suspended users
default: false
required:
- documentId
responses:
"200":
description: OK
Expand All @@ -7941,6 +7943,8 @@ paths:
type: array
items:
"$ref": "#/components/schemas/View"
pagination:
"$ref": "#/components/schemas/Pagination"
"401":
"$ref": "#/components/responses/Unauthenticated"
"403":
Expand Down
Loading