@itentialopensource/adapter-bitbucket
Version:
This adapter integrates with system described as: bitbucket.
214 lines • 5.92 kB
JSON
{
"actions": [
{
"name": "getTeamsUsernameHooks",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/hooks?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTeamsUsernameHooks-default.json"
}
]
},
{
"name": "postTeamsUsernameHooks",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/teams/{pathv1}/hooks?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postTeamsUsernameHooks-default.json"
}
]
},
{
"name": "deleteTeamsUsernameHooksUid",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/teams/{pathv1}/hooks/{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": "getTeamsUsernameHooksUid",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/hooks/{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/getTeamsUsernameHooksUid-default.json"
}
]
},
{
"name": "putTeamsUsernameHooksUid",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/teams/{pathv1}/hooks/{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/putTeamsUsernameHooksUid-default.json"
}
]
},
{
"name": "getTeams",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTeams-default.json"
}
]
},
{
"name": "getTeamsUsername",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{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/getTeamsUsername-default.json"
}
]
},
{
"name": "getTeamsUsernameFollowers",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/followers?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTeamsUsernameFollowers-default.json"
}
]
},
{
"name": "getTeamsUsernameFollowing",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/following?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTeamsUsernameFollowing-default.json"
}
]
},
{
"name": "getTeamsUsernameMembers",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/members?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTeamsUsernameMembers-default.json"
}
]
}
]
}