Skip to content

Commit

Permalink
Move visible elements to new place
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Apr 8, 2024
1 parent ef890fa commit 8f8ef06
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions site/.vuepress/public/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1854,26 +1854,6 @@ paths:
This property only will be returned when the query param format=image
items:
$ref: '#/components/schemas/pdfPage'
visibleElements:
type: array
description: Visible elements on document
items:
allOf:
- $ref: '#/components/schemas/signatureElement'
- $ref: '#/components/schemas/elementCoordinate'
- type: object
properties:
signRequestId:
type: string
nullable: true
description: Representative ID of relation between file and user
example: johndoe
elementId:
type: integer
minimum: 1
example: 1
required:
- elementId
signers:
type: array
items:
Expand Down Expand Up @@ -1937,6 +1917,26 @@ paths:
signRequestId:
type: integer
description: Relation between file and user
visibleElements:
type: array
description: Visible elements on document
items:
allOf:
- $ref: '#/components/schemas/signatureElement'
- $ref: '#/components/schemas/elementCoordinate'
- type: object
properties:
signRequestId:
type: string
nullable: true
description: Representative ID of relation between file and user
example: johndoe
elementId:
type: integer
minimum: 1
example: 1
required:
- elementId
example: 1
required:
- signed
Expand Down Expand Up @@ -2054,26 +2054,6 @@ paths:
This property only will be returned when the query param format=image
items:
$ref: '#/components/schemas/pdfPage'
visibleElements:
type: array
description: Visible elements on document
items:
allOf:
- $ref: '#/components/schemas/signatureElement'
- $ref: '#/components/schemas/elementCoordinate'
- type: object
properties:
uid:
type: string
description: Nextcloud user id to assign this visible element.
example: johndoe
nullable: true
elementId:
type: integer
minimum: 1
example: 1
required:
- elementId
signers:
type: array
items:
Expand Down Expand Up @@ -2138,6 +2118,26 @@ paths:
type: integer
description: ID of relation between file and user. Each relation between file and user has an ID that is returned on validation endpoints.
example: 1
visibleElements:
type: array
description: Visible elements on document
items:
allOf:
- $ref: '#/components/schemas/signatureElement'
- $ref: '#/components/schemas/elementCoordinate'
- type: object
properties:
uid:
type: string
description: Nextcloud user id to assign this visible element.
example: johndoe
nullable: true
elementId:
type: integer
minimum: 1
example: 1
required:
- elementId
required:
- signed
- me
Expand Down

0 comments on commit 8f8ef06

Please sign in to comment.