@itentialopensource/adapter-bitbucket
Version:
This adapter integrates with system described as: bitbucket.
676 lines • 20 kB
JSON
{
"actions": [
{
"name": "getPipelinesForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "createPipelineForRepository",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getPipelineForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getPipelineStepsForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/{pathv3}/steps/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getPipelineStepsForRepository-default.json"
}
]
},
{
"name": "getPipelineStepForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/{pathv3}/steps/{pathv4}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getPipelineStepForRepository-default.json"
}
]
},
{
"name": "getPipelineStepLogForRepository",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/{pathv3}/steps/{pathv4}/log?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "stopPipeline",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines/{pathv3}/stopPipeline?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getRepositoryPipelineConfig",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "updateRepositoryPipelineConfig",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "deleteRepositoryPipelineKeyPair",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/key_pair?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getRepositoryPipelineSshKeyPair",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/key_pair?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getRepositoryPipelineSshKeyPair-default.json"
}
]
},
{
"name": "updateRepositoryPipelineKeyPair",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/key_pair?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateRepositoryPipelineKeyPair-default.json"
}
]
},
{
"name": "getRepositoryPipelineKnownHosts",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/known_hosts/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getRepositoryPipelineKnownHosts-default.json"
}
]
},
{
"name": "createRepositoryPipelineKnownHost",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/known_hosts/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createRepositoryPipelineKnownHost-default.json"
}
]
},
{
"name": "deleteRepositoryPipelineKnownHost",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/known_hosts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getRepositoryPipelineKnownHost",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/known_hosts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getRepositoryPipelineKnownHost-default.json"
}
]
},
{
"name": "updateRepositoryPipelineKnownHost",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/ssh/known_hosts/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateRepositoryPipelineKnownHost-default.json"
}
]
},
{
"name": "getRepositoryPipelineVariables",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getRepositoryPipelineVariables-default.json"
}
]
},
{
"name": "createRepositoryPipelineVariable",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createRepositoryPipelineVariable-default.json"
}
]
},
{
"name": "deleteRepositoryPipelineVariable",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/variables/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getRepositoryPipelineVariable",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/variables/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getRepositoryPipelineVariable-default.json"
}
]
},
{
"name": "updateRepositoryPipelineVariable",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/repositories/{pathv1}/{pathv2}/pipelines_config/variables/{pathv3}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/updateRepositoryPipelineVariable-default.json"
}
]
},
{
"name": "getPipelineVariablesForTeam",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getPipelineVariablesForTeam-default.json"
}
]
},
{
"name": "createPipelineVariableForTeam",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/teams/{pathv1}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createPipelineVariableForTeam-default.json"
}
]
},
{
"name": "deletePipelineVariableForTeam",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/teams/{pathv1}/pipelines_config/variables/{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": "getPipelineVariableForTeam",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/teams/{pathv1}/pipelines_config/variables/{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/getPipelineVariableForTeam-default.json"
}
]
},
{
"name": "updatePipelineVariableForTeam",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/teams/{pathv1}/pipelines_config/variables/{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/updatePipelineVariableForTeam-default.json"
}
]
},
{
"name": "getPipelineVariablesForUser",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{pathv1}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getPipelineVariablesForUser-default.json"
}
]
},
{
"name": "createPipelineVariableForUser",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/users/{pathv1}/pipelines_config/variables/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createPipelineVariableForUser-default.json"
}
]
},
{
"name": "deletePipelineVariableForUser",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/users/{pathv1}/pipelines_config/variables/{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": "getPipelineVariableForUser",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/users/{pathv1}/pipelines_config/variables/{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/getPipelineVariableForUser-default.json"
}
]
},
{
"name": "updatePipelineVariableForUser",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/users/{pathv1}/pipelines_config/variables/{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/updatePipelineVariableForUser-default.json"
}
]
}
]
}