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