Skip to content

Commit cb55bf0

Browse files
committed
Add OpenAPI entry for disable_public_all_docs db config
1 parent 992d3ee commit cb55bf0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/api/components/schemas.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,14 @@ Database:
19151915
name:
19161916
description: The name of the role for which audit logging is disabled.
19171917
type: string
1918+
disable_public_all_docs:
1919+
description: |-
1920+
This controls whether the `_all_docs` REST API endpoint is publicly accessible or not.
1921+
1922+
If set to `true`, the `_all_docs` endpoint will not be publicly accessible, and will only be available on the Admin API.
1923+
Setting this to `false`, or leaving it as the default value is deprecated, and will default to `true` in a future release.
1924+
type: boolean
1925+
default: false
19181926
title: Database-config
19191927
Disabled-users-and-roles:
19201928
type: object

0 commit comments

Comments
 (0)