Initial commit
This commit is contained in:
commit
9514ce5444
63
way.json
Normal file
63
way.json
Normal file
@ -0,0 +1,63 @@
|
||||
{
|
||||
"name": "Way",
|
||||
"schema": "1.0",
|
||||
"link": "https://www.workourway.com",
|
||||
"requiredSettings": {
|
||||
"authFields": [
|
||||
{
|
||||
"key": "organisation_name",
|
||||
"label": "Way domain"
|
||||
},
|
||||
{
|
||||
"key": "api_token",
|
||||
"label": "Way API token"
|
||||
}
|
||||
]
|
||||
},
|
||||
"auth_components": {
|
||||
"type": "none"
|
||||
},
|
||||
"auth_request": {
|
||||
"type": "custom_headers",
|
||||
"headers": {
|
||||
"Authorization": "Token {{authFields.api_token}}"
|
||||
}
|
||||
},
|
||||
"testConnection": {
|
||||
"endpoint": "/processes/",
|
||||
"method": "GET"
|
||||
},
|
||||
"endpoints": {
|
||||
"GET": {
|
||||
"/processes": {
|
||||
"url": "https://{{authFields.organisation_name}}.workourway.com/api/"
|
||||
}
|
||||
},
|
||||
"POST": {
|
||||
"/runs/": {
|
||||
"url": "https://{{authFields.organisation_name}}.workourway.com/api/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"actions": [
|
||||
{
|
||||
"modelId": "run",
|
||||
"actionId": "create",
|
||||
"endpoint": "/runs/",
|
||||
"method": "POST",
|
||||
"helpText": "Create a run for a process.",
|
||||
"label": "Run process",
|
||||
"queryParameters": "mode=afap",
|
||||
"actionFields": [
|
||||
{
|
||||
"key": "process",
|
||||
"type": "integer",
|
||||
"required": true,
|
||||
"label": "Process ID",
|
||||
"description": "ID of the process to create a run for",
|
||||
"helpText": "Example: 64"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user