client.deployment.license_status() -> CloudPDF::Types::DeploymentLicenseStatusResponse
-
-
-
client.deployment.license_status
-
-
-
request_options:
CloudPDF::Deployment::RequestOptions
-
-
client.doc.head(doc_id:) -> CloudPDF::Types::DocHead200Response
-
-
-
client.doc.head(doc_id: "docId")
-
-
-
doc_id:
String
-
document_password:
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_options:
CloudPDF::Doc::RequestOptions
-
-
client.doc.download(doc_id:, layer_name:) -> String
-
-
-
client.doc.download( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::RequestOptions
-
-
client.doc.manifest(doc_id:, layer_name:) -> CloudPDF::Types::DocManifest200Response
-
-
-
client.doc.manifest( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::RequestOptions
-
-
client.doc.render(doc_id:, layer_name:, pon:) -> 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( doc_id: "docId", layer_name: "layerName", pon: 1 )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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_options:
CloudPDF::Doc::RequestOptions
-
-
client.doc.text(doc_id:, layer_name:, pon:) -> CloudPDF::Types::DocText200Response
-
-
-
client.doc.text( doc_id: "docId", layer_name: "layerName", pon: 1 )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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_options:
CloudPDF::Doc::RequestOptions
-
-
client.shares.exchange(request) -> CloudPDF::Types::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. Mounted only when the deployment can sign (HS256 mode).
-
-
-
client.shares.exchange(share_token: "shareToken")
-
-
-
share_token:
String
-
password:
String
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.shares.list(tenant_id:) -> CloudPDF::Types::SharesList200Response
-
-
-
client.shares.list(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
limit:
Integer
-
cursor:
String
-
doc_id:
String
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.shares.create(tenant_id:, request) -> CloudPDF::Types::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( tenant_id: "tenantId", doc_id: "docId", scope: ["scope"] )
-
-
-
tenant_id:
String
-
doc_id:
String
-
layer_name:
String
-
scope:
Internal::Types::Array[String]
-
origins:
Internal::Types::Array[String]
-
password:
String
-
session_ttl_seconds:
Integer
-
expires_at:
Integer
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.shares.get(tenant_id:, share_id:) -> CloudPDF::Types::SharesGet200Response
-
-
-
client.shares.get( tenant_id: "tenantId", share_id: "shareId" )
-
-
-
tenant_id:
String
-
share_id:
String
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.shares.delete(tenant_id:, share_id:) ->
-
-
-
client.shares.delete( tenant_id: "tenantId", share_id: "shareId" )
-
-
-
tenant_id:
String
-
share_id:
String
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.shares.update(tenant_id:, share_id:, request) -> CloudPDF::Types::SharesUpdate200Response
-
-
-
client.shares.update( tenant_id: "tenantId", share_id: "shareId" )
-
-
-
tenant_id:
String
-
share_id:
String
-
scope:
Internal::Types::Array[String]
-
origins:
Internal::Types::Array[String]
-
password:
String
-
session_ttl_seconds:
Integer
-
disabled:
Internal::Types::Boolean
-
expires_at:
Integer
-
request_options:
CloudPDF::Shares::RequestOptions
-
-
client.tenants.list() -> CloudPDF::Types::TenantsList200Response
-
-
-
client.tenants.list
-
-
-
limit:
Integer
-
cursor:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.create(request) -> CloudPDF::Types::TenantsCreate200Response
-
-
-
client.tenants.create(id: "id")
-
-
-
id:
String
-
name:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.get(tenant_id:) -> CloudPDF::Types::TenantsGet200Response
-
-
-
client.tenants.get(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.delete(tenant_id:) ->
-
-
-
Destroys the tenant and everything in its namespace β documents, layers, stored bytes, audit history. Irreversible.
-
-
-
client.tenants.delete(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.resume(tenant_id:) ->
-
-
-
client.tenants.resume(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.suspend(tenant_id:, 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(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
reason:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.tenants.usage(tenant_id:) -> CloudPDF::Types::TenantsUsage200Response
-
-
-
Facts only β no limits or billing state. Views count share exchanges plus authorized /v1/access grants, deduplicated across the two.
-
-
-
client.tenants.usage(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
period:
String
-
request_options:
CloudPDF::Tenants::RequestOptions
-
-
client.documents.list(tenant_id:) -> CloudPDF::Types::DocumentsList200Response
-
-
-
client.documents.list(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
limit:
Integer
-
cursor:
String
-
state:
CloudPDF::Documents::Types::ListDocumentsRequestState
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.get(tenant_id:, id:) -> CloudPDF::Types::DocumentsGet200Response
-
-
-
client.documents.get( tenant_id: "tenantId", id: "id" )
-
-
-
tenant_id:
String
-
id:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.delete(tenant_id:, id:) ->
-
-
-
client.documents.delete( tenant_id: "tenantId", id: "id" )
-
-
-
tenant_id:
String
-
id:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.commit(tenant_id:, id:, request) -> CloudPDF::Types::DocumentsCommit200Response
-
-
-
client.documents.commit( tenant_id: "tenantId", id: "id", sha256: "sha256" )
-
-
-
tenant_id:
String
-
id:
String
-
sha256:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.download(tenant_id:, id:) -> String
-
-
-
client.documents.download( tenant_id: "tenantId", id: "id" )
-
-
-
tenant_id:
String
-
id:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.thumbnail(tenant_id:, id:) -> String
-
-
-
client.documents.thumbnail( tenant_id: "tenantId", id: "id" )
-
-
-
tenant_id:
String
-
id:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.upload_proxy(tenant_id:, id:, request) -> CloudPDF::Types::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.
-
-
-
File.open("document.pdf", "rb") do |file| client.documents.upload_proxy( tenant_id: "tenantId", id: "id", file: file ) end
-
-
-
tenant_id:
String
-
id:
String
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.import_from(tenant_id:, request) -> CloudPDF::Types::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.import_from(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
source:
CloudPDF::Documents::Types::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:
CloudPDF::Documents::Types::DocumentsImportFromRequestExpectedβ Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
-
metadata:
Internal::Types::Hash[String, Object]
-
idempotency_key:
Stringβ Retrying with the same key resumes the same document rather than importing a second copy β including after a 502.
-
dedup_mode:
CloudPDF::Documents::Types::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.
-
doc_id:
String
-
mode:
CloudPDF::Documents::Types::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.
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.documents.init(tenant_id:, request) -> CloudPDF::Types::DocumentsInit200Response
-
-
-
client.documents.init( tenant_id: "tenantId", content_length: 1.1, content_sha256: "contentSha256" )
-
-
-
tenant_id:
String
-
content_length:
Integer
-
content_sha256:
String
-
metadata:
Internal::Types::Hash[String, Object]
-
idempotency_key:
String
-
dedup_mode:
CloudPDF::Documents::Types::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.
-
doc_id:
String
-
upload_ttl_sec:
Integer
-
upload_preference:
CloudPDF::Documents::Types::DocumentsInitRequestUploadPreference
-
request_options:
CloudPDF::Documents::RequestOptions
-
-
client.tokens.issue(tenant_id:, request) -> CloudPDF::Types::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(tenant_id: "tenantId")
-
-
-
tenant_id:
String
-
request:
CloudPDF::Types::TokensIssueRequest
-
request_options:
CloudPDF::Tokens::RequestOptions
-
-
client.tokens.revoke(tenant_id:, jti:, request) ->
-
-
-
Mounted only when the deployment enables token revocation.
-
-
-
client.tokens.revoke( tenant_id: "tenantId", jti: "jti" )
-
-
-
tenant_id:
String
-
jti:
String
-
reason:
String
-
expires_at_seconds:
Integer
-
request_options:
CloudPDF::Tokens::RequestOptions
-
-
client.doc.annotations.list_all(doc_id:, layer_name:) -> CloudPDF::Types::DocAnnotationsListAll200Response
-
-
-
Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is unspecified; join by
pageState.pageObjectNumberwhen display order matters.
-
-
-
client.doc.annotations.list_all( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.list(doc_id:, layer_name:, pon:) -> CloudPDF::Types::DocAnnotationsList200Response
-
-
-
client.doc.annotations.list( doc_id: "docId", layer_name: "layerName", pon: 1 )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.create(doc_id:, layer_name:, pon:, request) -> CloudPDF::Types::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( doc_id: "docId", layer_name: "layerName", pon: 1, request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.delete(doc_id:, layer_name:, pon:, annot_key:) -> CloudPDF::Types::DocAnnotationsDelete200Response
-
-
-
client.doc.annotations.delete( doc_id: "docId", layer_name: "layerName", pon: 1, annot_key: "annotKey" )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
annot_key:
String
-
document_password:
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_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.update(doc_id:, layer_name:, pon:, annot_key:, request) -> CloudPDF::Types::DocAnnotationsUpdate200Response
-
-
-
client.doc.annotations.update( doc_id: "docId", layer_name: "layerName", pon: 1, annot_key: "annotKey", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
annot_key:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.export_appearance(doc_id:, layer_name:, pon:, request) -> String
-
-
-
client.doc.annotations.export_appearance( doc_id: "docId", layer_name: "layerName", pon: 1, request: { string: { key: "value" } } )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.annotations.flatten(doc_id:, layer_name:, pon:, request) -> CloudPDF::Types::DocAnnotationsFlatten200Response
-
-
-
client.doc.annotations.flatten( doc_id: "docId", layer_name: "layerName", pon: 1, request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
pon:
Integer
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Annotations::RequestOptions
-
-
client.doc.forms.get(doc_id:, layer_name:) -> CloudPDF::Types::DocFormsGet200Response
-
-
-
client.doc.forms.get( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Forms::RequestOptions
-
-
client.doc.forms.export_data(doc_id:, layer_name:) -> String
-
-
-
client.doc.forms.export_data( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
format:
CloudPDF::Doc::Forms::Types::ExportDataFormsRequestFormat
-
document_password:
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_options:
CloudPDF::Doc::Forms::RequestOptions
-
-
client.doc.forms.import_data(doc_id:, layer_name:, request) -> CloudPDF::Types::DocFormsImportData200Response
-
-
-
client.doc.forms.import_data( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Forms::RequestOptions
-
-
client.doc.forms.reset(doc_id:, layer_name:, field_key:) -> CloudPDF::Types::DocFormsReset200Response
-
-
-
client.doc.forms.reset( doc_id: "docId", layer_name: "layerName", field_key: "fieldKey" )
-
-
-
doc_id:
String
-
layer_name:
String
-
field_key:
String
-
document_password:
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_options:
CloudPDF::Doc::Forms::RequestOptions
-
-
client.doc.forms.set_value(doc_id:, layer_name:, field_key:, request) -> CloudPDF::Types::DocFormsSetValue200Response
-
-
-
client.doc.forms.set_value( doc_id: "docId", layer_name: "layerName", field_key: "fieldKey", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
field_key:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Forms::RequestOptions
-
-
client.doc.metadata.get(doc_id:, layer_name:) -> CloudPDF::Types::DocMetadataGet200Response
-
-
-
client.doc.metadata.get( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Metadata::RequestOptions
-
-
client.doc.pages.delete(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesDelete200Response
-
-
-
client.doc.pages.delete( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.extract(doc_id:, layer_name:, request) -> String
-
-
-
A read, not a mutation: the source document is untouched and no event is published. Body is
{"pageObjectNumbers": number[]}; the response body is the new PDF.
-
-
-
client.doc.pages.extract( doc_id: "docId", layer_name: "layerName", request: { string: { key: "value" } } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.flatten(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesFlatten200Response
-
-
-
client.doc.pages.flatten( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.insert(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesInsert200Response
-
-
-
Multipart mutation envelope: a
bodyfield holding{"destIndex"?: number}(omitted β append) plus aresource:sourcefile part carrying the standalone PDF whose pages are copied in. The inserted copies get fresh page object numbers, returned in insertion order.
-
-
-
client.doc.pages.insert( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.insert_blank(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesInsertBlank200Response
-
-
-
Body is
{"size": {"width", "height"}, "count"?, "destIndex"?}β size in PDF points, count in [1, 100], destIndex omitted β append.
-
-
-
client.doc.pages.insert_blank( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.move(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesMove200Response
-
-
-
client.doc.pages.move( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.set_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesSetName200Response
-
-
-
client.doc.pages.set_name( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.remove_name(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRemoveName200Response
-
-
-
client.doc.pages.remove_name( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.pages.rotate(doc_id:, layer_name:, request) -> CloudPDF::Types::DocPagesRotate200Response
-
-
-
client.doc.pages.rotate( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Pages::RequestOptions
-
-
client.doc.redactions.apply(doc_id:, layer_name:, request) -> CloudPDF::Types::DocRedactionsApply200Response
-
-
-
client.doc.redactions.apply( doc_id: "docId", layer_name: "layerName", request: { key: "value" } )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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:
Internal::Types::Hash[String, Object]
-
request_options:
CloudPDF::Doc::Redactions::RequestOptions
-
-
client.doc.signatures.list(doc_id:, layer_name:) -> CloudPDF::Types::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( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Signatures::RequestOptions
-
-
client.doc.signatures.abort(doc_id:, layer_name:, signing_id:) -> CloudPDF::Types::DocSignaturesAbort200Response
-
-
-
client.doc.signatures.abort( doc_id: "docId", layer_name: "layerName", signing_id: "signingId" )
-
-
-
doc_id:
String
-
layer_name:
String
-
signing_id:
String
-
document_password:
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_options:
CloudPDF::Doc::Signatures::RequestOptions
-
-
client.doc.signatures.complete(doc_id:, layer_name:, signing_id:, request) -> CloudPDF::Types::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( doc_id: "docId", layer_name: "layerName", signing_id: "signingId", cms: "cms", expected_version: { base_sha256: "baseSha256", edits_version: 1 } )
-
-
-
doc_id:
String
-
layer_name:
String
-
signing_id:
String
-
document_password:
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
-
expected_version:
CloudPDF::Doc::Signatures::Types::DocSignaturesCompleteRequestExpectedVersion
-
request_options:
CloudPDF::Doc::Signatures::RequestOptions
-
-
client.doc.signatures.analysis(doc_id:, layer_name:) -> CloudPDF::Types::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( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
since_signature:
Integer
-
since_revision:
Integer
-
level:
CloudPDF::Doc::Signatures::Types::AnalysisSignaturesRequestLevel
-
document_password:
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_options:
CloudPDF::Doc::Signatures::RequestOptions
-
-
client.doc.signatures.prepare(doc_id:, layer_name:, request) -> CloudPDF::Types::DocSignaturesPrepare200Response
-
-
-
The multipart envelope: a JSON
bodypart (field, subFilter, digest, contentsSize, signer, certify, lock, appearance) and an optionalresource:<key>PDF part the body'sappearance.resourcenames. A certification (certify.permission) additionally requiresdoc.sign.certify. The layer is read-only until the signing completes, is aborted, or expires (15 minutes). A layer behind the document head cannot sign (StaleBase).
-
-
-
client.doc.signatures.prepare( doc_id: "docId", layer_name: "layerName" )
-
-
-
doc_id:
String
-
layer_name:
String
-
document_password:
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_options:
CloudPDF::Doc::Signatures::RequestOptions
-
-
client.doc.versions.list(doc_id:) -> CloudPDF::Types::DocVersionsList200Response
-
-
-
Every completed signature publishes a new version. Never cached: the list grows.
-
-
-
client.doc.versions.list(doc_id: "docId")
-
-
-
doc_id:
String
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.analysis(doc_id:, sha:) -> CloudPDF::Types::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( doc_id: "docId", sha: "sha" )
-
-
-
doc_id:
String
-
sha:
String
-
since_signature:
Integer
-
since_revision:
Integer
-
level:
CloudPDF::Doc::Versions::Types::AnalysisVersionsRequestLevel
-
until_:
Integer
-
policy:
Integer
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.download(doc_id:, sha:) -> String
-
-
-
client.doc.versions.download( doc_id: "docId", sha: "sha" )
-
-
-
doc_id:
String
-
sha:
String
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.revision(doc_id:, sha:, index:) -> String
-
-
-
client.doc.versions.revision( doc_id: "docId", sha: "sha", index: 1 )
-
-
-
doc_id:
String
-
sha:
String
-
index:
Integer
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.signatures(doc_id:, sha:) -> CloudPDF::Types::DocVersionsSignatures200Response
-
-
-
client.doc.versions.signatures( doc_id: "docId", sha: "sha" )
-
-
-
doc_id:
String
-
sha:
String
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.signature_contents(doc_id:, sha:, field_key:) -> String
-
-
-
fieldKeyis the field's fully qualified name, token-text encoded (the same encoding attachment keys use).
-
-
-
client.doc.versions.signature_contents( doc_id: "docId", sha: "sha", field_key: "fieldKey" )
-
-
-
doc_id:
String
-
sha:
String
-
field_key:
String
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-
client.doc.versions.signature_digest(doc_id:, sha:, field_key:, algorithm:) -> String
-
-
-
What a CMS verifier compares its message digest to.
-
-
-
client.doc.versions.signature_digest( doc_id: "docId", sha: "sha", field_key: "fieldKey", algorithm: "sha1" )
-
-
-
doc_id:
String
-
sha:
String
-
field_key:
String
-
algorithm:
CloudPDF::Doc::Versions::Types::SignatureDigestVersionsRequestAlgorithm
-
document_password:
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_options:
CloudPDF::Doc::Versions::RequestOptions
-
-