@itentialopensource/adapter-jira
Version:
This adapter integrates with system Jira
106 lines • 2.79 kB
JSON
{
"actions": [
{
"name": "getDynamicWebhooksForApp",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/webhook?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getDynamicWebhooksForApp-default.json"
}
]
},
{
"name": "registerDynamicWebhooks",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/webhook?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/registerDynamicWebhooks-default.json"
}
]
},
{
"name": "deleteWebhookById",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/webhook?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getFailedWebhooks",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/webhook/failed?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getFailedWebhooks-default.json"
}
]
},
{
"name": "refreshWebhooks",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/webhook/refresh?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/refreshWebhooks-default.json"
}
]
}
]
}