Config for godata
Jobs that use the godata adaptor may require authentication. A
"credential" for the godata 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.
{
"apiUrl": "https://www.who-godata.com/api",
"email": "test@openfn.org",
"password": "@some(!)Strongpassword"
}
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": {
"apiUrl": {
"title": "API URL",
"type": "string",
"description": "Godata API URL",
"default": "https://www.who-godata.com/api",
"format": "uri",
"minLength": 1,
"examples": [
"https://www.who-godata.com/api"
]
},
"email": {
"title": "Email",
"type": "string",
"description": "Your Godata login email",
"format": "email",
"minLength": 1,
"examples": [
"test@openfn.org"
]
},
"password": {
"title": "Password",
"type": "string",
"description": "Your Godata login password",
"writeOnly": true,
"minLength": 1,
"examples": [
"@some(!)Strongpassword"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"apiUrl",
"email",
"password"
]
}