@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
268 lines • 7.33 kB
JSON
{
"actions": [
{
"name": "pullsCreateReplyForReviewComment",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/comments/{pathv4}/replies?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsListRequestedReviewers",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/requested_reviewers?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsRequestReviewers",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/requested_reviewers?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsRemoveRequestedReviewers",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/requested_reviewers?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsListReviews",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsCreateReview",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsGetReview",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsUpdateReview",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsDeletePendingReview",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsListCommentsForReview",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}/comments?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsDismissReview",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}/dismissals?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsSubmitReview",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/reviews/{pathv4}/events?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "pullsUpdateBranch",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/pulls/{pathv3}/update-branch?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
}
]
}