@itentialopensource/adapter-nexus_repository
Version:
This adapter integrates with system described as: nexusRepositoryManagerRestApi.
105 lines • 2.69 kB
JSON
{
"actions": [
{
"name": "updateUser",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/beta/security/users/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "deleteUser",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/beta/security/users/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getUsers",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/beta/security/users?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getUsers-default.json"
}
]
},
{
"name": "createUser",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/beta/security/users?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createUser-default.json"
}
]
},
{
"name": "changePassword",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/beta/security/users/{pathv1}/change-password?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "PLAIN",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
}
]
}