Skip to main content
Get the current version of a shared document

Query Parameters

otp
string

Authorization password for the share token. Required if the share is protected.

Example:

"553827"

shareToken
string
required

Share token used to access the shared resource.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

version
integer

Version the client is currently holding. Supply it to also learn whether the document has moved on since then in a way that invalidates data prepared for signing.

Required range: x > 0
Example:

6

Response

Returns the current version of the document, and whether it changed in a way that breaks signing data prepared against the supplied version.

hasBreakingChangeForSign
boolean

Whether any change recorded on the document since the version supplied by the caller invalidates a signature prepared against that version - a further signature, a replaced file. It carries no meaning when no version was supplied.

version
integer

Current storage version of the document, used for optimistic concurrency control on writes.

Example:

8