Saltar al contenido principal
Esta página no tiene versión en español, así que te la mostramos en inglés.

Config for pdfshift

Jobs that use the pdfshift adaptor may require authentication. A "credential" for the pdfshift adaptor will follow the schema below. When using the CLI, you can set up your own state.configuration by using the sample below.

Sample Configuration​

Paste this into the configuration key of your state.json file and modify the values to run jobs locally.

{
"apiKey": "your-pdfshift-api-key"
}

Full Schema​

The full configuration schema describes each attribute of the credential and notes those that are required.

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"title": "API Version",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"placeholder": "v3",
"default": "v3",
"description": "PDFShift api version",
"minLength": 1,
"examples": [
"v3"
]
},
"apiKey": {
"title": "API Key",
"type": "string",
"description": "Your PDFShift API key",
"writeOnly": true,
"examples": [
"your-pdfshift-api-key"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"apiKey"
]
}