@itentialopensource/adapter-bitbucket
Version:
This adapter integrates with system described as: bitbucket.
277 lines • 7.5 kB
JSON
{
"actions": [
{
"name": "getUsersUsernameHooks",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{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/getUsersUsernameHooks-default.json"
}
]
},
{
"name": "postUsersUsernameHooks",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/users/{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/postUsersUsernameHooks-default.json"
}
]
},
{
"name": "deleteUsersUsernameHooksUid",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/users/{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": "getUsersUsernameHooksUid",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{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/getUsersUsernameHooksUid-default.json"
}
]
},
{
"name": "putUsersUsernameHooksUid",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/users/{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/putUsersUsernameHooksUid-default.json"
}
]
},
{
"name": "getTeamsUsernameRepositories",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/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": "getUsersUsernameRepositories",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{pathv1}/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": "getUser",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/user?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getUser-default.json"
}
]
},
{
"name": "getUserEmails",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/user/emails?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getUserEmailsEmail",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/user/emails/{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": "getUsersUsername",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{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/getUsersUsername-default.json"
}
]
},
{
"name": "getUsersUsernameFollowers",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{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/getUsersUsernameFollowers-default.json"
}
]
},
{
"name": "getUsersUsernameFollowing",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{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/getUsersUsernameFollowing-default.json"
}
]
}
]
}