diff --git a/openapi/task_execution_service.openapi.yaml b/openapi/task_execution_service.openapi.yaml index 2f0858a..0975ce2 100644 --- a/openapi/task_execution_service.openapi.yaml +++ b/openapi/task_execution_service.openapi.yaml @@ -100,6 +100,31 @@ paths: If unspecified, no task name filtering is done. schema: type: string + - name: state + description: |- + OPTIONAL. Filter tasks by state. If unspecified, + no task state filtering is done. + in: query + required: false + $ref: '#/components/schemas/tesState' + - name: tags + description: |- + OPTIONAL. Filter tasks by tag. If unspecified, + no task tag filtering is done. Both the tag's + key and value must be exact matches for a task to be returned. + Filter Tags Match? + ---------------------------------------------------------------------- + {"foo": "bar"} {"foo": "bar"} Yes + {"foo": ""} {"foo": ""} Yes + {"foo": "bar", "baz": "bat"} {"foo": "bar", "baz": "bat"} Yes + {"foo": "bar"} {"foo": "bar", "baz": "bat"} Yes + {"foo": "bar", "baz": "bat"} {"foo": "bar"} No + {"foo": ""} {"foo": "bar"} No + in: query + required: false + type: object + additionalProperties: + type: string - name: page_size in: query description: |- @@ -554,7 +579,7 @@ components: backend_parameters_strict: type: boolean description: |- - If set to true, backends should fail the task if any backend_parameters + If set to true, backends should fail the task if any backend_parameters key/values are unsupported, otherwise, backends should attempt to run the task format: boolean default: false @@ -589,7 +614,7 @@ components: tesResources_backend_parameters: type: array description: |- - Lists all tesResources.backend_parameters keys supported + Lists all tesResources.backend_parameters keys supported by the service items: type: string