You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 969cb68
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/CombinedPdfSource.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
**type** | [**CombinedPdfSourceType**](CombinedPdfSourceType.md) | What the PDF is: a submission's PDF, another combined PDF, a template's PDF, a custom file (POST /custom_files) or a PDF to download from a URL. |
10
10
**id** | **str** | The ID of the submission, combined PDF, template or custom file. | [optional]
11
11
**url** | **str** | For a `url` source, the URL to download the PDF from. Removed once the combined PDF has expired. | [optional]
12
-
**template_version** | **str** | For a `template` source, the version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`or `draft`. Default `latest` (the draft when no version has been published). | [optional]
12
+
**template_version** | **str** | For a `template` source, the version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`(the newest published version, or the draft when none has been published) or `draft`. Default `latest`. | [optional]
13
13
**processed** | **bool** | For a `template` source: true (the default) merges the template's processed PDF, which is the PDF submissions are filled in on (decrypted, with its form fields removed). false merges the PDF as it was uploaded. | [optional]
**type** | **str** | Must be `url`. | [default to 'url']
10
10
**id** | **str** | The ID of the submission, combined PDF, template or custom file. |
11
-
**template_version** | **str** | For a `template` source, the version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`or `draft`. Default `latest` (the draft when no version has been published). | [optional]
11
+
**template_version** | **str** | For a `template` source, the version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`(the newest published version, or the draft when none has been published) or `draft`. Default `latest`. | [optional]
12
12
**processed** | **bool** | For a `template` source: true (the default) merges the template's processed PDF, which is the PDF submissions are filled in on (decrypted, with its form fields removed). false merges the PDF as it was uploaded. | [optional]
13
13
**url** | **str** | For a `url` source, the URL to download the PDF from. Removed once the combined PDF has expired. |
**metadata** | **Dict[str, object]** | Your own data about the batch, such as an ID from your app. | [optional]
10
10
**template_id** | **str** | The template for each submission that doesn't name its own `template_id`. | [optional]
11
-
**template_version** | **str** | The template version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`or `draft`. Default `latest` (the draft when no version has been published). | [optional]
11
+
**template_version** | **str** | The template version to use: a published version (`1.2.0`, or `1` for the latest 1.x.x), `latest`(the newest published version, or the draft when none has been published) or `draft`. Default `latest`. | [optional]
12
12
**test** | **bool** | The default `test` for each submission that doesn't set its own. | [optional]
13
13
**output_formats** | [**List[OutputFormat]**](OutputFormat.md) | The default `output_formats` for each submission that doesn't set its own. | [optional]
14
14
**submissions** | [**List[SubmissionInput]**](SubmissionInput.md) | Up to 50 submissions. Each one takes the properties of POST /templates/{template_id}/submissions except `signature_requests`, plus `template_id` and `template_version` when it uses a different template from the batch. |
**test** | **bool** | Test PDFs have a watermark and are free. Live PDFs use credits. Submissions made with a test API token are always test submissions. | [optional]
9
+
**test** | **bool** | Test PDFs have a watermark and are free. Live PDFs use credits. Submissions made with a test API token are always test submissions, and the demo API token's are always live. | [optional]
10
10
**editable** | **bool** | `true` keeps the PDF's text and check fields fillable, and `false` flattens every field. Left out, the template decides: its `editable_submissions` setting, or each field's own Editable option. A response shows the template's setting when the request left this out. Can't be `true` with `signature_requests`. | [optional]
11
-
**data** | **Dict[str, object]** | The values of the template's fields, by field name. Required for PDF and Word templates, unless `signature_requests` collects them (PDF templates only). | [optional]
11
+
**data** | **Dict[str, object]** | The values of the template's fields, by field name. Required for PDF templates, Word templates and page designs, unless `signature_requests` collects them (PDF templates only). | [optional]
12
12
**metadata** | **Dict[str, object]** | Your own data about the submission, such as an ID from your app. It isn't printed on the PDF. Two keys also change the PDF: `pdf_filename` names its file (`files.pdf.filename`, and its download), and `pdf_title` is its title in the PDF's document properties (and an HTML template's `<title>`, unless its HTML has one). Without `pdf_title`, the title is the template's name. In `pdf_filename`, 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 submission's ID (`sub_1234567890abcdef01.pdf`). | [optional]
13
13
**password** | **str** | A password that the PDF needs to be opened with. It's never returned; `has_password` says if it's set. Word documents and OpenDocument files can't be password-protected, so a submission with a password can't make them. | [optional]
14
14
**output_formats** | [**List[OutputFormat]**](OutputFormat.md) | What the submission makes: `pdf`, `docx` (a Word document, from a Word template), `odt` (an OpenDocument file, the format LibreOffice uses, converted from a Word template's Word document), and `png` (an image of each page of the PDF, up to 100 pages, which adds `pdf`) when you ask for it. Default `["pdf"]`, or a Word template's `output_format`. POST /submissions/{submission_id}/generate_files adds `png`, and a Word template's submission's `pdf`, `docx` or `odt`, to a processed submission. | [optional]
15
-
**expires_in** | **int** | Seconds after the PDF is generated until the submission expires, up to 10 years (315360000). Default the template's expiration setting. A submission that isn't processed, such as one with invalid data, is kept for at least 48 hours. | [optional]
15
+
**expires_in** | **int** | Seconds after the PDF is generated until the submission expires, up to 10 years (315360000). Default the template's expiration setting. A submission that isn't processed, such as one with invalid data, is kept for at least 48 hours. The demo API token's submissions expire within an hour: up to 3600, and that's their default. | [optional]
16
16
**field_overrides** | [**Dict[str, FieldOverride]**](FieldOverride.md) | Changes to field settings for this submission only, by field name, such as `{"name": {"required": false, "font_size": 9}}`. A setting that identifies the field (`id`, `name`, `type`), that only the template sets (such as `description`), or that doesn't apply to the field's type and display type (such as `check_character` on a field displayed as text) is a 422. With `signature_requests`, `editable: true` is a 422, and a `default` for a signature or initials field makes the submission `invalid_data`. | [optional]
17
17
**html** | **str** | For an HTML template, HTML to use instead of the template's. | [optional]
18
18
**css** | **str** | For an HTML template, SCSS (plain CSS works too) added after the template's styles, on the page and in its header and footer. It doesn't replace them: its rules come later, so they win over the template's rules of the same specificity. | [optional]
0 commit comments