mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
chore: Update Public API schema (#4222)
Co-authored-by: tomi <10324676+tomi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
45e542d2af
commit
7260247bad
@@ -398,6 +398,56 @@ paths:
|
||||
$ref: '#/components/responses/notFound'
|
||||
'409':
|
||||
$ref: '#/components/responses/conflict'
|
||||
/executions/{id}/tags:
|
||||
get:
|
||||
x-eov-operation-id: getExecutionTags
|
||||
x-eov-operation-handler: v1/handlers/executions/executions.handler
|
||||
tags:
|
||||
- Execution
|
||||
summary: Get execution tags
|
||||
description: Get annotation tags for an execution.
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/executionId'
|
||||
responses:
|
||||
'200':
|
||||
description: List of annotation tags
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/executionTags'
|
||||
'401':
|
||||
$ref: '#/components/responses/unauthorized'
|
||||
'404':
|
||||
$ref: '#/components/responses/notFound'
|
||||
put:
|
||||
x-eov-operation-id: updateExecutionTags
|
||||
x-eov-operation-handler: v1/handlers/executions/executions.handler
|
||||
tags:
|
||||
- Execution
|
||||
summary: Update tags of an execution
|
||||
description: Update annotation tags of an execution.
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/executionId'
|
||||
requestBody:
|
||||
description: List of annotation tag IDs
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/tagIds'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
description: List of tags after updating
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/executionTags'
|
||||
'400':
|
||||
$ref: '#/components/responses/badRequest'
|
||||
'401':
|
||||
$ref: '#/components/responses/unauthorized'
|
||||
'404':
|
||||
$ref: '#/components/responses/notFound'
|
||||
/tags:
|
||||
post:
|
||||
x-eov-operation-id: createTag
|
||||
@@ -2090,6 +2140,21 @@ components:
|
||||
type: string
|
||||
format: date-time
|
||||
readOnly: true
|
||||
executionTags:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/tag'
|
||||
tagIds:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
example: 2tUt1wbLX592XDdX
|
||||
tagList:
|
||||
type: object
|
||||
properties:
|
||||
@@ -2463,17 +2528,6 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/tag'
|
||||
tagIds:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
example: 2tUt1wbLX592XDdX
|
||||
user:
|
||||
required:
|
||||
- email
|
||||
|
||||
Reference in New Issue
Block a user