@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
151 lines • 4.18 kB
JSON
{
"actions": [
{
"name": "getNotifications",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/notifications?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getNotifications-default.json"
}
]
},
{
"name": "putNotifications",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/notifications?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getNotificationsThreadsId",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/notifications/threads/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getNotificationsThreadsId-default.json"
}
]
},
{
"name": "patchNotificationsThreadsId",
"protocol": "REST",
"method": "PATCH",
"entitypath": "{base_path}/{version}/notifications/threads/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "deleteNotificationsThreadsIdSubscription",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/notifications/threads/{pathv1}/subscription?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getNotificationsThreadsIdSubscription",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/notifications/threads/{pathv1}/subscription?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getNotificationsThreadsIdSubscription-default.json"
}
]
},
{
"name": "putNotificationsThreadsIdSubscription",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/notifications/threads/{pathv1}/subscription?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/putNotificationsThreadsIdSubscription-default.json"
}
]
}
]
}