UNPKG

@itentialopensource/adapter-github

Version:

This adapter integrates with system described as: github.

403 lines 10.7 kB
{ "actions": [ { "name": "getGists", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getGists-default.json" } ] }, { "name": "postGists", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/gists?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/postGists-default.json" } ] }, { "name": "getGistsPublic", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/public?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getGistsPublic-default.json" } ] }, { "name": "getGistsStarred", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/starred?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getGistsStarred-default.json" } ] }, { "name": "deleteGistsId", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/gists/{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": "getGistsId", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{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/getGistsId-default.json" } ] }, { "name": "patchGistsId", "protocol": "REST", "method": "PATCH", "entitypath": "{base_path}/{version}/gists/{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/patchGistsId-default.json" } ] }, { "name": "getGistsIdComments", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/comments?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getGistsIdComments-default.json" } ] }, { "name": "postGistsIdComments", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/gists/{pathv1}/comments?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/postGistsIdComments-default.json" } ] }, { "name": "deleteGistsIdCommentsCommentId", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/gists/{pathv1}/comments/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "getGistsIdCommentsCommentId", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/comments/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getGistsIdCommentsCommentId-default.json" } ] }, { "name": "patchGistsIdCommentsCommentId", "protocol": "REST", "method": "PATCH", "entitypath": "{base_path}/{version}/gists/{pathv1}/comments/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/patchGistsIdCommentsCommentId-default.json" } ] }, { "name": "postGistsIdForks", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/gists/{pathv1}/forks?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "deleteGistsIdStar", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/gists/{pathv1}/star?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "getGistsIdStar", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/star?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "putGistsIdStar", "protocol": "REST", "method": "PUT", "entitypath": "{base_path}/{version}/gists/{pathv1}/star?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "gistsListCommits", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/commits?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "gistsListForks", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/forks?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "gistsGetRevision", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/gists/{pathv1}/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] } ] }