Skip to content
Merged
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
43 changes: 42 additions & 1 deletion hub/swagger_public.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

swagger: '2.0'
info:
version: 0.0.0
Expand Down Expand Up @@ -570,6 +569,9 @@ paths:
Disables the pump. This means that the pump cannot be run automatically by the system. Note that it is
still possible to start the pump manually with the "start"-operation.

To add a comment to the disable operation set the "comment" form parameter. This comment will be persisted
in the "pump-disabled" entity in the execution log.

.. _api-reference-pump-update-last-seen:

"update-last-seen":
Expand Down Expand Up @@ -1306,6 +1308,45 @@ paths:
200:
description: OK

'/config-all':
get:
operationId: api.config.get_config_all
description:
Returns the all configuration of the node in all config-groups, including the default config-group.
The config is returned as an array of json objects, or as a zip-archive,
depending on the value of the 'Accepts' header.
produces:
- application/json
- application/zip
responses:
200:
description: The configuration
schema:
type: array
items:
$ref: '#/definitions/ConfigEntity'

put:
operationId: api.config.put_config_all
description:
Overwrites all configuration of the node in all config-groups.
consumes:
- application/json
- application/zip
- multipart/form-data
parameters:
- in: query
name: force
type: boolean
default: false
required: false
description:
When this is set to "true" it forces the server to accept configuration errors and
do a best-effort attempt to apply the new configuration. This is rarely a good idea.
responses:
200:
description: OK

'/config-history/entity':
get:
operationId: api.config.get_history_for_config_entity
Expand Down