mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 01:23:57 +08:00
added some comments to openapi spec
This commit is contained in:
parent
c4f69fd9cb
commit
d3bf325f19
1 changed files with 2 additions and 2 deletions
|
@ -374,7 +374,7 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
patch:
|
||||
description: patch a branch identified by the branchId with changes in the body
|
||||
description: patch a branch identified by the branchId with changes in the body. Only prefix and notePosition can be updated. If you want to update other properties, you need to delete the old branch and create a new one.
|
||||
operationId: patchBranchById
|
||||
requestBody:
|
||||
required: true
|
||||
|
@ -456,7 +456,7 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
patch:
|
||||
description: patch a attribute identified by the attributeId with changes in the body
|
||||
description: patch a attribute identified by the attributeId with changes in the body. For labels, only value and position can be updated. For relations, only position can be updated. If you want to modify other properties, you need to delete the old attribute and create a new one.
|
||||
operationId: patchAttributeById
|
||||
requestBody:
|
||||
required: true
|
||||
|
|
Loading…
Reference in a new issue