Skip to content
Open
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
44 changes: 44 additions & 0 deletions api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,50 @@ paths:
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/config/append:
patch:
tags: ['Configuration']
operationId: append_config
description: >-
Append new attributes of resources to existing configuration on the traffic generator.
Resource names should not be part of existing configuration of that resource type;
it should be unique for the operation to succeed.
The fetched configuration shall also reflect the new configuration applied successfully.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../config/append.yaml#/components/schemas/Config.Append'
responses:
'200':
$ref: '../result/request.yaml#/components/responses/Success'
x-field-uid: 1
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/config/delete:
patch:
tags: ['Configuration']
operationId: delete_config
description: >-
Delete attributes of resources from existing configuration on the traffic generator.
Resource names should already be part of existing configuration of that resource type;
for the operation to succeed.
The fetched configuration shall not reflect the removed configuration deleted successfully.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../config/delete.yaml#/components/schemas/Config.Delete'
responses:
'200':
$ref: '../result/request.yaml#/components/responses/Success'
x-field-uid: 1
default:
$ref: '../result/request.yaml#/components/responses/Failure'
x-field-uid: 2
/control/state:
post:
tags: ['Control']
Expand Down
62 changes: 53 additions & 9 deletions artifacts/openapi.html

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading