Allow a collective to disable the integration endpoint

This commit is contained in:
Eike Kettner
2020-05-23 13:53:36 +02:00
parent f74f8e5198
commit f16632bc7f
14 changed files with 138 additions and 71 deletions

View File

@ -618,10 +618,9 @@ paths:
$ref: "#/components/schemas/CollectiveSettings"
post:
tags: [ Collective ]
summary: Set document language of the collective
summary: Update settings for a collective
description: |
Updates settings for a collective, which currently is just the
document language.
Updates settings for a collective.
security:
- authTokenHeader: []
requestBody:
@ -2692,10 +2691,16 @@ components:
Settings for a collective.
required:
- language
- integrationEnabled
properties:
language:
type: string
format: language
integrationEnabled:
type: boolean
description: |
Whether the collective has the integration endpoint
enabled.
SourceList:
description: |
A list of sources.