client.deployment.licenseStatus() -> DeploymentLicenseStatusResponse
-
-
-
client.deployment().licenseStatus();
-
-
client.doc.head(docId) -> DocHead200Response
-
-
-
client.doc().head( "docId", HeadDocRequest .builder() .build() );
-
-
-
docId:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.changes(docId, layerName, request) -> DocChanges200Response
-
-
-
Each change stands on its own and names itself by
opId: a refused change rolls back alone, and the answer lists every change in order, applied with its result or refused with its error. Asked again under itsopId, a change gets the same answer, refusals included; a different change under an answeredopIdis refused (IdempotencyKeyReused).{ opId, undoOf }undoes an earlier change of the caller, here or in an earlier request; an undo leaves alone what was changed since, and the undo of an undo redoes. A redaction, a flatten, a form repair or a completed signature ends undo for the changes before it (UndoUnavailable). Each op is checked against its own capability: annotation ops needdoc.annotate.modify, form valuesdoc.forms.fill, form structuredoc.forms.modify, metadatadoc.metadata.modify, outlinedoc.outline.modify, pagesdoc.pages.assemble, embedded filesdoc.attachments.modify. Bytes (a stamp's drawing, an attached file, a signature's artwork, a PDF whose pages come in) travel as multipart: a JSONbodypart, each op naming its files by role asresources: { <role>: '<key>' }, and each file as the partresource:<key>. At most 64 changes per request and 512 ops per change.
-
-
-
client.doc().changes( "docId", "layerName", DocChangesRequest .builder() .changes( Arrays.asList( DocChangesRequestChangesItem .builder() .opId("opId") .build() ) ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
changes:
List<DocChangesRequestChangesItem>
-
-
client.doc.download(docId, layerName) -> InputStream
-
-
-
client.doc().download( "docId", "layerName", DownloadDocRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.downloadLink(docId, layerName, request) -> DocDownloadLink200Response
-
-
-
The link opens the layer as it is when created: once the layer changes, it answers 404, so create it right before handing it over. It downloads that one file and nothing else, and a password-protected document is checked when the link is created. Deployments that verify tokens with their own keys (JWKS) mint links on their backend: a doc token with
layer_name, adownload: { docVersion, mode: "incremental" }claim and a shortexp, passed aslinkon the versioned download URL.
-
-
-
client.doc().downloadLink( "docId", "layerName", DocDownloadLinkRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
expiresIn:
Optional<Integer>
-
-
client.doc.manifest(docId, layerName) -> DocManifest200Response
-
-
-
client.doc().manifest( "docId", "layerName", ManifestDocRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.render(docId, layerName, pageKey) -> InputStream
-
-
-
Render parameters (viewport, format) pass as flat dotted query keys, e.g.
?viewport.kind=width&viewport.width=800; the full grammar is documented with the viewer.
-
-
-
client.doc().render( "docId", "layerName", "pageKey", RenderDocRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.text(docId, layerName, pageKey) -> DocText200Response
-
-
-
client.doc().text( "docId", "layerName", "pageKey", TextDocRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.shares.exchange(request) -> SharesExchange200Response
-
-
-
Unauthenticated, but requires a browser Origin header, checked against the grant allowlist. Unknown, revoked, and disabled tokens are indistinguishable (404). Passphrase-protected grants return 422 SharePasswordRequired until
passwordis supplied. A link that asks its visitors who they are on open returns 422 VisitorIdentityRequired until the required answers are given;error.detailscarriesfields(what the link asks),missing,invalid,purposeandprivacyUrl. A link that asks before the first change issues the session at once withvisitor.identityRequest, and writes answer 403 VisitorIdentityRequired with the same details until the visitor exchanges again with their answers. Answers that can not be taken answer 422 on any link. Mounted only when the deployment can sign (HS256 mode).
-
-
-
client.shares().exchange( SharesExchangeRequest .builder() .shareToken("shareToken") .build() );
-
-
-
shareToken:
String
-
password:
Optional<String>
-
visitorHandle:
Optional<String>
-
restart:
Optional<Boolean>
-
visitorIdentity:
Optional<SharesExchangeRequestVisitorIdentity>
-
-
client.shares.list(tenantId) -> SharesList200Response
-
-
-
client.shares().list( "tenantId", ListSharesRequest .builder() .build() );
-
-
-
tenantId:
String
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
docId:
Optional<String>
-
archived:
Optional<Boolean>
-
-
client.shares.create(tenantId, request) -> SharesCreate200Response
-
-
-
The returned share id is the public share token. Mounted only when the deployment can sign (HS256 mode) β exchange mints session JWTs, so grants exist only where minting does.
-
-
-
client.shares().create( "tenantId", SharesCreateRequest .builder() .docId("docId") .scope( Arrays.asList("scope") ) .build() );
-
-
-
tenantId:
String
-
docId:
String
-
layerMode:
Optional<SharesCreateRequestLayerMode>
-
layerName:
Optional<String>
-
keepVisitorLayers:
Optional<Boolean>
-
visitorIdleSeconds:
Optional<Integer>
-
visitorIdentity:
Optional<SharesCreateRequestVisitorIdentity>
-
identity:
Optional<Identity>
-
scope:
List<String>
-
origins:
Optional<List<String>>
-
password:
Optional<String>
-
sessionTtlSeconds:
Optional<Integer>
-
expiresAt:
Optional<Integer>
-
-
client.shares.get(tenantId, shareId) -> SharesGet200Response
-
-
-
client.shares().get( "tenantId", "shareId", GetSharesRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
-
client.shares.delete(tenantId, shareId)
-
-
-
client.shares().delete( "tenantId", "shareId", DeleteSharesRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
-
client.shares.update(tenantId, shareId, request) -> SharesUpdate200Response
-
-
-
client.shares().update( "tenantId", "shareId", SharesUpdateRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
layerMode:
Optional<SharesUpdateRequestLayerMode>
-
layerName:
Optional<String>
-
keepVisitorLayers:
Optional<Boolean>
-
visitorIdleSeconds:
Optional<Integer>
-
visitorIdentity:
Optional<SharesUpdateRequestVisitorIdentity>
-
identity:
Optional<Identity>
-
scope:
Optional<List<String>>
-
origins:
Optional<List<String>>
-
password:
Optional<String>
-
sessionTtlSeconds:
Optional<Integer>
-
disabled:
Optional<Boolean>
-
expiresAt:
Optional<Integer>
-
-
client.shares.archive(tenantId, shareId) -> SharesArchive200Response
-
-
-
Archiving is final: an archived link never exchanges again, and to share again you create a new link. Pausing (
disabled) is the reversible stop. An archived link no longer counts as using its shared layer, so that layer can be deleted.
-
-
-
client.shares().archive( "tenantId", "shareId", ArchiveSharesRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
-
client.tenants.list() -> TenantsList200Response
-
-
-
client.tenants().list( ListTenantsRequest .builder() .build() );
-
-
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
-
client.tenants.create(request) -> TenantsCreate200Response
-
-
-
client.tenants().create( TenantsCreateRequest .builder() .id("id") .build() );
-
-
-
id:
String
-
name:
Optional<String>
-
-
client.tenants.get(tenantId) -> TenantsGet200Response
-
-
-
client.tenants().get( "tenantId", GetTenantsRequest .builder() .build() );
-
-
-
tenantId:
String
-
-
client.tenants.delete(tenantId)
-
-
-
Destroys the tenant and everything in its namespace β documents, layers, stored bytes, audit history. Irreversible.
-
-
-
client.tenants().delete( "tenantId", DeleteTenantsRequest .builder() .build() );
-
-
-
tenantId:
String
-
-
client.tenants.resume(tenantId)
-
-
-
client.tenants().resume( "tenantId", ResumeTenantsRequest .builder() .build() );
-
-
-
tenantId:
String
-
-
client.tenants.suspend(tenantId, request)
-
-
-
Instantly reversible with resume. The API token is exempt, so a suspended tenant can still be inspected, exported, resumed, or deleted.
-
-
-
client.tenants().suspend( "tenantId", TenantsSuspendRequest .builder() .build() );
-
-
-
tenantId:
String
-
reason:
Optional<String>
-
-
client.tenants.usage(tenantId) -> TenantsUsage200Response
-
-
-
Facts only β no limits or billing state. Views count share exchanges plus authorized /v1/access grants, deduplicated across the two.
-
-
-
client.tenants().usage( "tenantId", UsageTenantsRequest .builder() .build() );
-
-
-
tenantId:
String
-
period:
Optional<String>
-
-
client.documents.list(tenantId) -> DocumentsList200Response
-
-
-
client.documents().list( "tenantId", ListDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
state:
Optional<ListDocumentsRequestState>β Only documents in this state. Without it, every state except deleting.
-
q:
Optional<String>β Only documents whose name contains this text, ignoring case.
-
folderId:
Optional<String>β Only documents directly in this folder (root: the top level). Without it, documents in every folder.
-
sort:
Optional<ListDocumentsRequestSort>β createdAt (default), name (ignoring case), or size (stored bytes; 0 while pending).
-
order:
Optional<ListDocumentsRequestOrder>β Defaults to the reading order of the sort: A to Z for name, newest and largest first otherwise.
-
-
client.documents.get(tenantId, id) -> DocumentsGet200Response
-
-
-
client.documents().get( "tenantId", "id", GetDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
-
client.documents.delete(tenantId, id)
-
-
-
client.documents().delete( "tenantId", "id", DeleteDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
-
client.documents.update(tenantId, id, request) -> DocumentsUpdate200Response
-
-
-
A document that is being deleted answers 404.
-
-
-
client.documents().update( "tenantId", "id", DocumentsUpdateRequest .builder() .name("name") .build() );
-
-
-
tenantId:
String
-
id:
String
-
name:
Stringβ What people call the document: shown in dashboards, searched and sorted by. 1 to 255 characters, no control characters, no leading or trailing whitespace. Names need not be unique.
-
-
client.documents.commit(tenantId, id, request) -> DocumentsCommit200Response
-
-
-
client.documents().commit( "tenantId", "id", DocumentsCommitRequest .builder() .sha256("sha256") .build() );
-
-
-
tenantId:
String
-
id:
String
-
sha256:
String
-
-
client.documents.download(tenantId, id) -> InputStream
-
-
-
client.documents().download( "tenantId", "id", DownloadDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
-
client.documents.thumbnail(tenantId, id) -> InputStream
-
-
-
client.documents().thumbnail( "tenantId", "id", ThumbnailDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
-
client.documents.uploadProxy(tenantId, id, request) -> DocumentsUploadProxy200Response
-
-
-
This bounded origin-mediated fallback must only be used after documents.init returns upload.kind=proxy. Auto mode prefers a presigned object-store PUT whenever available.
-
-
-
client.documents().uploadProxy( "tenantId", "id", null, UploadProxyDocumentsRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
-
client.documents.importFrom(tenantId, request) -> DocumentsImportFrom200Response
-
-
-
Default mode is synchronous and bounded: the response returns only after the transfer verified and committed (or failed). mode=async (connection sources only) answers 202 immediately and an in-process worker performs the transfer with leased, fenced retries; poll the document until ready/failed. The deployment import policy gates scheme, network range, and size; sources must declare a length. CloudPDF copies and owns the bytes β the source is never referenced in place. A 502 marks a retryable upstream failure: retry with the same idempotencyKey to resume the same document. URL sources are capabilities and never echoed back. Connection sources name operator-registered storage (bucket/prefix scope, allowed credential classes, and tenant bindings are deployment configuration);
revisionis provider-interpreted (S3 VersionId, GCS generation, Azure version id).
-
-
-
client.documents().importFrom( "tenantId", DocumentsImportFromRequest .builder() .source( DocumentsImportFromRequestSource.url( DocumentsImportFromRequestSourceUrl .builder() .url("url") .build() ) ) .build() );
-
-
-
tenantId:
String
-
source:
DocumentsImportFromRequestSourceβ Where CloudPDF pulls the bytes from. The two shapes differ in who supplies the authority to read, not in which storage vendor holds the file.
-
expected:
Optional<DocumentsImportFromRequestExpected>β Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
-
name:
Optional<String>β What people call the document: shown in dashboards, searched and sorted by. 1 to 255 characters, no control characters, no leading or trailing whitespace. Names need not be unique.
-
folderId:
Optional<String>β A folder id, or root for the top level.
-
metadata:
Optional<Map<String, Object>>
-
idempotencyKey:
Optional<String>β Retrying with the same key resumes the same document rather than importing a second copy β including after a 502.
-
dedupMode:
Optional<DocumentsImportFromRequestDedupMode>β always-create (default) creates a new document every time. reuse-existing returns a document that already holds the same content instead of storing it twice.
-
docId:
Optional<String>
-
mode:
Optional<DocumentsImportFromRequestMode>β sync (default) holds the response open for the whole transfer. async answers 202 with the document pending and transfers in the background; it requires a connection source, and filesystem connections additionally require expected.sha256.
-
-
client.documents.init(tenantId, request) -> DocumentsInit200Response
-
-
-
client.documents().init( "tenantId", DocumentsInitRequest .builder() .contentLength(1.1) .contentSha256("contentSha256") .build() );
-
-
-
tenantId:
String
-
contentLength:
Double
-
contentSha256:
String
-
name:
Optional<String>β What people call the document: shown in dashboards, searched and sorted by. 1 to 255 characters, no control characters, no leading or trailing whitespace. Names need not be unique.
-
folderId:
Optional<String>β A folder id, or root for the top level.
-
metadata:
Optional<Map<String, Object>>
-
idempotencyKey:
Optional<String>
-
dedupMode:
Optional<DocumentsInitRequestDedupMode>β always-create (default) creates a new document every time. reuse-existing returns a document that already holds the same content instead of storing it twice.
-
docId:
Optional<String>
-
uploadTtlSec:
Optional<Double>
-
uploadPreference:
Optional<DocumentsInitRequestUploadPreference>
-
-
client.folders.list(tenantId) -> FoldersList200Response
-
-
-
client.folders().list( "tenantId", ListFoldersRequest .builder() .build() );
-
-
-
tenantId:
String
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
parentId:
Optional<String>β Only the folders directly in this folder (root: the top level). Without it, every folder.
-
-
client.folders.create(tenantId, request) -> FoldersCreate200Response
-
-
-
409 Conflict carries
details.reason:name-taken(a sibling has the name, ignoring case;details.name) ortoo-deep(folders nest at most 100 levels;details.maxDepth). 404 when the parent folder does not exist.
-
-
-
client.folders().create( "tenantId", FoldersCreateRequest .builder() .name("name") .build() );
-
-
-
tenantId:
String
-
name:
Stringβ What people call the folder: 1 to 255 characters, no control characters, no leading or trailing whitespace, and unique among the folder's siblings, ignoring case.
-
parentId:
Optional<String>β A folder id, or root for the top level.
-
-
client.folders.get(tenantId, folderId) -> FoldersGet200Response
-
-
-
client.folders().get( "tenantId", "folderId", GetFoldersRequest .builder() .build() );
-
-
-
tenantId:
String
-
folderId:
String
-
-
client.folders.delete(tenantId, folderId)
-
-
-
Without recursive, a folder with anything inside is refused: 409 Conflict with
details.reasonnot-emptyand what it holds, counted over every level below, indetails.foldersanddetails.documents. With recursive=true, the folder and every folder under it go at once, and every document in them stops opening, leaves every list and stops answering its share links at once; their stored files and links are removed in the background. Uploads into those folders that have not committed cannot commit.
-
-
-
client.folders().delete( "tenantId", "folderId", DeleteFoldersRequest .builder() .build() );
-
-
-
tenantId:
String
-
folderId:
String
-
recursive:
Optional<Boolean>β true deletes everything in the folder too. Never the default.
-
-
client.folders.update(tenantId, folderId, request) -> FoldersUpdate200Response
-
-
-
409 Conflict with
details.reasonname-takenwhen a sibling has the name, ignoring case.
-
-
-
client.folders().update( "tenantId", "folderId", FoldersUpdateRequest .builder() .name("name") .build() );
-
-
-
tenantId:
String
-
folderId:
String
-
name:
Stringβ What people call the folder: 1 to 255 characters, no control characters, no leading or trailing whitespace, and unique among the folder's siblings, ignoring case.
-
-
client.folders.moveInto(tenantId, folderId, request)
-
-
-
Up to 1,000 ids in total. A folder moves with everything in it. 404 NotFound names the ids that do not exist or are being deleted in
details.documentIdsanddetails.folderIds. 409 Conflict carriesdetails.reason:cycle(the destination is a moved folder or inside one;details.folderId),too-deep(the move would nest folders deeper than 100 levels;details.maxDepth) orname-taken(a moved folder's name is taken in the destination, ignoring case;details.name).
-
-
-
client.folders().moveInto( "tenantId", "folderId", FoldersMoveIntoRequest .builder() .build() );
-
-
-
tenantId:
String
-
folderId:
Stringβ A folder id, or root for the top level.
-
documentIds:
Optional<List<String>>
-
folderIds:
Optional<List<String>>
-
-
client.tokens.issue(tenantId, request) -> TokensIssue200Response
-
-
-
kind "tenant" requires the API token β authority mints only downward. Mounted only when the deployment can sign (HS256 mode); asymmetric deployments mint with their own private key.
-
-
-
client.tokens().issue( "tenantId", IssueTokensRequest .builder() .body( TokensIssueRequest.doc( TokensIssueRequestDoc .builder() .sub("sub") .docId("docId") .expiresIn(1) .scope( Arrays.asList("scope") ) .build() ) ) .build() );
-
-
-
tenantId:
String
-
request:
TokensIssueRequest
-
-
client.tokens.revoke(tenantId, jti, request)
-
-
-
Mounted only when the deployment enables token revocation.
-
-
-
client.tokens().revoke( "tenantId", "jti", TokensRevokeRequest .builder() .build() );
-
-
-
tenantId:
String
-
jti:
String
-
reason:
Optional<String>
-
expiresAtSeconds:
Optional<Integer>
-
-
client.doc.annotations.listAll(docId, layerName) -> AnnotationList
-
-
-
Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is unspecified; join by
page(aPageRef) when display order matters.
-
-
-
client.doc().annotations().listAll( "docId", "layerName", ListAllAnnotationsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.annotations.list(docId, layerName, pageKey) -> AnnotationList
-
-
-
client.doc().annotations().list( "docId", "layerName", "pageKey", ListAnnotationsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.annotations.create(docId, layerName, pageKey, request) -> DocAnnotationsCreate200Response
-
-
-
Doc JWTs may instead carry collab scopes (annotations:create:self, β¦) that refine per-annotation authorship rules; the API token is exempt from both.
-
-
-
client.doc().annotations().create( "docId", "layerName", "pageKey", CreateAnnotationsRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.annotations.delete(docId, layerName, pageKey, annotKey) -> DocAnnotationsDelete200Response
-
-
-
client.doc().annotations().delete( "docId", "layerName", "pageKey", "annotKey", DeleteAnnotationsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
-
client.doc.annotations.update(docId, layerName, pageKey, annotKey, request) -> DocAnnotationsUpdate200Response
-
-
-
client.doc().annotations().update( "docId", "layerName", "pageKey", "annotKey", UpdateAnnotationsRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.annotations.readAppearance(docId, layerName, pageKey, annotKey) -> InputStream
-
-
-
client.doc().annotations().readAppearance( "docId", "layerName", "pageKey", "annotKey", ReadAppearanceAnnotationsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.annotations.readFile(docId, layerName, pageKey, annotKey) -> InputStream
-
-
-
A file that decodes past the server's limit is refused (PayloadTooLarge).
-
-
-
client.doc().annotations().readFile( "docId", "layerName", "pageKey", "annotKey", ReadFileAnnotationsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.annotations.exportAppearance(docId, layerName, pageKey, request) -> InputStream
-
-
-
client.doc().annotations().exportAppearance( "docId", "layerName", "pageKey", ExportAppearanceAnnotationsRequest .builder() .body( new HashMap<String, Object>() {{ put("string", new HashMap<String, Object>() {{put("key", "value"); }}); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
request:
Map<String, Object>
-
-
client.doc.annotations.flatten(docId, layerName, pageKey, request) -> DocAnnotationsFlatten200Response
-
-
-
client.doc().annotations().flatten( "docId", "layerName", "pageKey", FlattenAnnotationsRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.annotations.reorder(docId, layerName, pageKey, request) -> DocAnnotationsReorder200Response
-
-
-
client.doc().annotations().reorder( "docId", "layerName", "pageKey", DocAnnotationsReorderRequest .builder() .position( AnnotationPosition.of(AnnotationPositionZero.START) ) .refs( Arrays.asList( AnnotationRef.objectNumber( AnnotationRefObjectNumber .builder() .page( PageRef .builder() .kind(PageRefKind.OBJECT_NUMBER) .objectNumber(1) .build() ) .objectNumber(1) .build() ) ) ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
refs:
List<AnnotationRef>
-
position:
AnnotationPosition
-
-
client.doc.attachments.download(docId, layerName, fileKey) -> InputStream
-
-
-
A file that decodes past the server's limit is refused (PayloadTooLarge).
-
-
-
client.doc().attachments().download( "docId", "layerName", "fileKey", DownloadAttachmentsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
fileKey:
Stringβ The embedded file's name-tree key (itsref.key), token-text encoded, asfieldKeyis.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.attachments.list(docId, layerName) -> AttachmentList
-
-
-
A file-attachment annotation's file is listed with the annotation; read its bytes with
doc.annotations.readFile.
-
-
-
client.doc().attachments().list( "docId", "layerName", ListAttachmentsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.forms.list(docId, layerName) -> DocFormsList200Response
-
-
-
client.doc().forms().list( "docId", "layerName", ListFormsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.forms.reorderCalculations(docId, layerName, request) -> DocFormsReorderCalculations200Response
-
-
-
client.doc().forms().reorderCalculations( "docId", "layerName", DocFormsReorderCalculationsRequest .builder() .position( FieldPosition.of(FieldPositionZero.START) ) .fields( Arrays.asList( FormFieldRef.objectNumber( FormFieldRefObjectNumber .builder() .objectNumber(1) .build() ) ) ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
fields:
List<FormFieldRef>
-
position:
FieldPosition
-
-
client.doc.forms.setValue(docId, layerName, fieldKey, request) -> DocFormsSetValue200Response
-
-
-
client.doc().forms().setValue( "docId", "layerName", "fieldKey", SetValueFormsRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
fieldKey:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.forms.reset(docId, layerName, request) -> DocFormsReset200Response
-
-
-
client.doc().forms().reset( "docId", "layerName", DocFormsResetRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
refs:
Optional<List<FormFieldRef>>
-
-
client.doc.forms.deleteWidget(docId, layerName, pageKey, annotKey) -> DocFormsDeleteWidget200Response
-
-
-
client.doc().forms().deleteWidget( "docId", "layerName", "pageKey", "annotKey", DeleteWidgetFormsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
-
client.doc.forms.updateWidget(docId, layerName, pageKey, annotKey, request) -> DocFormsUpdateWidget200Response
-
-
-
client.doc().forms().updateWidget( "docId", "layerName", "pageKey", "annotKey", DocFormsUpdateWidgetRequest .builder() .patch( WidgetPatch .builder() .build() ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
annotKey:
Stringβ The annotation's address on the page:obj:N, its indirect object number, orbase:Nfor an annotation the uploaded file stored inline (without an object number of its own), the position it was born at in the page's /Annots. The name the annotation'srefcarries for life.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
patch:
WidgetPatch
-
-
client.doc.forms.reorderWidgets(docId, layerName, pageKey, request) -> DocFormsReorderWidgets200Response
-
-
-
client.doc().forms().reorderWidgets( "docId", "layerName", "pageKey", DocFormsReorderWidgetsRequest .builder() .position( AnnotationPosition.of(AnnotationPositionZero.START) ) .widgets( Arrays.asList( AnnotationRef.objectNumber( AnnotationRefObjectNumber .builder() .page( PageRef .builder() .kind(PageRefKind.OBJECT_NUMBER) .objectNumber(1) .build() ) .objectNumber(1) .build() ) ) ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
widgets:
List<AnnotationRef>
-
position:
AnnotationPosition
-
-
client.doc.metadata.get(docId, layerName) -> DocumentMetadata
-
-
-
client.doc().metadata().get( "docId", "layerName", GetMetadataRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.outline.get(docId, layerName) -> DocumentOutline
-
-
-
client.doc().outline().get( "docId", "layerName", GetOutlineRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.pages.setScale(docId, layerName, pageKey, request) -> DocPagesSetScale200Response
-
-
-
client.doc().pages().setScale( "docId", "layerName", "pageKey", DocPagesSetScaleRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
measure:
Optional<DocPagesSetScaleRequestMeasure>
-
-
client.doc.pages.viewports(docId, layerName, pageKey) -> DocPagesViewports200Response
-
-
-
client.doc().pages().viewports( "docId", "layerName", "pageKey", ViewportsPagesRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
pageKey:
Stringβ The page's address,obj:N: the page's indirect object number, the durable identity everyPageLayout.refcarries. MirrorsannotKeyandfieldKey.
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.pages.extract(docId, layerName, request) -> InputStream
-
-
-
A read, not a mutation: the source document is untouched and no event is published. Body is
{"pages": PageRef[], "flatten"?: {"usage"?: "display" | "print"}, "includeAnnotations"?: boolean, "includeFormFields"?: boolean}; the response body is the new PDF. Withflattenthe copy is the pages as they draw forusage("print": a print copy): the annotations and form fields painted in, nothing interactive left, layers in their state for the usage. A flattened copy takesdoc.downloadordoc.download.flattened, and paints only what the caller may read;includeAnnotationsandincludeFormFieldschoose what it paints, and are refused withoutflatten.
-
-
-
client.doc().pages().extract( "docId", "layerName", ExtractPagesRequest .builder() .body( new HashMap<String, Object>() {{ put("string", new HashMap<String, Object>() {{put("key", "value"); }}); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
request:
Map<String, Object>
-
-
client.doc.pages.flatten(docId, layerName, request) -> DocPagesFlatten200Response
-
-
-
client.doc().pages().flatten( "docId", "layerName", FlattenPagesRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.pages.setName(docId, layerName, request) -> DocPagesSetName200Response
-
-
-
client.doc().pages().setName( "docId", "layerName", SetNamePagesRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.pages.removeName(docId, layerName, request) -> DocPagesRemoveName200Response
-
-
-
client.doc().pages().removeName( "docId", "layerName", RemoveNamePagesRequest .builder() .body( new HashMap<String, Object>() {{ put("key", "value"); }} ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
request:
Map<String, Object>
-
-
client.doc.redactions.apply(docId, layerName, request) -> DocRedactionsApply200Response
-
-
-
client.doc().redactions().apply( "docId", "layerName", DocRedactionsApplyRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
idempotencyKey:
Optional<String>β Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing.
-
pages:
Optional<List<PageRef>>
-
annotations:
Optional<List<AnnotationRef>>
-
-
client.doc.signatures.list(docId, layerName) -> DocSignaturesList200Response
-
-
-
Describes the bytes the layer is over: the base version's signatures plus the layer's own edits as the last revision. Signed bytes (contents, digests, revision prefixes) are served per base version under /versions.
-
-
-
client.doc().signatures().list( "docId", "layerName", ListSignaturesRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.signatures.cancel(docId, layerName, signingId) -> DocSignaturesCancel200Response
-
-
-
client.doc().signatures().cancel( "docId", "layerName", "signingId", CancelSignaturesRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
signingId:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.signatures.complete(docId, layerName, signingId, request) -> DocSignaturesComplete200Response
-
-
-
cmsis the detached CMS over the prepared digest, base64.expectedVersionmust be what prepare returned. Idempotent by signing id: the same CMS again answersalready-completed. The new version is the layer's own: only this layer moves to it, and the document and every other layer stay as they were. Refetch the manifest after a completion.
-
-
-
client.doc().signatures().complete( "docId", "layerName", "signingId", DocSignaturesCompleteRequest .builder() .cms("cms") .expectedVersion( DocSignaturesCompleteRequestExpectedVersion .builder() .baseSha256("baseSha256") .editsVersion(1) .build() ) .build() );
-
-
-
docId:
String
-
layerName:
String
-
signingId:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
cms:
String
-
expectedVersion:
DocSignaturesCompleteRequestExpectedVersion
-
-
client.doc.signatures.analysis(docId, layerName) -> DocSignaturesAnalysis200Response
-
-
-
Exactly one of
since.signature=<index>orsince.revision=<index>; the layer's pending edits are the end.level=fill|annotate|lta|noneevaluates exploratorily and never becomes a verdict. For history between two base revisions use the version analysis.
-
-
-
client.doc().signatures().analysis( "docId", "layerName", AnalysisSignaturesRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sinceSignature:
Optional<Integer>
-
sinceRevision:
Optional<Integer>
-
level:
Optional<AnalysisSignaturesRequestLevel>
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.signatures.prepare(docId, layerName, request) -> DocSignaturesPrepare200Response
-
-
-
Multipart: a JSON
bodypart (field, subFilter, digest, contentsSize, signer, certify, lock), naming the appearance PDF it may carry asresources: { appearance: '<key>' }, and that PDF as the partresource:<key>. A certification (certify.permission) additionally requiresdoc.sign.certify. The layer is read-only until the signing completes, is cancelled, or expires (15 minutes). The signature is made over the layer's own base: the upload, or the version its last signature made.
-
-
-
client.doc().signatures().prepare( "docId", "layerName", null, PrepareSignaturesRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.list(docId, layerName) -> DocVersionsList200Response
-
-
-
Every completed signature makes a new version of its layer; another layer's versions are never listed. Never cached: the list grows.
-
-
-
client.doc().versions().list( "docId", "layerName", ListVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.analysis(docId, layerName, sha) -> DocVersionsAnalysis200Response
-
-
-
Exactly one of
since.signature/since.revision;until=<revision>defaults to the last. The same answer for every caller.
-
-
-
client.doc().versions().analysis( "docId", "layerName", "sha", AnalysisVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
sinceSignature:
Optional<Integer>
-
sinceRevision:
Optional<Integer>
-
level:
Optional<AnalysisVersionsRequestLevel>
-
until:
Optional<Integer>
-
policy:
Optional<Integer>
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.download(docId, layerName, sha) -> InputStream
-
-
-
client.doc().versions().download( "docId", "layerName", "sha", DownloadVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.revision(docId, layerName, sha, index) -> InputStream
-
-
-
client.doc().versions().revision( "docId", "layerName", "sha", 1, RevisionVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
index:
Integer
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.signatures(docId, layerName, sha) -> DocVersionsSignatures200Response
-
-
-
client.doc().versions().signatures( "docId", "layerName", "sha", SignaturesVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.signatureContents(docId, layerName, sha, fieldKey) -> InputStream
-
-
-
fieldKeyis the field's fully qualified name, token-text encoded (the same encoding attachment keys use).
-
-
-
client.doc().versions().signatureContents( "docId", "layerName", "sha", "fieldKey", SignatureContentsVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
fieldKey:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.versions.signatureDigest(docId, layerName, sha, fieldKey, algorithm) -> InputStream
-
-
-
What a CMS verifier compares its message digest to.
-
-
-
client.doc().versions().signatureDigest( "docId", "layerName", "sha", "fieldKey", SignatureDigestVersionsRequestAlgorithm.SHA1, SignatureDigestVersionsRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
sha:
String
-
fieldKey:
String
-
algorithm:
SignatureDigestVersionsRequestAlgorithm
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.doc.metadata.custom.get(docId, layerName) -> Map<String, String>
-
-
-
client.doc().metadata().custom().get( "docId", "layerName", GetCustomRequest .builder() .build() );
-
-
-
docId:
String
-
layerName:
String
-
documentPassword:
Optional<String>β Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.
-
-
client.documents.layers.list(tenantId, id) -> DocumentsLayersList200Response
-
-
-
client.documents().layers().list( "tenantId", "id", ListLayersRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
shareId:
Optional<String>
-
-
client.documents.layers.delete(tenantId, id, layerName)
-
-
-
client.documents().layers().delete( "tenantId", "id", "layerName", DeleteLayersRequest .builder() .build() );
-
-
-
tenantId:
String
-
id:
String
-
layerName:
String
-
-
client.shares.visitors.list(tenantId, shareId) -> SharesVisitorsList200Response
-
-
-
An archived link's visitors are listed too.
-
-
-
client.shares().visitors().list( "tenantId", "shareId", ListVisitorsRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
limit:
Optional<Integer>
-
cursor:
Optional<String>
-
-
client.shares.visitors.delete(tenantId, shareId, visitorId)
-
-
-
Their handle brings them back as a new visitor, who is asked again. Deleting a visitor already deleted changes nothing.
-
-
-
client.shares().visitors().delete( "tenantId", "shareId", "visitorId", DeleteVisitorsRequest .builder() .build() );
-
-
-
tenantId:
String
-
shareId:
String
-
visitorId:
String
-
-