Documents
API reference for document operations
Add Document
Add a new document to Skribble.
skribble.document.add(document_data: DocumentRequest) -> DocumentResponse
Show DocumentRequest properties
Show DocumentRequest properties
Show DocumentResponse properties
Show DocumentResponse properties
ID of the Document object
ID of the previous version of the Document object
Given title of the document
Content type of the document (always application/pdf)
Size in bytes of the document
Number of pages of the document
Width of the document in pixel
Height of the document in pixel
PDF AcroForm signature fields found in the document
Array of users with read access
Array of users with write access
Timestamp at which the document was created
Timestamp at which the document was last updated
Get Document
Retrieve document metadata by ID.
skribble.document.get(document_id: str) -> DocumentResponse
Show DocumentResponse properties
Show DocumentResponse properties
ID of the Document object
ID of the previous version of the Document object
Given title of the document
Content type of the document (always application/pdf)
Size in bytes of the document
Number of pages of the document
Width of the document in pixel
Height of the document in pixel
PDF AcroForm signature fields found in the document
Array of users with read access
Array of users with write access
Timestamp at which the document was created
Timestamp at which the document was last updated
Download Document
Download document content by ID.
skribble.document.download(document_id: str, content_type: str = "blob") -> Union[bytes, str]
Preview Document
Get a preview image of a document page.
skribble.document.preview(document_id: str, page_id: int, scale: int = 20, max_retries: int = 10, retry_delay: int = 2) -> bytes
List Documents
List all documents with optional pagination.
skribble.document.list(limit: int = None) -> List[DocumentResponse]
Show DocumentResponse properties
Show DocumentResponse properties
ID of the Document object
ID of the previous version of the Document object
Given title of the document
Content type of the document (always application/pdf)
Size in bytes of the document
Number of pages of the document
Width of the document in pixel
Height of the document in pixel
PDF AcroForm signature fields found in the document
Array of users with read access
Array of users with write access
Timestamp at which the document was created
Timestamp at which the document was last updated
Delete Document
Delete a document by ID.
skribble.document.delete(document_id: str) -> None
Was this page helpful?