@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
229 lines • 6.34 kB
JSON
{
"actions": [
{
"name": "codeSecurityGetConfigurationsForOrg",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityCreateConfiguration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityGetDefaultConfigurations",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/defaults?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityDetachConfiguration",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/detach?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityGetConfiguration",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{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": "codeSecurityUpdateConfiguration",
"protocol": "REST",
"method": "PATCH",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{pathv2}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityDeleteConfiguration",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{pathv2}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityAttachConfiguration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{pathv2}/attach?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecuritySetConfigurationAsDefault",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{pathv2}/defaults?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityGetRepositoriesForConfiguration",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/orgs/{pathv1}/code-security/configurations/{pathv2}/repositories?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "codeSecurityGetConfigurationForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repos/{pathv1}/{pathv2}/code-security-configuration?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
}
]
}