GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docspring-python/docs/CombinedPdf.md at main · DocSpring/docspring-python

Expand file tree

/

CombinedPdf.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
43 lines (34 loc) · 3.05 KB
/

CombinedPdf.md

Copy path

File metadata and controls

43 lines (34 loc) · 3.05 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

CombinedPdf

A PDF made by merging other PDFs: submissions, other combined PDFs, templates, custom files and PDFs from URLs.

Properties

Name Type Description Notes
id str The combined PDF's ID.
state CombinedPdfState pending until the PDF has been generated, then processed. insufficient_credits: waiting for credits; error_message says whether the PDF is generated once you add them. account_suspended: waiting for the account to be reactivated, for up to 30 days. error: the PDFs couldn't be merged (see error_message). Waiting ends in error if it's discarded or takes over 30 days.
source_pdfs List[CombinedPdfSource] The PDFs to merge, in order.
metadata Dict[str, object] Your own data about the combined PDF, such as an ID from your app. Its pdf_filename key names the PDF's file (files.pdf.filename, and its download): a .pdf ending is removed, each run of characters other than letters, digits, -, _ and . becomes one _, and the first 128 characters are kept, then .pdf is added. Without it, the file is named after the combined PDF's ID (com_1234567890abcdef01.pdf).
has_password bool Whether the PDF needs a password to open (password).
delete_custom_files bool Delete the custom files in source_pdfs once the combined PDF has been generated (they're kept if it fails). Other combined PDFs can't use them after that. A test API token can't delete custom files.
error_message str Why the PDFs couldn't be merged, when state is error.
files CombinedPdfFiles The generated files, by format. Empty until the PDF has been generated, and once it has expired.
actions List[SubmissionAction] The uploads of the PDF to your storage (account integrations).
expired bool An expired combined PDF's PDF, metadata, password and source URLs have been deleted.
expires_at datetime When the combined PDF expires (expires_in after it's generated). Null if it's kept until you delete it.
processed_at datetime When the PDF was generated. Null until then.
created_at datetime When the combined PDF was created.
updated_at datetime When the combined PDF was last updated.

Example

from docspring.models.combined_pdf import CombinedPdf

# TODO update the JSON string below
json = "{}"
# create an instance of CombinedPdf from a JSON string
combined_pdf_instance = CombinedPdf.from_json(json)
# print the JSON string representation of the object
print(CombinedPdf.to_json())

# convert the object into a dict
combined_pdf_dict = combined_pdf_instance.to_dict()
# create an instance of CombinedPdf from a dict
combined_pdf_from_dict = CombinedPdf.from_dict(combined_pdf_dict)

[Back to Model list] [Back to API list] [Back to README]

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.