Update PUT /v2/scope API reference

This updates some parameters in the API reference of the PUT /v2/scope
endpoint: Some parameters were marked as being expected in the query, but
were actually expected in the body.

Change-Id: Id42c4c26d68fb391be38a9cb7b9ae9a1dba3c254
This commit is contained in:
Luka Peschke 2019-07-19 09:58:15 +02:00
parent d78ba8740e
commit aed221fb99
2 changed files with 20 additions and 4 deletions

View File

@ -60,10 +60,10 @@ Reset the status of several scopes.
.. rest_parameters:: scope/scope_parameters.yml
- state: state
- collector: collector
- fetcher: fetcher
- scope_id: scope_id
- scope_key: scope_key
- collector: collector_body
- fetcher: fetcher_body
- scope_id: scope_id_body
- scope_key: scope_key_body
- all_scopes: all_scopes
Status codes

View File

@ -76,3 +76,19 @@ scope_key_resp:
required: true
description: Scope key for the given scope
in: body
collector_body:
<<: *collector
in: body
fetcher_body:
<<: *fetcher
in: body
scope_id_body:
<<: *scope_id
in: body
scope_key_body:
<<: *scope_key
in: body