UNPKG

@itentialopensource/adapter-nexus_repository

Version:

This adapter integrates with system described as: nexusRepositoryManagerRestApi.

1,770 lines (1,769 loc) 248 kB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/beta/security/user-sources": { "get": { "tags": [ "SecurityManagement" ], "operationId": "getUserSources", "description": "The parameters and request body are for method: getUserSources. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } } } }, "example": [ { "id": "string", "name": "string" } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/beta/security/users/{userId}": { "put": { "tags": [ "SecurityManagementUsers" ], "operationId": "updateUser", "description": "The parameters and request body are for method: updateUser. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "title": "userId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "tags": [ "SecurityManagementUsers" ], "operationId": "deleteUser", "description": "The parameters and request body are for method: deleteUser. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "title": "userId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/beta/security/users": { "get": { "tags": [ "SecurityManagementUsers" ], "operationId": "getUsers", "description": "The parameters and request body are for method: getUsers. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "userId": { "type": "string" }, "firstName": { "type": "string" }, "lastName": { "type": "string" }, "emailAddress": { "type": "string" }, "source": { "type": "string" }, "status": { "type": "string" }, "readOnly": { "type": "boolean" }, "roles": { "type": "array", "items": { "type": "string" } }, "externalRoles": { "type": "array", "items": { "type": "string" } } } } }, "example": [ { "userId": "string", "firstName": "string", "lastName": "string", "emailAddress": "string", "source": "string", "status": "disabled", "readOnly": false, "roles": [ "string", "string", "string", "string" ], "externalRoles": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ] }, { "userId": "string", "firstName": "string", "lastName": "string", "emailAddress": "string", "source": "string", "status": "disabled", "readOnly": false, "roles": [ "string", "string", "string", "string", "string", "string", "string" ], "externalRoles": [ "string" ] }, { "userId": "string", "firstName": "string", "lastName": "string", "emailAddress": "string", "source": "string", "status": "locked", "readOnly": true, "roles": [ "string", "string", "string", "string", "string" ], "externalRoles": [ "string", "string" ] }, { "userId": "string", "firstName": "string", "lastName": "string", "emailAddress": "string", "source": "string", "status": "active", "readOnly": false, "roles": [ "string", "string", "string", "string" ], "externalRoles": [ "string", "string", "string" ] } ] } } } }, "parameters": [ { "name": "userId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "source", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "post": { "tags": [ "SecurityManagementUsers" ], "operationId": "createUser", "description": "The parameters and request body are for method: createUser. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "userId": { "type": "string" }, "firstName": { "type": "string" }, "lastName": { "type": "string" }, "emailAddress": { "type": "string" }, "source": { "type": "string" }, "status": { "type": "string" }, "readOnly": { "type": "boolean" }, "roles": { "type": "array", "items": { "type": "string" } }, "externalRoles": { "type": "array", "items": { "type": "string" } } } }, "example": { "userId": "string", "firstName": "string", "lastName": "string", "emailAddress": "string", "source": "string", "status": "changepassword", "readOnly": true, "roles": [ "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "externalRoles": [ "string", "string", "string", "string", "string", "string", "string" ] } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/users/{userId}/change-password": { "put": { "tags": [ "SecurityManagementUsers" ], "operationId": "changePassword", "description": "The parameters and request body are for method: changePassword. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "title": "userId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "body": { "type": "string" } } }, "example": { "body": "body" } } } } } }, "/beta/security/privileges": { "get": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "getPrivileges", "description": "The parameters and request body are for method: getPrivileges. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "readOnly": { "type": "boolean" } } } }, "example": [ { "type": "string", "name": "string", "description": "string", "readOnly": true } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/beta/security/privileges/{privilegeId}": { "get": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "getPrivilege", "description": "The parameters and request body are for method: getPrivilege. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "type": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "readOnly": { "type": "boolean" } } }, "example": { "type": "string", "name": "string", "description": "string", "readOnly": true } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "delete": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "deletePrivilege", "description": "The parameters and request body are for method: deletePrivilege. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/beta/security/privileges/wildcard": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege", "description": "The parameters and request body are for method: createPrivilege. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/application": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege1", "description": "The parameters and request body are for method: createPrivilege1. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/wildcard/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege", "description": "The parameters and request body are for method: updatePrivilege. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/application/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege1", "description": "The parameters and request body are for method: updatePrivilege1. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-content-selector": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege2", "description": "The parameters and request body are for method: createPrivilege2. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-admin": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege3", "description": "The parameters and request body are for method: createPrivilege3. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-view": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege4", "description": "The parameters and request body are for method: createPrivilege4. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-view/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege2", "description": "The parameters and request body are for method: updatePrivilege2. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-content-selector/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege3", "description": "The parameters and request body are for method: updatePrivilege3. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/repository-admin/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege4", "description": "The parameters and request body are for method: updatePrivilege4. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/script": { "post": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "createPrivilege5", "description": "The parameters and request body are for method: createPrivilege5. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/privileges/script/{privilegeId}": { "put": { "tags": [ "SecurityManagementPrivileges" ], "operationId": "updatePrivilege5", "description": "The parameters and request body are for method: updatePrivilege5. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "privilegeId", "in": "path", "required": true, "schema": { "title": "privilegeId", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/realms/available": { "get": { "tags": [ "SecurityManagementRealms" ], "operationId": "getRealms", "description": "The parameters and request body are for method: getRealms. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } } } }, "example": [ { "id": "string", "name": "string" } ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/beta/security/realms/active": { "get": { "tags": [ "SecurityManagementRealms" ], "operationId": "getActiveRealms", "description": "The parameters and request body are for method: getActiveRealms. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string" } }, "example": [ "string", "string", "string" ] } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "SecurityManagementRealms" ], "operationId": "setActiveRealms", "description": "The parameters and request body are for method: setActiveRealms. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "body": { "type": "string" } } }, "example": { "body": "body" } } } } } }, "/beta/security/roles": { "get": { "tags": [ "SecurityManagementRoles" ], "operationId": "getRoles", "description": "The parameters and request body are for method: getRoles. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "source": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "privileges": { "type": "array", "items": { "type": "string" } }, "roles": { "type": "array", "items": { "type": "string" } } } } }, "example": [ { "id": "string", "source": "string", "name": "string", "description": "string", "privileges": [ "string", "string", "string", "string", "string", "string" ], "roles": [ "string" ] } ] } } } }, "parameters": [ { "name": "source", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "post": { "tags": [ "SecurityManagementRoles" ], "operationId": "create", "description": "The parameters and request body are for method: create. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "source": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "privileges": { "type": "array", "items": { "type": "string" } }, "roles": { "type": "array", "items": { "type": "string" } } } }, "example": { "id": "string", "source": "string", "name": "string", "description": "string", "privileges": [ "string", "string", "string", "string", "string", "string" ], "roles": [ "string", "string", "string", "string" ] } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/beta/security/roles/{id}": { "get": { "tags": [ "SecurityManagementRoles" ], "operationId": "getRole", "description": "The parameters and request body are for method: getRole. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "source": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "privileges": { "type": "array", "items": { "type": "string" } }, "roles": { "type": "array", "items": { "type": "string" } } } }, "example": { "id": "string", "source": "string", "name": "string", "description": "string", "privileges": [ "string", "string", "string", "string", "string" ], "roles": [ "string", "string", "string", "string", "string", "string", "string" ] } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "string" } }, { "name": "source", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } }, "put": { "tags": [ "SecurityManagementRoles" ], "operationId": "update", "description": "The parameters and request body are for method: update. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "string" } } ], "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } }, "delete": { "tags": [ "SecurityManagementRoles" ], "operationId": "delete", "description": "The parameters and request body are for method: delete. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "title": "result", "type": "object" } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/v1/tasks/{id}": { "get": { "tags": [ "Tasks" ], "operationId": "getTaskById", "description": "The parameters and request body are for method: getTaskById. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "type": { "type": "string" }, "message": { "type": "string" }, "currentState": { "type": "string" }, "lastRunResult": { "type": "string" }, "nextRun": { "type": "string" }, "lastRun": { "type": "string" } } }, "example": { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "title": "id", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/v1/tasks": { "get": { "tags": [ "Tasks" ], "operationId": "getTasks", "description": "The parameters and request body are for method: getTasks. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "type": { "type": "string" }, "message": { "type": "string" }, "currentState": { "type": "string" }, "lastRunResult": { "type": "string" }, "nextRun": { "type": "string" }, "lastRun": { "type": "string" } } } }, "continuationToken": { "type": "string" } } }, "example": { "items": [ { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" }, { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" }, { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" }, { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" }, { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" }, { "id": "string", "name": "string", "type": "string", "message": "string", "currentState": "string", "lastRunResult": "string", "nextRun": "string", "lastRun": "string" } ], "continuationToken": "string" } } } } }, "parameters": [ { "name": "type", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object" }, "example": {} } } } } }, "/v1/tasks/{id}/run": { "post": { "tags": [ "Tasks" ], "operationId": "run", "description": "The parameters and request body are for method: run. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": {