$client->deployment->licenseStatus() -> ?DeploymentLicenseStatusResponse
-
-
-
$client->deployment->licenseStatus();
-
-
$client->doc->head($docId, $request) -> ?DocHead200Response
-
-
-
$client->doc->head( 'docId', new HeadDocRequest([]), );
-
-
-
$docId:
string
-
$documentPassword:
?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', new DocChangesRequest([ 'changes' => [ new DocChangesRequestChangesItem([ 'opId' => 'opId', ]), ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
array
-
-
$client->doc->download($docId, $layerName, $request) -> string
-
-
-
$client->doc->download( 'docId', 'layerName', new DownloadDocRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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', new DocDownloadLinkRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?int
-
-
$client->doc->manifest($docId, $layerName, $request) -> ?DocManifest200Response
-
-
-
$client->doc->manifest( 'docId', 'layerName', new ManifestDocRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> string
-
-
-
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', new RenderDocRequest([]), );
-
-
-
$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:
?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, $request) -> ?DocText200Response
-
-
-
$client->doc->text( 'docId', 'layerName', 'pageKey', new TextDocRequest([]), );
-
-
-
$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:
?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( new SharesExchangeRequest([ 'shareToken' => 'shareToken', ]), );
-
-
-
$shareToken:
string
-
$password:
?string
-
$visitorHandle:
?string
-
$restart:
?bool
-
$visitorIdentity:
?SharesExchangeRequestVisitorIdentity
-
-
$client->shares->list($tenantId, $request) -> ?SharesList200Response
-
-
-
$client->shares->list( 'tenantId', new ListSharesRequest([]), );
-
-
-
$tenantId:
string
-
$limit:
?int
-
$cursor:
?string
-
$docId:
?string
-
$archived:
?bool
-
-
$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', new SharesCreateRequest([ 'docId' => 'docId', 'scope' => [ 'scope', ], ]), );
-
-
-
$tenantId:
string
-
$docId:
string
-
$layerMode:
?string
-
$layerName:
?string
-
$keepVisitorLayers:
?bool
-
$visitorIdleSeconds:
?int
-
$visitorIdentity:
?SharesCreateRequestVisitorIdentity
-
$scope:
array
-
$origins:
?array
-
$password:
?string
-
$sessionTtlSeconds:
?int
-
$expiresAt:
?int
-
-
$client->shares->get($tenantId, $shareId) -> ?SharesGet200Response
-
-
-
$client->shares->get( 'tenantId', 'shareId', );
-
-
-
$tenantId:
string
-
$shareId:
string
-
-
$client->shares->delete($tenantId, $shareId)
-
-
-
$client->shares->delete( 'tenantId', 'shareId', );
-
-
-
$tenantId:
string
-
$shareId:
string
-
-
$client->shares->update($tenantId, $shareId, $request) -> ?SharesUpdate200Response
-
-
-
$client->shares->update( 'tenantId', 'shareId', new SharesUpdateRequest([]), );
-
-
-
$tenantId:
string
-
$shareId:
string
-
$layerMode:
?string
-
$layerName:
?string
-
$keepVisitorLayers:
?bool
-
$visitorIdleSeconds:
?int
-
$visitorIdentity:
?SharesUpdateRequestVisitorIdentity
-
$scope:
?array
-
$origins:
?array
-
$password:
?string
-
$sessionTtlSeconds:
?int
-
$disabled:
?bool
-
$expiresAt:
?int
-
-
$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', );
-
-
-
$tenantId:
string
-
$shareId:
string
-
-
$client->tenants->list($request) -> ?TenantsList200Response
-
-
-
$client->tenants->list( new ListTenantsRequest([]), );
-
-
-
$limit:
?int
-
$cursor:
?string
-
-
$client->tenants->create($request) -> ?TenantsCreate200Response
-
-
-
$client->tenants->create( new TenantsCreateRequest([ 'id' => 'id', ]), );
-
-
-
$id:
string
-
$name:
?string
-
-
$client->tenants->get($tenantId) -> ?TenantsGet200Response
-
-
-
$client->tenants->get( 'tenantId', );
-
-
-
$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', );
-
-
-
$tenantId:
string
-
-
$client->tenants->resume($tenantId)
-
-
-
$client->tenants->resume( 'tenantId', );
-
-
-
$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', new TenantsSuspendRequest([]), );
-
-
-
$tenantId:
string
-
$reason:
?string
-
-
$client->tenants->usage($tenantId, $request) -> ?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', new UsageTenantsRequest([]), );
-
-
-
$tenantId:
string
-
$period:
?string
-
-
$client->documents->list($tenantId, $request) -> ?DocumentsList200Response
-
-
-
$client->documents->list( 'tenantId', new ListDocumentsRequest([]), );
-
-
-
$tenantId:
string
-
$limit:
?int
-
$cursor:
?string
-
$state:
?string
-
-
$client->documents->get($tenantId, $id) -> ?DocumentsGet200Response
-
-
-
$client->documents->get( 'tenantId', 'id', );
-
-
-
$tenantId:
string
-
$id:
string
-
-
$client->documents->delete($tenantId, $id)
-
-
-
$client->documents->delete( 'tenantId', 'id', );
-
-
-
$tenantId:
string
-
$id:
string
-
-
$client->documents->commit($tenantId, $id, $request) -> ?DocumentsCommit200Response
-
-
-
$client->documents->commit( 'tenantId', 'id', new DocumentsCommitRequest([ 'sha256' => 'sha256', ]), );
-
-
-
$tenantId:
string
-
$id:
string
-
$sha256:
string
-
-
$client->documents->download($tenantId, $id) -> string
-
-
-
$client->documents->download( 'tenantId', 'id', );
-
-
-
$tenantId:
string
-
$id:
string
-
-
$client->documents->thumbnail($tenantId, $id) -> string
-
-
-
$client->documents->thumbnail( 'tenantId', 'id', );
-
-
-
$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', new UploadProxyDocumentsRequest([ 'file' => File::createFromString("example_file", "example_file"), ]), );
-
-
-
$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', new DocumentsImportFromRequest([ 'source' => DocumentsImportFromRequestSource::url(new DocumentsImportFromRequestSourceUrl([ 'url' => 'url', ])), ]), );
-
-
-
$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:
?DocumentsImportFromRequestExpectedβ Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
-
$metadata:
?array
-
$idempotencyKey:
?stringβ Retrying with the same key resumes the same document rather than importing a second copy β including after a 502.
-
$dedupMode:
?stringβ 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:
?string
-
$mode:
?stringβ 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', new DocumentsInitRequest([ 'contentLength' => 1.1, 'contentSha256' => 'contentSha256', ]), );
-
-
-
$tenantId:
string
-
$contentLength:
float
-
$contentSha256:
string
-
$metadata:
?array
-
$idempotencyKey:
?string
-
$dedupMode:
?stringβ 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:
?string
-
$uploadTtlSec:
?float
-
$uploadPreference:
?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', new IssueTokensRequest([ 'body' => TokensIssueRequest::doc(new TokensIssueRequestDoc([ 'sub' => 'sub', 'docId' => 'docId', 'scope' => [ 'scope', ], 'expiresIn' => 1, ])), ]), );
-
-
-
$tenantId:
string
-
$request:
TokensIssueRequest
-
-
$client->tokens->revoke($tenantId, $jti, $request)
-
-
-
Mounted only when the deployment enables token revocation.
-
-
-
$client->tokens->revoke( 'tenantId', 'jti', new TokensRevokeRequest([]), );
-
-
-
$tenantId:
string
-
$jti:
string
-
$reason:
?string
-
$expiresAtSeconds:
?int
-
-
$client->doc->annotations->listAll($docId, $layerName, $request) -> ?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', new ListAllAnnotationsRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?AnnotationList
-
-
-
$client->doc->annotations->list( 'docId', 'layerName', 'pageKey', new ListAnnotationsRequest([]), );
-
-
-
$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:
?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', new CreateAnnotationsRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$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:
?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:
?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:
array
-
-
$client->doc->annotations->delete($docId, $layerName, $pageKey, $annotKey, $request) -> ?DocAnnotationsDelete200Response
-
-
-
$client->doc->annotations->delete( 'docId', 'layerName', 'pageKey', 'annotKey', new DeleteAnnotationsRequest([]), );
-
-
-
$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:
?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:
?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', new UpdateAnnotationsRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$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:
?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:
?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:
array
-
-
$client->doc->annotations->readAppearance($docId, $layerName, $pageKey, $annotKey, $request) -> string
-
-
-
$client->doc->annotations->readAppearance( 'docId', 'layerName', 'pageKey', 'annotKey', new ReadAppearanceAnnotationsRequest([]), );
-
-
-
$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:
?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, $request) -> string
-
-
-
A file that decodes past the server's limit is refused (PayloadTooLarge).
-
-
-
$client->doc->annotations->readFile( 'docId', 'layerName', 'pageKey', 'annotKey', new ReadFileAnnotationsRequest([]), );
-
-
-
$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:
?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) -> string
-
-
-
$client->doc->annotations->exportAppearance( 'docId', 'layerName', 'pageKey', new ExportAppearanceAnnotationsRequest([ 'body' => [ 'string' => [ 'key' => "value", ], ], ]), );
-
-
-
$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:
?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:
array
-
-
$client->doc->annotations->flatten($docId, $layerName, $pageKey, $request) -> ?DocAnnotationsFlatten200Response
-
-
-
$client->doc->annotations->flatten( 'docId', 'layerName', 'pageKey', new FlattenAnnotationsRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$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:
?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:
?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:
array
-
-
$client->doc->annotations->reorder($docId, $layerName, $pageKey, $request) -> ?DocAnnotationsReorder200Response
-
-
-
$client->doc->annotations->reorder( 'docId', 'layerName', 'pageKey', new DocAnnotationsReorderRequest([ 'refs' => [ AnnotationRef::objectNumber(new AnnotationRefObjectNumber([ 'page' => new PageRef([ 'kind' => PageRefKind::ObjectNumber->value, 'objectNumber' => 1, ]), 'objectNumber' => 1, ])), ], 'position' => AnnotationPositionZero::Start->value, ]), );
-
-
-
$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:
?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:
?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:
array
-
$position:
string|AnnotationPositionAfter
-
-
$client->doc->attachments->download($docId, $layerName, $fileKey, $request) -> string
-
-
-
A file that decodes past the server's limit is refused (PayloadTooLarge).
-
-
-
$client->doc->attachments->download( 'docId', 'layerName', 'fileKey', new DownloadAttachmentsRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$fileKey:
stringβ The embedded file's name-tree key (itsref.key), token-text encoded, asfieldKeyis.
-
$documentPassword:
?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, $request) -> ?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', new ListAttachmentsRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?DocFormsList200Response
-
-
-
$client->doc->forms->list( 'docId', 'layerName', new ListFormsRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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', new DocFormsReorderCalculationsRequest([ 'fields' => [ FormFieldRef::objectNumber(new FormFieldRefObjectNumber([ 'objectNumber' => 1, ])), ], 'position' => FieldPositionZero::Start->value, ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
array
-
$position:
string|FieldPositionAfter
-
-
$client->doc->forms->setValue($docId, $layerName, $fieldKey, $request) -> ?DocFormsSetValue200Response
-
-
-
$client->doc->forms->setValue( 'docId', 'layerName', 'fieldKey', new SetValueFormsRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$fieldKey:
string
-
$documentPassword:
?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:
?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:
array
-
-
$client->doc->forms->reset($docId, $layerName, $request) -> ?DocFormsReset200Response
-
-
-
$client->doc->forms->reset( 'docId', 'layerName', new DocFormsResetRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
?array
-
-
$client->doc->forms->deleteWidget($docId, $layerName, $pageKey, $annotKey, $request) -> ?DocFormsDeleteWidget200Response
-
-
-
$client->doc->forms->deleteWidget( 'docId', 'layerName', 'pageKey', 'annotKey', new DeleteWidgetFormsRequest([]), );
-
-
-
$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:
?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:
?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', new DocFormsUpdateWidgetRequest([ 'patch' => new WidgetPatch([]), ]), );
-
-
-
$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:
?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:
?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', new DocFormsReorderWidgetsRequest([ 'widgets' => [ AnnotationRef::objectNumber(new AnnotationRefObjectNumber([ 'page' => new PageRef([ 'kind' => PageRefKind::ObjectNumber->value, 'objectNumber' => 1, ]), 'objectNumber' => 1, ])), ], 'position' => AnnotationPositionZero::Start->value, ]), );
-
-
-
$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:
?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:
?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:
array
-
$position:
string|AnnotationPositionAfter
-
-
$client->doc->metadata->get($docId, $layerName, $request) -> ?DocumentMetadata
-
-
-
$client->doc->metadata->get( 'docId', 'layerName', new GetMetadataRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?DocumentOutline
-
-
-
$client->doc->outline->get( 'docId', 'layerName', new GetOutlineRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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', new DocPagesSetScaleRequest([]), );
-
-
-
$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:
?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:
?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:
?DocPagesSetScaleRequestMeasure
-
-
$client->doc->pages->viewports($docId, $layerName, $pageKey, $request) -> ?DocPagesViewports200Response
-
-
-
$client->doc->pages->viewports( 'docId', 'layerName', 'pageKey', new ViewportsPagesRequest([]), );
-
-
-
$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:
?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) -> string
-
-
-
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', new ExtractPagesRequest([ 'body' => [ 'string' => [ 'key' => "value", ], ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
array
-
-
$client->doc->pages->flatten($docId, $layerName, $request) -> ?DocPagesFlatten200Response
-
-
-
$client->doc->pages->flatten( 'docId', 'layerName', new FlattenPagesRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
array
-
-
$client->doc->pages->setName($docId, $layerName, $request) -> ?DocPagesSetName200Response
-
-
-
$client->doc->pages->setName( 'docId', 'layerName', new SetNamePagesRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
array
-
-
$client->doc->pages->removeName($docId, $layerName, $request) -> ?DocPagesRemoveName200Response
-
-
-
$client->doc->pages->removeName( 'docId', 'layerName', new RemoveNamePagesRequest([ 'body' => [ 'key' => "value", ], ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
array
-
-
$client->doc->redactions->apply($docId, $layerName, $request) -> ?DocRedactionsApply200Response
-
-
-
$client->doc->redactions->apply( 'docId', 'layerName', new DocRedactionsApplyRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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:
?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:
?array
-
$annotations:
?array
-
-
$client->doc->signatures->list($docId, $layerName, $request) -> ?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', new ListSignaturesRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?DocSignaturesCancel200Response
-
-
-
$client->doc->signatures->cancel( 'docId', 'layerName', 'signingId', new CancelSignaturesRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$signingId:
string
-
$documentPassword:
?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. Every layer of the document then sits over the new version; refetch the manifest after a completion.
-
-
-
$client->doc->signatures->complete( 'docId', 'layerName', 'signingId', new DocSignaturesCompleteRequest([ 'cms' => 'cms', 'expectedVersion' => new DocSignaturesCompleteRequestExpectedVersion([ 'baseSha256' => 'baseSha256', 'editsVersion' => 1, ]), ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$signingId:
string
-
$documentPassword:
?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, $request) -> ?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', new AnalysisSignaturesRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$sinceSignature:
?int
-
$sinceRevision:
?int
-
$level:
?string
-
$documentPassword:
?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). A layer behind the document head cannot sign (StaleBase).
-
-
-
$client->doc->signatures->prepare( 'docId', 'layerName', new PrepareSignaturesRequest([ 'file' => File::createFromString("example_file", "example_file"), ]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?DocVersionsList200Response
-
-
-
Every completed signature publishes a new version. Never cached: the list grows.
-
-
-
$client->doc->versions->list( 'docId', new ListVersionsRequest([]), );
-
-
-
$docId:
string
-
$documentPassword:
?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, $sha, $request) -> ?DocVersionsAnalysis200Response
-
-
-
Exactly one of
since.signature/since.revision;until=<revision>defaults to the last. The same answer for every layer and every caller.
-
-
-
$client->doc->versions->analysis( 'docId', 'sha', new AnalysisVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$sinceSignature:
?int
-
$sinceRevision:
?int
-
$level:
?string
-
$until:
?int
-
$policy:
?int
-
$documentPassword:
?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, $sha, $request) -> string
-
-
-
$client->doc->versions->download( 'docId', 'sha', new DownloadVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$documentPassword:
?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, $sha, $index, $request) -> string
-
-
-
$client->doc->versions->revision( 'docId', 'sha', 1, new RevisionVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$index:
int
-
$documentPassword:
?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, $sha, $request) -> ?DocVersionsSignatures200Response
-
-
-
$client->doc->versions->signatures( 'docId', 'sha', new SignaturesVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$documentPassword:
?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, $sha, $fieldKey, $request) -> string
-
-
-
fieldKeyis the field's fully qualified name, token-text encoded (the same encoding attachment keys use).
-
-
-
$client->doc->versions->signatureContents( 'docId', 'sha', 'fieldKey', new SignatureContentsVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$fieldKey:
string
-
$documentPassword:
?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, $sha, $fieldKey, $algorithm, $request) -> string
-
-
-
What a CMS verifier compares its message digest to.
-
-
-
$client->doc->versions->signatureDigest( 'docId', 'sha', 'fieldKey', SignatureDigestVersionsRequestAlgorithm::Sha1->value, new SignatureDigestVersionsRequest([]), );
-
-
-
$docId:
string
-
$sha:
string
-
$fieldKey:
string
-
$algorithm:
string
-
$documentPassword:
?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, $request) -> ?array
-
-
-
$client->doc->metadata->custom->get( 'docId', 'layerName', new GetCustomRequest([]), );
-
-
-
$docId:
string
-
$layerName:
string
-
$documentPassword:
?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, $request) -> ?DocumentsLayersList200Response
-
-
-
$client->documents->layers->list( 'tenantId', 'id', new ListLayersRequest([]), );
-
-
-
$tenantId:
string
-
$id:
string
-
$limit:
?int
-
$cursor:
?string
-
$shareId:
?string
-
-
$client->documents->layers->delete($tenantId, $id, $layerName)
-
-
-
$client->documents->layers->delete( 'tenantId', 'id', 'layerName', );
-
-
-
$tenantId:
string
-
$id:
string
-
$layerName:
string
-
-
$client->shares->visitors->list($tenantId, $shareId, $request) -> ?SharesVisitorsList200Response
-
-
-
An archived link's visitors are listed too.
-
-
-
$client->shares->visitors->list( 'tenantId', 'shareId', new ListVisitorsRequest([]), );
-
-
-
$tenantId:
string
-
$shareId:
string
-
$limit:
?int
-
$cursor:
?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', );
-
-
-
$tenantId:
string
-
$shareId:
string
-
$visitorId:
string
-
-