Imports

Read the draft template in full

The template an import made, whole: source, schema, example, strings and options, for a caller who wants to edit it before saving or to create the template by hand. It holds the words of the document, so it is served only to the account that made the import, and only once the import is ready or saved.

get/v1/imports/{id}/draft

Request

  • Base URL: https://api.galleyrender.com
  • URL: https://api.galleyrender.com/v1/imports/{id}/draft
  • Auth: HTTP bearer

Path parameters

idstring required
Example:imp_4tq8m2x7k1bv

The import id returned by POST /v1/imports.

Response

The draft.

object'import_draft' required
import_idstring required
namestring
descriptionstring
sourcestring required

The template: one self-contained HTML document with Liquid expressions.

schemaobject

JSON Schema for the data it takes.

exampleunknown
stringsobject

The template's text, by language.

optionsobject
expected_pagesinteger
fontsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.