@itentialopensource/adapter-nexus_repository
Version:
This adapter integrates with system described as: nexusRepositoryManagerRestApi.
86 lines • 2.15 kB
JSON
{
"actions": [
{
"name": "getTaskById",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/tasks/{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/getTaskById-default.json"
}
]
},
{
"name": "getTasks",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/tasks?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getTasks-default.json"
}
]
},
{
"name": "run",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/tasks/{pathv1}/run?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "stop",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/tasks/{pathv1}/stop?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
}
]
}