From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/devops/2021-06-25/api-docs.php | 16764 +++++++++++----------------------- 1 file changed, 5411 insertions(+), 11353 deletions(-) (limited to 'data/devops/2021-06-25/api-docs.php') diff --git a/data/devops/2021-06-25/api-docs.php b/data/devops/2021-06-25/api-docs.php index 3542efd..8f02b31 100644 --- a/data/devops/2021-06-25/api-docs.php +++ b/data/devops/2021-06-25/api-docs.php @@ -1,60 +1,37 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'devops', - 'version' => '2021-06-25', - ], + 'info' => ['style' => 'ROA', 'product' => 'devops', 'version' => '2021-06-25'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateFile' => [ - 'path' => '/repository/{repositoryId}/files', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddGroupMember' => [ + 'path' => '/repository/groups/{groupId}/members/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -64,149 +41,72 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'filePath' => [ - 'type' => 'string', - 'required' => true, - ], - 'branchName' => [ - 'type' => 'string', - 'required' => true, - ], - 'encoding' => [ - 'type' => 'string', - 'required' => false, - ], - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'commitMessage' => [ - 'type' => 'string', - 'required' => true, - ], + 'aliyunPks' => ['type' => 'string', 'required' => true], + 'accessLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], ], ], - 'DeleteFile' => [ - 'path' => '/repository/{repositoryId}/files/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddPipelineRelations' => [ + 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'branchName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'filePath', + 'name' => 'relObjectType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['VARIABLE_GROUP', 'OOS_APP_ID'], ], ], [ - 'name' => 'commitMessage', + 'name' => 'relObjectIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateFile' => [ - 'path' => '/repository/{repositoryId}/files/update', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddRepositoryMember' => [ + 'path' => '/repository/{repositoryId}/members', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'], ], [ 'name' => 'body', @@ -214,566 +114,505 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => false, + 'required' => true, 'properties' => [ - 'oldPath' => [ - 'type' => 'string', - 'required' => true, - ], - 'newPath' => [ - 'type' => 'string', - 'required' => true, - ], - 'branchName' => [ - 'type' => 'string', - 'required' => true, - ], - 'encoding' => [ - 'type' => 'string', - 'required' => false, - ], - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'commitMessage' => [ - 'type' => 'string', - 'required' => true, - ], + 'aliyunPks' => ['type' => 'string', 'required' => true], + 'accessLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetFileBlobs' => [ - 'path' => '/repository/{repositoryId}/files/blobs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddWebhook' => [ + 'path' => '/repository/{repositoryId}/webhooks/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'filePath', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'], ], [ - 'name' => 'ref', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, - ], - ], - [ - 'name' => 'from', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'to', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'properties' => [ + 'url' => ['type' => 'string', 'required' => true], + 'pushEvents' => ['type' => 'boolean', 'required' => false], + 'mergeRequestsEvents' => ['type' => 'boolean', 'required' => false], + 'tagPushEvents' => ['type' => 'boolean', 'required' => false], + 'noteEvents' => ['type' => 'boolean', 'required' => false], + 'enableSslVerification' => ['type' => 'boolean', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'secretToken' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListRepositoryTree' => [ - 'path' => '/repository/{repositoryId}/files/tree', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CancelExecutionReleaseStage' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:cancel', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'path', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'releaseWorkflowSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'refName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'executionNumber', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetFileLastCommit' => [ - 'path' => '/repository/{repositoryId}/files/lastCommit', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CloseMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/close', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'CreateAppMembers' => [ + 'path' => '/appstack/apps/{appName}/members', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'sha', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ [ - 'name' => 'filePath', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'showSignature', - 'in' => 'query', + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'roleNames' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'playerList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'id' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'GetRepositoryCommit' => [ - 'path' => '/repository/{repositoryId}/commits/{sha}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateBranch' => [ + 'path' => '/repository/{repositoryId}/branches', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sha', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, - ], - ], - [ - 'name' => 'showSignature', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, + 'properties' => [ + 'branchName' => ['type' => 'string', 'required' => true], + 'ref' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListRepositoryCommits' => [ - 'path' => '/repository/{repositoryId}/commits', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateChangeRequest' => [ + 'path' => '/appstack/apps/{appName}/changeRequests', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'title' => ['type' => 'string', 'required' => true], + 'ownerId' => ['type' => 'string', 'required' => true], + 'ownerAccountId' => ['type' => 'string', 'required' => false], + 'appCodeRepoSn' => ['type' => 'string', 'required' => true], + 'branchName' => ['type' => 'string', 'required' => true], + 'autoDeleteBranchWhenEnd' => ['type' => 'boolean', 'required' => false], + 'createBranch' => ['type' => 'boolean', 'required' => false], + ], ], ], + ], + ], + 'CreateCheckRun' => [ + 'path' => '/api/v4/projects/check_runs/create_check_run', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'refName', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'start', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'end', + 'name' => 'repositoryIdentity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'page', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'headSha' => ['type' => 'string', 'required' => true], + 'status' => ['type' => 'string', 'required' => false], + 'conclusion' => ['type' => 'string', 'required' => false], + 'startedAt' => ['type' => 'string', 'required' => false], + 'completedAt' => ['type' => 'string', 'required' => false], + 'externalId' => ['type' => 'string', 'required' => false], + 'detailsUrl' => ['type' => 'string', 'required' => false], + 'output' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'title' => ['type' => 'string', 'required' => true], + 'summary' => ['type' => 'string', 'required' => true], + 'text' => ['type' => 'string', 'required' => false], + 'images' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'alt' => ['type' => 'string', 'required' => true], + 'imageUrl' => ['type' => 'string', 'required' => true], + 'caption' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'annotations' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'path' => ['type' => 'string', 'required' => true], + 'startLine' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'endLine' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'startColumn' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endColumn' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'annotationLevel' => ['type' => 'string', 'required' => true], + 'message' => ['type' => 'string', 'required' => true], + 'title' => ['type' => 'string', 'required' => false], + 'rawDetails' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], + ], + ], + 'CreateComment' => [ + 'path' => '/api/v4/projects/code_reviews/comments/create_comment', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageSize', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'path', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'search', + 'name' => 'repositoryIdentity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'showSignature', + 'name' => 'localId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'showCommentsCount', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => true], + 'commentType' => ['type' => 'string', 'required' => true], + 'parentCommentBizId' => ['type' => 'string', 'required' => false], + 'resolved' => ['type' => 'boolean', 'required' => false], + 'filePath' => ['type' => 'string', 'required' => false], + 'lineNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'patchSetBizId' => ['type' => 'string', 'required' => false], + 'draft' => ['type' => 'boolean', 'required' => false], + 'fromPachSetBizId' => ['type' => 'string', 'required' => false], + 'toPatchSetBizId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListRepositoryCommitDiff' => [ - 'path' => '/repository/{repositoryId}/commits/{sha}/diff', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateCommitStatus' => [ + 'path' => '/api/v4/projects/repository/commit_statuses/create_commit_status', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'sha', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'contextLine', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'state' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'targetUrl' => ['type' => 'string', 'required' => false], + 'context' => ['type' => 'string', 'required' => false], + ], ], ], ], ], 'CreateCommitWithMultipleFiles' => [ 'path' => '/api/v4/projects/repository/commits/files', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryIdentity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -783,14 +622,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'branch' => [ - 'type' => 'string', - 'required' => true, - ], - 'commitMessage' => [ - 'type' => 'string', - 'required' => false, - ], + 'branch' => ['type' => 'string', 'required' => true], + 'commitMessage' => ['type' => 'string', 'required' => false], 'actions' => [ 'type' => 'array', 'required' => true, @@ -798,22 +631,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'action' => [ - 'type' => 'string', - 'required' => false, - ], - 'filePath' => [ - 'type' => 'string', - 'required' => false, - ], - 'previousPath' => [ - 'type' => 'string', - 'required' => false, - ], - 'content' => [ - 'type' => 'string', - 'required' => false, - ], + 'action' => ['type' => 'string', 'required' => false], + 'filePath' => ['type' => 'string', 'required' => false], + 'previousPath' => ['type' => 'string', 'required' => false], + 'content' => ['type' => 'string', 'required' => false], ], ], ], @@ -822,46 +643,33 @@ ], ], ], - 'AddRepositoryMember' => [ - 'path' => '/repository/{repositoryId}/members', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDeployKey' => [ + 'path' => '/repository/{repositoryId}/keys/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -871,74 +679,40 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'aliyunPks' => [ - 'type' => 'string', - 'required' => true, - ], - 'accessLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'title' => ['type' => 'string', 'required' => true], + 'key' => ['type' => 'string', 'required' => true], ], ], ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'AddGroupMember' => [ - 'path' => '/repository/groups/{groupId}/members/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFile' => [ + 'path' => '/repository/{repositoryId}/files', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -948,146 +722,179 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'aliyunPks' => [ - 'type' => 'string', - 'required' => true, - ], - 'accessLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'filePath' => ['type' => 'string', 'required' => true], + 'branchName' => ['type' => 'string', 'required' => true], + 'encoding' => ['type' => 'string', 'required' => false], + 'content' => ['type' => 'string', 'required' => true], + 'commitMessage' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'DeleteRepositoryMember' => [ - 'path' => '/repository/{repositoryId}/members/delete/{aliyunPk}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFlowTag' => [ + 'path' => '/organization/{organizationId}/flow/tags', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20], + ], + [ + 'name' => 'color', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['#1F9AEF', '#E63A3A', '#FA8C15', '#15AD31', '#7978E5', '#8C8C8C'], ], ], [ - 'name' => 'accessToken', + 'name' => 'flowTagGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'CreateFlowTagGroup' => [ + 'path' => '/organization/{organizationId}/flow/tagGroups', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'repositoryId', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliyunPk', + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20], + ], + ], + ], + 'CreateHostGroup' => [ + 'path' => '/organization/{organizationId}/hostGroups', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['ECS'], ], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'envId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceConnectionId', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'tagIds', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ecsType', + 'in' => 'formData', 'schema' => [ - 'type' => 'object', + 'type' => 'string', 'required' => false, - 'properties' => [ - 'memberType' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'enum' => ['ECS_ALIYUN'], ], ], + [ + 'name' => 'ecsLabelKey', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ecsLabelValue', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunRegion', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'machineInfos', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteGroupMember' => [ - 'path' => '/repository/groups/{groupId}/members/remove/aliyun_pk', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'aliyunPk', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -1097,54 +904,37 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'memberType' => [ - 'type' => 'string', - 'required' => true, + 'sourceProjectId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'sourceBranch' => ['type' => 'string', 'required' => true], + 'targetProjectId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'targetBranch' => ['type' => 'string', 'required' => true], + 'title' => ['type' => 'string', 'required' => true], + 'createFrom' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'reviewerIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'workItemIds' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateRepositoryMember' => [ - 'path' => '/repository/{repositoryId}/members/{aliyunPk}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + 'CreateOAuthToken' => [ + 'path' => '/login/oauth/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'aliyunPk', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -1153,354 +943,176 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'accessLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'expireAt' => [ - 'type' => 'string', - 'required' => false, - ], - 'memberType' => [ - 'type' => 'string', - 'required' => false, - ], - 'relatedId' => [ - 'type' => 'string', - 'required' => false, - ], - 'relatedInfos' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'relatedId' => [ - 'type' => 'string', - 'required' => false, - ], - 'sourceId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'sourceType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'clientId' => ['type' => 'string', 'required' => true], + 'clientSecret' => ['type' => 'string', 'required' => true], + 'grantType' => ['type' => 'string', 'required' => true], + 'scope' => ['type' => 'string', 'required' => true], + 'code' => ['type' => 'string', 'required' => false], + 'login' => ['type' => 'string', 'required' => false], ], ], ], - [ - 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'UpdateGroupMember' => [ - 'path' => '/repository/groups/{groupId}/members/update/aliyun_pk', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePipeline' => [ + 'path' => '/organization/{organizationId}/pipelines', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliyunPk', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'accessLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'memberType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'content', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListRepositoryMemberWithInherited' => [ - 'path' => '/repository/{repositoryId}/members/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePipelineGroup' => [ + 'path' => '/organization/{organizationId}/pipelineGroups', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'organizationId', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 40], ], ], ], - 'GetProjectMember' => [ - 'path' => '/repository/{repositoryId}/members/get/{aliyunPk}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateProject' => [ + 'path' => '/organization/{organizationId}/projects/createProject', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliyunPk', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'templateIdentifier' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string', 'required' => true], + 'scope' => ['type' => 'string', 'required' => true], + 'customCode' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListGroupMember' => [ - 'path' => '/repository/groups/{groupId}/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateProjectLabel' => [ + 'path' => '/api/v4/projects/labels', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', - 'in' => 'path', + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'color' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CreateRepository' => [ - 'path' => '/repository/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateProtectdBranch' => [ + 'path' => '/repository/{repositoryId}/protect_branches', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'sync', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'createParentPath', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -1510,127 +1122,134 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'namespaceId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'visibilityLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'importUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'importAccount' => [ - 'type' => 'string', - 'required' => false, - ], - 'importToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'importTokenEncrypted' => [ - 'type' => 'string', - 'required' => false, - ], - 'importDemoProject' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'avatarUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'readmeType' => [ - 'type' => 'string', + 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'branch' => ['type' => 'string', 'required' => true], + 'allowPushRoles' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - 'importRepoType' => [ - 'type' => 'string', + 'allowPushUserIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'initStandardService' => [ - 'type' => 'boolean', - 'required' => false, + 'allowMergeRoles' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], - 'gitignoreType' => [ - 'type' => 'string', + 'allowMergeUserIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'isCryptoEnabled' => [ - 'type' => 'boolean', + 'mergeRequestSetting' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'isRequired' => ['type' => 'boolean', 'required' => false], + 'mrMode' => ['type' => 'string', 'required' => false], + 'isAllowSelfApproval' => ['type' => 'boolean', 'required' => false], + 'isRequireDiscussionProcessed' => ['type' => 'boolean', 'required' => false], + 'isResetApprovalWhenNewPush' => ['type' => 'boolean', 'required' => false], + 'minimumApproval' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'allowMergeRequestRoles' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + 'defaultAssignees' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'whiteList' => ['type' => 'string', 'required' => false], + ], ], - 'localImportUrl' => [ - 'type' => 'string', + 'testSettingDTO' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'isRequired' => ['type' => 'boolean', 'required' => false], + 'codeGuidelinesDetection' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'sensitiveInfoDetection' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'checkTaskQualityConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'bizNo' => ['type' => 'string', 'required' => false], + 'taskName' => ['type' => 'string', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'checkConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'checkItems' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'isRequired' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + ], + ], + ], ], ], ], ], ], ], - 'DeleteRepository' => [ - 'path' => '/repository/{repositoryId}/remove', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreatePushRule' => [ + 'path' => '/api/v4/projects/{repositoryId}/push_rule', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -1638,63 +1257,63 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'reason' => [ - 'type' => 'string', + 'ruleInfos' => [ + 'type' => 'array', 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'checkerName' => ['type' => 'string', 'required' => false], + 'extraMessage' => ['type' => 'string', 'required' => false], + 'checkerType' => ['type' => 'string', 'required' => false], + 'fileRuleRegexes' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], ], ], ], ], ], ], - 'UpdateRepository' => [ - 'path' => '/repository/{repositoryId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRepository' => [ + 'path' => '/repository/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accessToken', + 'name' => 'sync', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'createParentPath', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1702,426 +1321,322 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => false, + 'required' => true, 'properties' => [ - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'path' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'defaultBranch' => [ - 'type' => 'string', - 'required' => false, - ], - 'issuesEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'mergeRequestsEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'buildsEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'wikiEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'snippetsEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'visibilityLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'checkEmail' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'avatar' => [ - 'type' => 'string', - 'required' => false, - ], - 'openCloneDownloadControl' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'projectCloneDownloadRoleList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'roleCode' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'allowed' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - 'projectCloneDownloadMethodList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'permissionCode' => [ - 'type' => 'string', - 'required' => false, - ], - 'allowed' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - 'adminSettingLanguage' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => ['type' => 'string', 'required' => true], + 'path' => ['type' => 'string', 'required' => false], + 'namespaceId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'visibilityLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'importUrl' => ['type' => 'string', 'required' => false], + 'importAccount' => ['type' => 'string', 'required' => false], + 'importToken' => ['type' => 'string', 'required' => false], + 'importTokenEncrypted' => ['type' => 'string', 'required' => false], + 'importDemoProject' => ['type' => 'boolean', 'required' => false], + 'avatarUrl' => ['type' => 'string', 'required' => false], + 'readmeType' => ['type' => 'string', 'required' => false], + 'importRepoType' => ['type' => 'string', 'required' => false], + 'initStandardService' => ['type' => 'boolean', 'required' => false], + 'gitignoreType' => ['type' => 'string', 'required' => false], + 'isCryptoEnabled' => ['type' => 'boolean', 'required' => false], + 'localImportUrl' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'TriggerRepositoryMirrorSync' => [ - 'path' => '/repository/{repositoryId}/mirror', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRepositoryGroup' => [ + 'path' => '/repository/groups/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'accessToken', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'organizationId', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => true, - 'minimum' => '1', - 'maximum' => '9223372036854775807', - ], - ], - [ - 'name' => 'account', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'token', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'path' => ['type' => 'string', 'required' => true], + 'visibilityLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'parentId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'avatarUrl' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'TransferRepository' => [ - 'path' => '/api/v4/projects/repository/transfer', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateResourceMember' => [ + 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, + 'minimum' => '1', + 'maximum' => '999999999999999', + 'enum' => ['pipeline', 'hostGroup'], ], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'accountId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'roleName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'groupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'resourceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListRepositories' => [ - 'path' => '/repository/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateServiceAuth' => [ + 'path' => '/organization/{organizationId}/serviceAuths', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'serviceAuthType', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'required' => true, + 'enum' => ['RAM'], ], ], + ], + ], + 'CreateServiceConnection' => [ + 'path' => '/organization/{organizationId}/createServiceConnection', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'perPage', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'connectionType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['ecs', 'ack', 'oss', 'edas', 'sae', 'ros', 'fc', 'emas', 'customGitlab', 'git', 'gitlab', 'bitbucket', 'docker_register_aliyun', 'ess', 'Codeup'], + ], + 'connectionName' => ['type' => 'string', 'required' => true], + 'serviceAuthId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'scope' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['PERSONAL', 'GLOBAL', 'CUSTOM'], + ], + 'authType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['CREDENTIAL', 'AUTHENTICATION'], + ], + ], ], ], + ], + ], + 'CreateServiceCredential' => [ + 'path' => '/organization/{organizationId}/serviceCredentials', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'archived', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'minAccessLevel', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true, 'maxLength' => 100], + 'type' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['USERNAME_PASSWORD'], + ], + 'scope' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['PERSON'], + ], + 'username' => ['type' => 'string', 'required' => true], + 'password' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'GetRepository' => [ - 'path' => '/repository/get', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSprint' => [ + 'path' => '/organization/{organizationId}/sprints/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'identity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'spaceIdentifier' => ['type' => 'string', 'required' => true], + 'startDate' => ['type' => 'string', 'required' => false], + 'endDate' => ['type' => 'string', 'required' => false], + 'staffIds' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => true], + ], + ], ], ], ], ], - 'CreateBranch' => [ - 'path' => '/repository/{repositoryId}/branches', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSshKey' => [ + 'path' => '/organization/{organizationId}/sshKey', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'CreateTag' => [ + 'path' => '/repository/{repositoryId}/tags/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -2131,65 +1646,29 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'branchName' => [ - 'type' => 'string', - 'required' => true, - ], - 'ref' => [ - 'type' => 'string', - 'required' => true, - ], + 'tagName' => ['type' => 'string', 'required' => true], + 'ref' => ['type' => 'string', 'required' => true], + 'message' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateProtectdBranch' => [ - 'path' => '/repository/{repositoryId}/protect_branches', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateTestCase' => [ + 'path' => '/organization/{organizationId}/testhub/testcase', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -2197,182 +1676,49 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'branch' => [ - 'type' => 'string', - 'required' => true, - ], - 'allowPushRoles' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'allowPushUserIds' => [ + 'subject' => ['type' => 'string', 'required' => true], + 'assignedTo' => ['type' => 'string', 'required' => true], + 'spaceIdentifier' => ['type' => 'string', 'required' => true], + 'directoryIdentifier' => ['type' => 'string', 'required' => true], + 'priority' => ['type' => 'string', 'required' => false], + 'tags' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'allowMergeRoles' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'items' => ['type' => 'string', 'required' => false], ], - 'allowMergeUserIds' => [ + 'fieldValueList' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], ], - 'mergeRequestSetting' => [ + 'testcaseStepContentInfo' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'mrMode' => [ + 'precondition' => ['type' => 'string', 'required' => false], + 'stepType' => [ 'type' => 'string', - 'required' => false, - ], - 'isAllowSelfApproval' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isRequireDiscussionProcessed' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isResetApprovalWhenNewPush' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'minimumApproval' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'allowMergeRequestRoles' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'required' => true, + 'enum' => ['TEXT', 'TABLE'], ], - 'defaultAssignees' => [ + 'stepResultList' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - 'whiteList' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'testSettingDTO' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'codeGuidelinesDetection' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'sensitiveInfoDetection' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'checkTaskQualityConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'bizNo' => [ - 'type' => 'string', - 'required' => false, - ], - 'taskName' => [ - 'type' => 'string', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'checkConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'checkItems' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'properties' => [ + 'step' => ['type' => 'string', 'required' => false], + 'expected' => ['type' => 'string', 'required' => false], ], ], ], @@ -2383,176 +1729,94 @@ ], ], ], - 'DeleteBranch' => [ - 'path' => '/repository/{repositoryId}/branches/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateUserKey' => [ + 'path' => '/api/v3/user/keys/create', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'branchName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'publicKey' => ['type' => 'string', 'required' => true], + 'title' => ['type' => 'string', 'required' => true], + 'keyScope' => ['type' => 'string', 'required' => true], + 'expireTime' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'DeleteProtectedBranch' => [ - 'path' => '/repository/{repositoryId}/protect_branches/{protectedBranchId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateVariableGroup' => [ + 'path' => '/organization/{organizationId}/variableGroups', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'description', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'protectedBranchId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'variables', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateProtectedBranches' => [ - 'path' => '/{repositoryId}/protect_branches/{id}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkitem' => [ + 'path' => '/organization/{organizationId}/workitems/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'id', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -2560,639 +1824,424 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'branch' => [ - 'type' => 'string', - 'required' => true, - ], - 'allowPushRoles' => [ + 'subject' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'descriptionFormat' => ['type' => 'string', 'required' => false], + 'assignedTo' => ['type' => 'string', 'required' => true], + 'space' => ['type' => 'string', 'required' => true], + 'spaceIdentifier' => ['type' => 'string', 'required' => true], + 'spaceType' => ['type' => 'string', 'required' => true], + 'category' => ['type' => 'string', 'required' => true], + 'workitemType' => ['type' => 'string', 'required' => true], + 'fieldValueList' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + 'workitemIdentifier' => ['type' => 'string', 'required' => false], + ], ], ], - 'allowPushUserIds' => [ + 'sprint' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], - 'allowMergeRoles' => [ + 'tracker' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], - 'allowMergeUserIds' => [ + 'participant' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'mergeRequestSetting' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'mrMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'isAllowSelfApproval' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isRequireDiscussionProcessed' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'isResetApprovalWhenNewPush' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'minimumApproval' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'allowMergeRequestRoles' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'defaultAssignees' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'whiteList' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], - 'testSettingDTO' => [ - 'type' => 'object', + 'verifier' => [ + 'type' => 'array', 'required' => false, - 'properties' => [ - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'codeGuidelinesDetection' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'sensitiveInfoDetection' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'checkTaskQualityConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'bizNo' => [ - 'type' => 'string', - 'required' => false, - ], - 'taskName' => [ - 'type' => 'string', - 'required' => false, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'checkConfig' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'checkItems' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'isRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], + 'parent' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetBranchInfo' => [ - 'path' => '/repository/{repositoryId}/branches/detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkitemComment' => [ + 'path' => '/organization/{organizationId}/workitems/comment', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'branchName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => true], + 'workitemIdentifier' => ['type' => 'string', 'required' => true], + 'formatType' => ['type' => 'string', 'required' => true], + 'parentId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListRepositoryBranches' => [ - 'path' => '/repository/{repositoryId}/branches', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkitemEstimate' => [ + 'path' => '/organization/{organizationId}/workitems/estimate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'workitemIdentifier' => ['type' => 'string', 'required' => true], + 'spentTime' => ['type' => 'string', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'recordUserIdentifier' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListProtectedBranches' => [ - 'path' => '/repository/{repositoryId}/protect_branches', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkitemRecord' => [ + 'path' => '/organization/{organizationId}/workitems/record', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'properties' => [ + 'workitemIdentifier' => ['type' => 'string', 'required' => true], + 'actualTime' => ['type' => 'string', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'recordUserIdentifier' => ['type' => 'string', 'required' => true], + 'gmtStart' => ['type' => 'string', 'required' => true], + 'gmtEnd' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'GetMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWorkitemV2' => [ + 'path' => '/organization/{organizationId}/workitem', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'localId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'subject' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'assignedTo' => ['type' => 'string', 'required' => true], + 'spaceIdentifier' => ['type' => 'string', 'required' => true], + 'category' => ['type' => 'string', 'required' => true], + 'workitemTypeIdentifier' => ['type' => 'string', 'required' => true], + 'fieldValueList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'parentIdentifier' => ['type' => 'string', 'required' => false], + 'versions' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'sprintIdentifier' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'trackers' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'participants' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'verifier' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListMergeRequests' => [ - 'path' => '/api/v4/projects/merge_requests/advanced_search', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteAppMember' => [ + 'path' => '/appstack/apps/{appName}/members', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'page', + 'name' => 'subjectType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'subjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteBranch' => [ + 'path' => '/repository/{repositoryId}/branches/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'groupIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'projectIds', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'authorIds', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'reviewerIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'state', + 'name' => 'branchName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteFile' => [ + 'path' => '/repository/{repositoryId}/files/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'orderBy', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'labelIds', + 'name' => 'branchName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'createdBefore', + 'name' => 'filePath', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'createdAfter', + 'name' => 'commitMessage', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests', - 'methods' => [ - 'post', + 'DeleteFlowTag' => [ + 'path' => '/organization/{organizationId}/flow/tags/{id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteFlowTagGroup' => [ + 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteGroupMember' => [ + 'path' => '/repository/groups/{groupId}/members/remove/aliyun_pk', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'aliyunPk', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -3202,1024 +2251,602 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'sourceProjectId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'sourceBranch' => [ - 'type' => 'string', - 'required' => true, - ], - 'targetProjectId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'targetBranch' => [ - 'type' => 'string', - 'required' => true, - ], - 'title' => [ - 'type' => 'string', - 'required' => true, - ], - 'createFrom' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'reviewerIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'workItemIds' => [ - 'type' => 'string', - 'required' => false, - ], + 'memberType' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'UpdateMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteHostGroup' => [ + 'path' => '/organization/{organizationId}/hostGroups/{id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DeletePipeline' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'localId', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '999999999999999'], ], ], ], - 'UpdateMergeRequestPersonnel' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/person/{personType}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeletePipelineGroup' => [ + 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DeletePipelineRelations' => [ + 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'localId', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'personType', + 'name' => 'pipelineId', 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'relObjectType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['VARIABLE_GROUP', 'OSS_APP_ID'], ], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'newUserIdList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'name' => 'relObjectId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'MergeMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/merge', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteProject' => [ + 'path' => '/organization/{organizationId}/projects/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'identifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteProjectLabel' => [ + 'path' => '/api/v4/projects/labels/{labelId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'localId', + 'name' => 'labelId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'mergeType' => [ - 'type' => 'string', - 'required' => true, - ], - 'mergeMessage' => [ - 'type' => 'string', - 'required' => false, - ], - 'removeSourceBranch' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ReviewMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/submit_review_opinion', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteProtectedBranch' => [ + 'path' => '/repository/{repositoryId}/protect_branches/{protectedBranchId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', + 'name' => 'protectedBranchId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'reviewOpinion' => [ - 'type' => 'string', - 'required' => true, - ], - 'reviewComment' => [ - 'type' => 'string', - 'required' => false, - ], - 'draftCommentIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - 'CloseMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/close', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + ], + ], + 'DeletePushRule' => [ + 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', + 'name' => 'pushRuleId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ReopenMergeRequest' => [ - 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/reopen', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteRepository' => [ + 'path' => '/repository/{repositoryId}/remove', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'reason' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListMergeRequestPatchSets' => [ - 'path' => '/api/v4/projects/merge_requests/diffs/list_patchsets', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteRepositoryGroup' => [ + 'path' => '/repository/groups/{groupId}/remove', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'reason' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'GetMergeRequestChangeTree' => [ - 'path' => '/api/v4/projects/merge_requests/diffs/change_tree', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteRepositoryMember' => [ + 'path' => '/repository/{repositoryId}/members/delete/{aliyunPk}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'localId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'fromPatchSetBizId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'aliyunPk', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'toPatchSetBizId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'memberType' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListMergeRequestFilesReads' => [ - 'path' => '/api/v4/projects/merge_requests/diffs/files_read_infos', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteRepositoryWebhook' => [ + 'path' => '/repository/{repositoryId}/hooks/{hookId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'hookId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DeleteResourceMember' => [ + 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'fromPatchSetBizId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'toPatchSetBizId', - 'in' => 'query', + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, + 'minimum' => '1', + 'maximum' => '999999999999999', + 'enum' => ['pipeline', 'hostGroup'], ], ], + [ + 'name' => 'resourceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'accountId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'ListMergeRequestComments' => [ - 'path' => '/api/v4/projects/merge_requests/comments/list_comments', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteTag' => [ + 'path' => '/repository/{repositoryId}/tags/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'localId', + 'name' => 'tagName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'patchSetBizIds' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'commentType' => [ - 'type' => 'string', - 'required' => false, - ], - 'filePath' => [ - 'type' => 'string', - 'required' => false, - ], - 'state' => [ - 'type' => 'string', - 'required' => false, - ], - 'resolved' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateComment' => [ - 'path' => '/api/v4/projects/code_reviews/comments/create_comment', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteUserKey' => [ + 'path' => '/api/v3/user/keys/{keyId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'localId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'commentType' => [ - 'type' => 'string', - 'required' => true, - ], - 'parentCommentBizId' => [ - 'type' => 'string', - 'required' => false, - ], - 'resolved' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'filePath' => [ - 'type' => 'string', - 'required' => false, - ], - 'lineNumber' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'patchSetBizId' => [ - 'type' => 'string', - 'required' => false, - ], - 'draft' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'fromPachSetBizId' => [ - 'type' => 'string', - 'required' => false, - ], - 'toPatchSetBizId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'keyId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'GetCompareDetail' => [ - 'path' => '/repository/{repositoryId}/commits/compare/detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteVariableGroup' => [ + 'path' => '/organization/{organizationId}/variableGroups/{id}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'from', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'to', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DeleteWorkitem' => [ + 'path' => '/organization/{organizationId}/workitem/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'mergeBase', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'maxDiffFile', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxDiffByte', + 'name' => 'identifier', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateCommitStatus' => [ - 'path' => '/api/v4/projects/repository/commit_statuses/create_commit_status', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWorkitemAllComment' => [ + 'path' => '/organization/{organizationId}/workitems/deleteAllComment', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'identifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteWorkitemComment' => [ + 'path' => '/organization/{organizationId}/workitems/deleteComent', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'sha', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4229,144 +2856,80 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'state' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'targetUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'context' => [ - 'type' => 'string', - 'required' => false, - ], + 'identifier' => ['type' => 'string', 'required' => true], + 'commentId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], ], ], - 'ListCommitStatuses' => [ - 'path' => '/api/v4/projects/repository/commit_statuses/list_commit_statuses', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'EnableDeployKey' => [ + 'path' => '/repository/{repositoryId}/keys/{keyId}/enable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'sha', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'keyId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateCheckRun' => [ - 'path' => '/api/v4/projects/check_runs/create_check_run', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ExecuteChangeRequestReleaseStage' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}:execute', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'releaseWorkflowSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4376,186 +2939,64 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'headSha' => [ - 'type' => 'string', - 'required' => true, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'conclusion' => [ - 'type' => 'string', - 'required' => false, - ], - 'startedAt' => [ - 'type' => 'string', - 'required' => false, - ], - 'completedAt' => [ - 'type' => 'string', - 'required' => false, - ], - 'externalId' => [ - 'type' => 'string', - 'required' => false, - ], - 'detailsUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'output' => [ + 'params' => [ 'type' => 'object', 'required' => false, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => true, - ], - 'summary' => [ - 'type' => 'string', - 'required' => true, - ], - 'text' => [ - 'type' => 'string', - 'required' => false, - ], - 'images' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'alt' => [ - 'type' => 'string', - 'required' => true, - ], - 'imageUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'caption' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'annotations' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'path' => [ - 'type' => 'string', - 'required' => true, - ], - 'startLine' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'endLine' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'startColumn' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'endColumn' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'annotationLevel' => [ - 'type' => 'string', - 'required' => true, - ], - 'message' => [ - 'type' => 'string', - 'required' => true, - ], - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'rawDetails' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], ], - 'UpdateCheckRun' => [ - 'path' => '/api/v4/projects/check_runs/update_check_run', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ExportInsightCustomValue' => [ + 'path' => '/organization/{organizationId}/data/customValues', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], + ], + ], + 'ExportInsightExpectedWorkTime' => [ + 'path' => '/organization/{organizationId}/data/expectedWorkTimes', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'checkRunId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4565,304 +3006,129 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'startedAt' => [ - 'type' => 'string', - 'required' => false, - ], - 'completedAt' => [ - 'type' => 'string', - 'required' => false, - ], - 'externalId' => [ - 'type' => 'string', - 'required' => false, - ], - 'detailsUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'conclusion' => [ - 'type' => 'string', - 'required' => false, - ], - 'output' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'summary' => [ - 'type' => 'string', - 'required' => true, - ], - 'text' => [ - 'type' => 'string', - 'required' => false, - ], - 'images' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'alt' => [ - 'type' => 'string', - 'required' => true, - ], - 'imageUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'caption' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'annotations' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'path' => [ - 'type' => 'string', - 'required' => true, - ], - 'startLine' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'endLine' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'startColumn' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'endColumn' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'annotationLevel' => [ - 'type' => 'string', - 'required' => true, - ], - 'message' => [ - 'type' => 'string', - 'required' => true, - ], - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'rawDetails' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'GetCheckRun' => [ - 'path' => '/api/v4/projects/check_runs/get_check_run', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ExportInsightField' => [ + 'path' => '/organization/{organizationId}/data/fields', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'checkRunId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'ListCheckRuns' => [ - 'path' => '/api/v4/projects/check_runs/list_check_runs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ExportInsightSpace' => [ + 'path' => '/organization/{organizationId}/data/spaces', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], + ], + ], + 'ExportInsightSpaceRef' => [ + 'path' => '/organization/{organizationId}/data/spaceRefs', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ref', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'CreateTag' => [ - 'path' => '/repository/{repositoryId}/tags/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportInsightSprint' => [ + 'path' => '/organization/{organizationId}/data/sprints', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4870,148 +3136,153 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'tagName' => [ - 'type' => 'string', - 'required' => true, - ], - 'ref' => [ - 'type' => 'string', - 'required' => true, - ], - 'message' => [ - 'type' => 'string', - 'required' => false, - ], + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'DeleteTag' => [ - 'path' => '/repository/{repositoryId}/tags/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportInsightTagRef' => [ + 'path' => '/organization/{organizationId}/data/tagRefs', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], + ], + ], + 'ExportInsightWorkTime' => [ + 'path' => '/organization/{organizationId}/data/workTimes', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'repositoryId', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tagName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'GetRepositoryTag' => [ - 'path' => '/repository/{repositoryId}/tag/info', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportInsightWorkitemStatus' => [ + 'path' => '/organization/{organizationId}/data/workitemStatuses', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], + ], + ], + 'ExportInsightWorkitemStatusJoinWorkitemDefectExtra' => [ + 'path' => '/organization/{organizationId}/data/workitemStatusJoinWorkitemDefectExtras', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'repositoryId', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tagName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'ListRepositoryTags' => [ - 'path' => '/repository/{repositoryId}/tag/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportInsightWorkitemVersion' => [ + 'path' => '/organization/{organizationId}/data/workitemVersions', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5021,109 +3292,41 @@ 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'CreateProjectLabel' => [ - 'path' => '/api/v4/projects/labels', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ExportWorkitemActivity' => [ + 'path' => '/organization/{organizationId}/data/workitemActivities', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -5133,1022 +3336,645 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'color' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], + 'startTime' => ['type' => 'string', 'required' => true], + 'endTime' => ['type' => 'string', 'required' => true], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'UpdateProjectLabel' => [ - 'path' => '/api/v4/projects/labels/{labelId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetApplication' => [ + 'path' => '/appstack/apps/{appName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetBranchInfo' => [ + 'path' => '/repository/{repositoryId}/branches/detail', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'labelId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'repositoryIdentity', + 'name' => 'branchName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'color' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteProjectLabel' => [ - 'path' => '/api/v4/projects/labels/{labelId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetCheckRun' => [ + 'path' => '/api/v4/projects/check_runs/get_check_run', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'labelId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryIdentity', + 'name' => 'checkRunId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListProjectLabels' => [ - 'path' => '/api/v4/projects/labels', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetCodeupOrganization' => [ + 'path' => '/api/organization/{identity}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'identity', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetCompareDetail' => [ + 'path' => '/repository/{repositoryId}/commits/compare/detail', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'repositoryIdentity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'search', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'page', + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'from', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'to', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'orderBy', + 'name' => 'mergeBase', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'sort', + 'name' => 'maxDiffFile', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'withCounts', + 'name' => 'maxDiffByte', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'ListMergeRequestLabels' => [ - 'path' => '/api/v4/projects/merge_requests/labels', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetCustomFieldOption' => [ + 'path' => '/organization/{organizationId}/fields/{fieldId}/getCustomOption', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'spaceIdentifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryIdentity', + 'name' => 'spaceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'localId', + 'name' => 'workitemTypeIdentifier', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'fieldId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'LinkMergeRequestLabel' => [ - 'path' => '/api/v4/projects/merge_requests/link_labels', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetFileBlobs' => [ + 'path' => '/repository/{repositoryId}/files/blobs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryIdentity', + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'filePath', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'localId', + 'name' => 'ref', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'labelIds' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'name' => 'from', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'to', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'AddWebhook' => [ - 'path' => '/repository/{repositoryId}/webhooks/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFileLastCommit' => [ + 'path' => '/repository/{repositoryId}/files/lastCommit', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'], + ], [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'sha', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], + 'name' => 'filePath', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'url' => [ - 'type' => 'string', - 'required' => true, - ], - 'pushEvents' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'mergeRequestsEvents' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'tagPushEvents' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'noteEvents' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableSslVerification' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'secretToken' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'showSignature', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteRepositoryWebhook' => [ - 'path' => '/repository/{repositoryId}/hooks/{hookId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFlowTagGroup' => [ + 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'hookId', + 'name' => 'id', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListRepositoryWebhook' => [ - 'path' => '/repository/{repositoryId}/webhooks/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetGroupByPath' => [ + 'path' => '/api/4/groups/find_by_path', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '9223372036854775807', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'identity', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateRepositoryGroup' => [ - 'path' => '/repository/groups/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetGroupDetail' => [ + 'path' => '/repository/groups/get_detail', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'path' => [ - 'type' => 'string', - 'required' => true, - ], - 'visibilityLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'parentId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'avatarUrl' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'groupId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'DeleteRepositoryGroup' => [ - 'path' => '/repository/groups/{groupId}/remove', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetHostGroup' => [ + 'path' => '/organization/{organizationId}/hostGroups/{id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/detail', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'reason' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'UpdateGroup' => [ - 'path' => '/groups/modify', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetMergeRequestChangeTree' => [ + 'path' => '/api/v4/projects/merge_requests/diffs/change_tree', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'pathWithNamespace' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'path' => [ - 'type' => 'string', - 'required' => true, - ], - 'visibilityLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'avatarUrl' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'fromPatchSetBizId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'toPatchSetBizId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetGroupDetail' => [ - 'path' => '/repository/groups/get_detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetOrganizationMember' => [ + 'path' => '/organization/{organizationId}/members/{accountId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'groupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'accountId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetGroupByPath' => [ - 'path' => '/api/4/groups/find_by_path', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetPipeline' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'identity', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListRepositoryGroups' => [ - 'path' => '/repository/groups/get/all', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPipelineArtifactUrl' => [ + 'path' => '/organization/{organizationId}/pipeline/getArtifactDownloadUrl', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'filePath', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000], ], [ - 'name' => 'parentId', + 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetPipelineEmasArtifactUrl' => [ + 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/emas/artifact/{emasJobInstanceId}/{md5}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'emasJobInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'md5', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'includePersonal', + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'serviceConnectionId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListGroupRepositories' => [ - 'path' => '/repository/groups/{groupId}/projects', - 'methods' => [ - 'get', + 'GetPipelineGroup' => [ + 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => [], + 'produces' => [], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], + ], + 'GetPipelineRun' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6158,559 +3984,324 @@ 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'groupId', + 'name' => 'pipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'GetPipelineScanReportUrl' => [ + 'path' => '/organization/{organizationId}/pipeline/getPipelineScanReportUrl', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'reportPath', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000], ], ], ], - 'UpdatePushReviewOnOff' => [ - 'path' => '/repository/{repositoryId}/settings/trunk_mode', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetProjectInfo' => [ + 'path' => '/organization/{organizationId}/project/{projectId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'trunkMode', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => true, - ], + 'name' => 'projectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreatePushRule' => [ - 'path' => '/api/v4/projects/{repositoryId}/push_rule', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetProjectMember' => [ + 'path' => '/repository/{repositoryId}/members/get/{aliyunPk}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ruleInfos' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'checkerName' => [ - 'type' => 'string', - 'required' => false, - ], - 'extraMessage' => [ - 'type' => 'string', - 'required' => false, - ], - 'checkerType' => [ - 'type' => 'string', - 'required' => false, - ], - 'fileRuleRegexes' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], + 'name' => 'aliyunPk', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdatePushRule' => [ - 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetReleaseStagePipelineRun' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:getPipelineRun', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryId', + 'name' => 'releaseWorkflowSn', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pushRuleId', + 'name' => 'releaseStageSn', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ruleInfos' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'checkerName' => [ - 'type' => 'string', - 'required' => false, - ], - 'extraMessage' => [ - 'type' => 'string', - 'required' => false, - ], - 'checkerType' => [ - 'type' => 'string', - 'required' => false, - ], - 'fileRuleRegexes' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], + 'name' => 'executionNumber', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeletePushRule' => [ - 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetRepository' => [ + 'path' => '/repository/get', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pushRuleId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'identity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListPushRules' => [ - 'path' => '/api/v4/projects/{repositoryId}/push_rule/push_rules/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetRepositoryCommit' => [ + 'path' => '/repository/{repositoryId}/commits/{sha}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'sha', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'showSignature', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'CreateDeployKey' => [ - 'path' => '/repository/{repositoryId}/keys/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRepositoryTag' => [ + 'path' => '/repository/{repositoryId}/tag/info', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => true, - ], - 'key' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'tagName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'EnableDeployKey' => [ - 'path' => '/repository/{repositoryId}/keys/{keyId}/enable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSearchCodePreview' => [ + 'path' => '/search/code_preview', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'docId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repositoryId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'keyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'isDsl', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'CreateUserKey' => [ - 'path' => '/api/v3/user/keys/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetSprintInfo' => [ + 'path' => '/organization/{organizationId}/sprints/{sprintId}/getSprintinfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'sprintId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetTestResultList' => [ + 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresults', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'testPlanIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -6720,709 +4311,382 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'publicKey' => [ - 'type' => 'string', - 'required' => true, - ], - 'title' => [ - 'type' => 'string', - 'required' => true, - ], - 'keyScope' => [ - 'type' => 'string', - 'required' => true, - ], - 'expireTime' => [ - 'type' => 'string', - 'required' => false, - ], + 'directoryIdentifier' => ['type' => 'string', 'required' => true], + 'conditions' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DeleteUserKey' => [ - 'path' => '/api/v3/user/keys/{keyId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetTestcaseList' => [ + 'path' => '/organization/{organizationId}/testhub/testcases', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'keyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'properties' => [ + 'spaceIdentifier' => ['type' => 'string', 'required' => true], + 'directoryIdentifier' => ['type' => 'string', 'required' => false], + 'conditions' => ['type' => 'string', 'required' => false], + 'nextToken' => ['type' => 'string', 'required' => false], + 'maxResult' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListUserKeys' => [ - 'path' => '/api/v3/user/keys', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetUserInfo' => [ + 'path' => '/users/current', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetVMDeployOrder' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListSearchSourceCode' => [ - 'path' => '/search/code', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetVariableGroup' => [ + 'path' => '/organization/{organizationId}/variableGroups/{id}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'keyword' => [ - 'type' => 'string', - 'required' => true, - ], - 'page' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'pageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sort' => [ - 'type' => 'string', - 'required' => false, - ], - 'order' => [ - 'type' => 'string', - 'required' => false, - ], - 'scope' => [ - 'type' => 'string', - 'required' => false, - ], - 'repoPath' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'operatorType' => [ - 'type' => 'string', - 'required' => false, - ], - 'matchType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'filePath' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'operatorType' => [ - 'type' => 'string', - 'required' => false, - ], - 'matchType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'language' => [ - 'type' => 'string', - 'required' => false, - ], - 'isCodeBlock' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListSearchRepository' => [ - 'path' => '/search/repo', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkItemActivity' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/getActivity', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'keyword' => [ - 'type' => 'string', - 'required' => true, - ], - 'aliyunPk' => [ - 'type' => 'string', - 'required' => false, - ], - 'visibilityLevel' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'page' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'pageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sort' => [ - 'type' => 'string', - 'required' => false, - ], - 'order' => [ - 'type' => 'string', - 'required' => false, - ], - 'scope' => [ - 'type' => 'string', - 'required' => false, - ], - 'repoPath' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'operatorType' => [ - 'type' => 'string', - 'required' => false, - ], - 'matchType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'name' => 'workitemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListSearchCommit' => [ - 'path' => '/search/commit', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkItemInfo' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'keyword' => [ - 'type' => 'string', - 'required' => true, - ], - 'page' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'pageSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'order' => [ - 'type' => 'string', - 'required' => false, - ], - 'sort' => [ - 'type' => 'string', - 'required' => false, - ], - 'scope' => [ - 'type' => 'string', - 'required' => false, - ], - 'repoPath' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'operatorType' => [ - 'type' => 'string', - 'required' => false, - ], - 'matchType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'name' => 'workitemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetSearchCodePreview' => [ - 'path' => '/search/code_preview', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkItemWorkFlowInfo' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/getWorkflowInfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'docId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'keyword', + 'name' => 'configurationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'isDsl', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'workitemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetCodeupOrganization' => [ - 'path' => '/api/organization/{identity}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkitemAttachmentCreatemeta' => [ + 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment/createmeta', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'identity', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessToken', + 'name' => 'workitemIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'fileName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListOrganizations' => [ - 'path' => '/organizations/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkitemCommentList' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/commentList', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'workitemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetWorkitemFile' => [ + 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/files/{fileIdentifier}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accessLevel', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'workitemIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'minAccessLevel', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'fileIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetUserInfo' => [ - 'path' => '/users/current', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetWorkitemRelations' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/getRelations', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'workitemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'relationType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListUserResources' => [ - 'path' => '/api/v4/user/vision/user_resources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetWorkitemTimeTypeList' => [ + 'path' => '/organization/{organizationId}/workitems/type/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'JoinPipelineGroup' => [ + 'path' => '/organization/{organizationId}/pipelineGroups/join', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'accessToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => [], + 'produces' => [], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'userIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'page', + 'name' => 'pipelineIds', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'groupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateOAuthToken' => [ - 'path' => '/login/oauth/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'LinkMergeRequestLabel' => [ + 'path' => '/api/v4/projects/merge_requests/link_labels', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -7431,1107 +4695,761 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'clientId' => [ - 'type' => 'string', - 'required' => true, - ], - 'clientSecret' => [ - 'type' => 'string', - 'required' => true, - ], - 'grantType' => [ - 'type' => 'string', - 'required' => true, - ], - 'scope' => [ - 'type' => 'string', + 'labelIds' => [ + 'type' => 'array', 'required' => true, - ], - 'code' => [ - 'type' => 'string', - 'required' => false, - ], - 'login' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'CreateServiceConnection' => [ - 'path' => '/organization/{organizationId}/createServiceConnection', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAllReleaseWorkflows' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'connectionType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'ecs', - 'ack', - 'oss', - 'edas', - 'sae', - 'ros', - 'fc', - 'emas', - 'customGitlab', - 'git', - 'gitlab', - 'bitbucket', - 'docker_register_aliyun', - 'ess', - 'Codeup', - ], - ], - 'connectionName' => [ - 'type' => 'string', - 'required' => true, - ], - 'serviceAuthId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'scope' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'PERSONAL', - 'GLOBAL', - 'CUSTOM', - ], - ], - 'authType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'CREDENTIAL', - 'AUTHENTICATION', - ], - ], - ], - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateServiceAuth' => [ - 'path' => '/organization/{organizationId}/serviceAuths', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAppReleaseStageExecutionIntegratedMetadata' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}/integratedMetadata', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'serviceAuthType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'RAM', - ], - ], + 'name' => 'releaseWorkflowSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'executionNumber', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateServiceCredential' => [ - 'path' => '/organization/{organizationId}/serviceCredentials', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAppReleaseStageExecutions' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 100, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'USERNAME_PASSWORD', - ], - ], - 'scope' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'PERSON', - ], - ], - 'username' => [ - 'type' => 'string', - 'required' => true, - ], - 'password' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'releaseWorkflowSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'ListServiceCredentials' => [ - 'path' => '/organization/{organizationId}/serviceCredentials', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pagination', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'serviceCredentialType', + 'name' => 'perPage', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'USERNAME_PASSWORD', - ], - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - ], - 'ListServiceAuths' => [ - 'path' => '/organization/{organizationId}/serviceAuths', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'serviceAuthType', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'RAM', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'ListServiceConnections' => [ - 'path' => '/organization/{organizationId}/serviceConnections', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListApplicationMembers' => [ + 'path' => '/appstack/apps/{appName}/members', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'sericeConnectionType', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopVMDeployOrder' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListApplications' => [ + 'path' => '/appstack/apps:search', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pagination', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'perPage', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'deployOrderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'SkipVMDeployMachine' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/skip', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListChangeRequestWorkflowExecutions' => [ + 'path' => '/appstack/apps/{appName}/changeRequests/{sn}/executions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pipelineId', + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'deployOrderId', + 'name' => 'sn', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'machineSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'perPage', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], - ], - ], - 'RetryVMDeployMachine' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'deployOrderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'releaseWorkflowSn', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'machineSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'releaseStageSn', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ResumeVMDeployOrder' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/resume', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListChangeRequests' => [ + 'path' => '/appstack/apps/{appName}/changeRequests', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pipelineId', + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'deployOrderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'pagination', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'GetVMDeployOrder' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'perPage', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'stateList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'pipelineId', - 'in' => 'path', + 'name' => 'ownerIdList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'deployOrderId', - 'in' => 'path', + 'name' => 'appNameList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'displayNameKeyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], - 'LogVMDeployMachine' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/log', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCheckRuns' => [ + 'path' => '/api/v4/projects/check_runs/list_check_runs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'deployOrderId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'machineSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'ref', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'CreatePipelineGroup' => [ - 'path' => '/organization/{organizationId}/pipelineGroups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCommitStatuses' => [ + 'path' => '/api/v4/projects/repository/commit_statuses/list_commit_statuses', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 40, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'sha', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'DeletePipelineGroup' => [ - 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFlowTagGroups' => [ + 'path' => '/organization/{organizationId}/flow/tagGroups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'JoinPipelineGroup' => [ - 'path' => '/organization/{organizationId}/pipelineGroups/join', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListGroupMember' => [ + 'path' => '/repository/groups/{groupId}/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pipelineIds', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'UpdatePipelineGroup' => [ - 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListGroupRepositories' => [ + 'path' => '/repository/groups/{groupId}/projects', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 40, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetPipelineGroup' => [ - 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListHostGroups' => [ + 'path' => '/organization/{organizationId}/hostGroups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListPipelineGroupPipelines' => [ - 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}/pipelines', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [], - 'produces' => [], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'maxResults', + 'name' => 'ids', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'maximum' => '50', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'createStartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'createEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'pipelineName', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'executeStartTime', + 'name' => 'creatorAccountIds', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'executeEndTime', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'createStartTime', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'resultStatusList', + 'name' => 'pageSort', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'createEndTime', + 'name' => 'pageOrder', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPipelineGroups' => [ - 'path' => '/organization/{organizationId}/pipelineGroups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'ListJoinedOrganizations' => [ + 'path' => '/users/joinedOrgs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListMergeRequestComments' => [ + 'path' => '/api/v4/projects/merge_requests/comments/list_comments', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxResults', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'maximum' => '50', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'localId', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'patchSetBizIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'commentType' => ['type' => 'string', 'required' => false], + 'filePath' => ['type' => 'string', 'required' => false], + 'state' => ['type' => 'string', 'required' => false], + 'resolved' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'CreateFlowTag' => [ - 'path' => '/organization/{organizationId}/flow/tags', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMergeRequestFilesReads' => [ + 'path' => '/api/v4/projects/merge_requests/diffs/files_read_infos', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'color', + 'name' => 'repositoryIdentity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - '#1F9AEF', - '#E63A3A', - '#FA8C15', - '#15AD31', - '#7978E5', - '#8C8C8C', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'flowTagGroupId', + 'name' => 'localId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'fromPatchSetBizId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'toPatchSetBizId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateFlowTagGroup' => [ - 'path' => '/organization/{organizationId}/flow/tagGroups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMergeRequestLabels' => [ + 'path' => '/api/v4/projects/merge_requests/labels', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'name', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'DeleteFlowTagGroup' => [ - 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMergeRequestPatchSets' => [ + 'path' => '/api/v4/projects/merge_requests/diffs/list_patchsets', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8541,65 +5459,125 @@ 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'DeleteFlowTag' => [ - 'path' => '/organization/{organizationId}/flow/tags/{id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMergeRequests' => [ + 'path' => '/api/v4/projects/merge_requests/advanced_search', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'groupIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'projectIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'authorIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'reviewerIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'state', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'labelIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'createdBefore', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'createdAfter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateFlowTag' => [ - 'path' => '/organization/{organizationId}/flow/tags/{id}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListOrganizationMembers' => [ + 'path' => '/organization/{organizationId}/members', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8610,142 +5588,184 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'organizationMemberName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'color', + 'name' => 'provider', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - '#1F9AEF', - '#E63A3A', - '#FA8C15', - '#15AD31', - '#7978E5', - '#8C8C8C', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'flowTagGroupId', + 'name' => 'externUid', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'name', + 'name' => 'state', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '200'], + ], + [ + 'name' => 'joinTimeFrom', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'joinTimeTo', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'containsExternInfo', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdateFlowTagGroup' => [ - 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', - 'methods' => [ - 'put', + 'ListOrganizations' => [ + 'path' => '/organizations/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'accessLevel', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'minAccessLevel', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], + ], + 'ListPipelineGroupPipelines' => [ + 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}/pipelines', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'id', + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '50'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'name', + 'name' => 'pipelineName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'executeStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'executeEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'createStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'resultStatusList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'createEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'GetFlowTagGroup' => [ - 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineGroups' => [ + 'path' => '/organization/{organizationId}/pipelineGroups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '50'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListFlowTagGroups' => [ - 'path' => '/organization/{organizationId}/flow/tagGroups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineJobHistorys' => [ + 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/job/historys', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8756,22 +5776,43 @@ [ 'name' => 'organizationId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000], + ], + [ + 'name' => 'category', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['DEPLOY'], ], ], + [ + 'name' => 'identifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '50'], + ], ], ], - 'CreateSshKey' => [ - 'path' => '/organization/{organizationId}/sshKey', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineJobs' => [ + 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/jobs', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8782,22 +5823,28 @@ [ 'name' => 'organizationId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000], + ], + [ + 'name' => 'category', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['DEPLOY'], ], ], ], ], - 'ResetSshKey' => [ - 'path' => '/organization/{organizationId}/sshKey', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineRelations' => [ + 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8808,2697 +5855,207 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'CreateResourceMember' => [ - 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minimum' => '1', - 'maximum' => '999999999999999', - 'enum' => [ - 'pipeline', - 'hostGroup', - ], - ], - ], - [ - 'name' => 'accountId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'roleName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'DeleteResourceMember' => [ - 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minimum' => '1', - 'maximum' => '999999999999999', - 'enum' => [ - 'pipeline', - 'hostGroup', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceId', + 'name' => 'pipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'accountId', - 'in' => 'path', + 'name' => 'relObjectType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['VARIABLE_GROUP', 'OSS_APP_ID'], ], ], ], ], - 'UpdateResourceMember' => [ - 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineRuns' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minimum' => '1', - 'maximum' => '999999999999999', - 'enum' => [ - 'pipeline', - 'hostGroup', - ], - ], - ], - [ - 'name' => 'roleName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'accountId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'ListResourceMembers' => [ - 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'resourceType', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'pipeline', - 'hostGroup', - ], - ], + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'resourceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], - ], - ], - 'CreateHostGroup' => [ - 'path' => '/organization/{organizationId}/hostGroups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', + 'name' => 'pipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'type', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'ECS', - ], - ], - ], - [ - 'name' => 'envId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'serviceConnectionId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'tagIds', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'ecsType', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'ECS_ALIYUN', - ], - ], - ], - [ - 'name' => 'ecsLabelKey', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ecsLabelValue', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'aliyunRegion', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'machineInfos', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DeleteHostGroup' => [ - 'path' => '/organization/{organizationId}/hostGroups/{id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'UpdateHostGroup' => [ - 'path' => '/organization/{organizationId}/hostGroups/{id}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'type', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'ECS', - ], - ], - ], - [ - 'name' => 'envId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'serviceConnectionId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'tagIds', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ecsType', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'ECS_ALIYUN', - ], - ], - ], - [ - 'name' => 'ecsLabelKey', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ecsLabelValue', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'aliyunRegion', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'machineInfos', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'GetHostGroup' => [ - 'path' => '/organization/{organizationId}/hostGroups/{id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListHostGroups' => [ - 'path' => '/organization/{organizationId}/hostGroups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ids', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'createStartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'createEndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'creatorAccountIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageOrder', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'CreateVariableGroup' => [ - 'path' => '/organization/{organizationId}/variableGroups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'description', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'variables', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteVariableGroup' => [ - 'path' => '/organization/{organizationId}/variableGroups/{id}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'UpdateVariableGroup' => [ - 'path' => '/organization/{organizationId}/variableGroups/{id}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'description', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'variables', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'GetVariableGroup' => [ - 'path' => '/organization/{organizationId}/variableGroups/{id}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'id', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListVariableGroups' => [ - 'path' => '/organization/{organizationId}/variableGroups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pageSort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageOrder', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'CreatePipeline' => [ - 'path' => '/organization/{organizationId}/pipelines', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'content', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeletePipeline' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'minimum' => '1', - 'maximum' => '999999999999999', - ], - ], - ], - ], - 'DeletePipelineRelations' => [ - 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'relObjectType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'VARIABLE_GROUP', - 'OSS_APP_ID', - ], - ], - ], - [ - 'name' => 'relObjectId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'UpdatePipeline' => [ - 'path' => '/organization/{organizationId}/pipelines/update', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'name', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'content', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'StartPipelineRun' => [ - 'path' => '/organizations/{organizationId}/pipelines/{pipelineId}/run', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'params', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'StopPipelineJobRun' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'StopPipelineRun' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/stop', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'UpdatePipelineBaseInfo' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/baseInfo', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pipelineName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'envId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enum' => [ - '0', - '1', - '2', - ], - ], - ], - [ - 'name' => 'tagList', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'RetryPipelineJobRun' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'SkipPipelineJobRun' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/skip', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'PassPipelineValidate' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/pass', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'RefusePipelineValidate' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/refuse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'AddPipelineRelations' => [ - 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'relObjectType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'VARIABLE_GROUP', - 'OOS_APP_ID', - ], - ], - ], - [ - 'name' => 'relObjectIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetPipeline' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'GetPipelineRun' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListPipelineRuns' => [ - 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'startTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'endTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'triggerMode', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'ListPipelines' => [ - 'path' => '/organization/{organizationId}/pipelines', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'creatorAccountIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'executeAccountIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'statusList', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'createStartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'createEndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'executeStartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'executeEndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetPipelineArtifactUrl' => [ - 'path' => '/organization/{organizationId}/pipeline/getArtifactDownloadUrl', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'filePath', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 1000, - ], - ], - [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'GetPipelineEmasArtifactUrl' => [ - 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/emas/artifact/{emasJobInstanceId}/{md5}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'emasJobInstanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'md5', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'serviceConnectionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'GetPipelineScanReportUrl' => [ - 'path' => '/organization/{organizationId}/pipeline/getPipelineScanReportUrl', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'reportPath', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 1000, - ], - ], - ], - ], - 'ListPipelineJobHistorys' => [ - 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/job/historys', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 1000, - ], - ], - [ - 'name' => 'category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'DEPLOY', - ], - ], - ], - [ - 'name' => 'identifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '50', - ], - ], - ], - ], - 'ListPipelineJobs' => [ - 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/jobs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'maxLength' => 1000, - ], - ], - [ - 'name' => 'category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'DEPLOY', - ], - ], - ], - ], - ], - 'LogPipelineJobRun' => [ - 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/job/{jobId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'jobId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - 'ListPipelineRelations' => [ - 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pipelineId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'relObjectType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'VARIABLE_GROUP', - 'OSS_APP_ID', - ], - ], - ], - ], - ], - 'WorkitemAttachmentCreate' => [ - 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'workitemIdentifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fileKey' => [ - 'type' => 'string', - 'required' => true, - ], - 'originalFilename' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - ], - ], - 'ListWorkitemAttachments' => [ - 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachments', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'workitemIdentifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'CreateWorkitemV2' => [ - 'path' => '/organization/{organizationId}/workitem', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [], - 'produces' => [], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'subject' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'assignedTo' => [ - 'type' => 'string', - 'required' => true, - ], - 'spaceIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'category' => [ - 'type' => 'string', - 'required' => true, - ], - 'workitemTypeIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'fieldValueList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'parentIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'versions' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'sprintIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'trackers' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'participants' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'verifier' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'CreateWorkitemRecord' => [ - 'path' => '/organization/{organizationId}/workitems/record', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'actualTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'recordUserIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'gmtStart' => [ - 'type' => 'string', - 'required' => true, - ], - 'gmtEnd' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - ], - ], - 'CreateWorkitem' => [ - 'path' => '/organization/{organizationId}/workitems/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'subject' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'descriptionFormat' => [ - 'type' => 'string', - 'required' => false, - ], - 'assignedTo' => [ - 'type' => 'string', - 'required' => true, - ], - 'space' => [ - 'type' => 'string', - 'required' => true, - ], - 'spaceIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'spaceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'category' => [ - 'type' => 'string', - 'required' => true, - ], - 'workitemType' => [ - 'type' => 'string', - 'required' => true, - ], - 'fieldValueList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sprint' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'tracker' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'participant' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'verifier' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'parent' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'triggerMode', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'CreateWorkitemComment' => [ - 'path' => '/organization/{organizationId}/workitems/comment', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelines' => [ + 'path' => '/organization/{organizationId}/pipelines', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'formatType' => [ - 'type' => 'string', - 'required' => true, - ], - 'parentId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'creatorAccountIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'executeAccountIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'statusList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'createStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'createEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'executeStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'executeEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteWorkitemComment' => [ - 'path' => '/organization/{organizationId}/workitems/deleteComent', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectLabels' => [ + 'path' => '/api/v4/projects/labels', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'identifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'commentId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'withCounts', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteWorkitemAllComment' => [ - 'path' => '/organization/{organizationId}/workitems/deleteAllComment', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectMembers' => [ + 'path' => '/organization/{organizationId}/projects/{projectId}/listMembers', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11509,30 +6066,24 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'identifier', + 'name' => 'projectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'targetType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateWorkitemComment' => [ - 'path' => '/organization/{organizationId}/workitems/commentUpdate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectTemplates' => [ + 'path' => '/organization/{organizationId}/projects/listTemplates', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11543,50 +6094,19 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'content' => [ - 'type' => 'string', - 'required' => true, - ], - 'formatType' => [ - 'type' => 'string', - 'required' => true, - ], - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'commentId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], + 'name' => 'category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateWorkItem' => [ - 'path' => '/organization/{organizationId}/workitems/update', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectWorkitemTypes' => [ + 'path' => '/organization/{organizationId}/projects/{projectId}/getWorkitemType', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11597,347 +6117,452 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'propertyKey' => [ - 'type' => 'string', - 'required' => true, - ], - 'propertyValue' => [ - 'type' => 'string', - 'required' => true, - ], - 'identifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'fieldType' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'projectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'spaceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetWorkitemAttachmentCreatemeta' => [ - 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment/createmeta', - 'methods' => [ - 'get', + 'ListProjects' => [ + 'path' => '/organization/{organizationId}/listProjects', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'extraConditions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'conditions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'scope', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ListProtectedBranches' => [ + 'path' => '/repository/{repositoryId}/protect_branches', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemIdentifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'fileName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'GetWorkitemTimeTypeList' => [ - 'path' => '/organization/{organizationId}/workitems/type/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPushRules' => [ + 'path' => '/api/v4/projects/{repositoryId}/push_rule/push_rules/list', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'GetWorkitemRelations' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/getRelations', - 'methods' => [ - 'get', + 'ListRepositories' => [ + 'path' => '/repository/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'perPage', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'archived', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'minAccessLevel', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], + ], + 'ListRepositoryBranches' => [ + 'path' => '/repository/{repositoryId}/branches', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemId', + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'relationType', + 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetWorkitemCommentList' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/commentList', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryCommitDiff' => [ + 'path' => '/repository/{repositoryId}/commits/{sha}/diff', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'workitemId', + 'name' => 'sha', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'contextLine', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'CreateWorkitemEstimate' => [ - 'path' => '/organization/{organizationId}/workitems/estimate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryCommits' => [ + 'path' => '/repository/{repositoryId}/commits', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'spentTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'recordUserIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'refName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'path', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'showSignature', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'showCommentsCount', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetCustomFieldOption' => [ - 'path' => '/organization/{organizationId}/fields/{fieldId}/getCustomOption', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryGroups' => [ + 'path' => '/repository/groups/get/all', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'parentId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'spaceIdentifier', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'spaceType', + 'name' => 'search', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workitemTypeIdentifier', + 'name' => 'orderBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'fieldId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'includePersonal', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetWorkItemActivity' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/getActivity', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryMemberWithInherited' => [ + 'path' => '/repository/{repositoryId}/members/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workitemId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'], + ], + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetWorkItemInfo' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryTags' => [ + 'path' => '/repository/{repositoryId}/tag/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11947,123 +6572,130 @@ 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemId', + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetWorkItemWorkFlowInfo' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/getWorkflowInfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryTree' => [ + 'path' => '/repository/{repositoryId}/files/tree', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'configurationId', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workitemId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'path', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'refName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListProjectWorkitemTypes' => [ - 'path' => '/organization/{organizationId}/projects/{projectId}/getWorkitemType', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRepositoryWebhook' => [ + 'path' => '/repository/{repositoryId}/webhooks/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'projectId', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'], ], [ - 'name' => 'spaceType', + 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '9223372036854775807'], ], [ - 'name' => 'category', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], ], ], - 'ListWorkItemAllFields' => [ - 'path' => '/organization/{organizationId}/workitems/fields/listAll', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListResourceMembers' => [ + 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12074,243 +6706,260 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'spaceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'spaceIdentifier', - 'in' => 'query', + 'name' => 'resourceType', + 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['pipeline', 'hostGroup'], ], ], [ - 'name' => 'workitemTypeIdentifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'resourceId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListWorkItemWorkFlowStatus' => [ - 'path' => '/organization/{organizationId}/workitems/workflow/listWorkflowStatus', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSearchCommit' => [ + 'path' => '/search/commit', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'spaceType', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'keyword' => ['type' => 'string', 'required' => true], + 'page' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'order' => ['type' => 'string', 'required' => false], + 'sort' => ['type' => 'string', 'required' => false], + 'scope' => ['type' => 'string', 'required' => false], + 'repoPath' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'operatorType' => ['type' => 'string', 'required' => false], + 'matchType' => ['type' => 'string', 'required' => false], + ], + ], + ], ], ], + ], + ], + 'ListSearchRepository' => [ + 'path' => '/search/repo', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'workitemCategoryIdentifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'workitemTypeIdentifier', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'spaceIdentifier', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'keyword' => ['type' => 'string', 'required' => true], + 'aliyunPk' => ['type' => 'string', 'required' => false], + 'visibilityLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'page' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sort' => ['type' => 'string', 'required' => false], + 'order' => ['type' => 'string', 'required' => false], + 'scope' => ['type' => 'string', 'required' => false], + 'repoPath' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'operatorType' => ['type' => 'string', 'required' => false], + 'matchType' => ['type' => 'string', 'required' => false], + ], + ], + ], ], ], ], ], - 'ListWorkitems' => [ - 'path' => '/organization/{organizationId}/listWorkitems', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSearchSourceCode' => [ + 'path' => '/search/code', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'spaceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'spaceIdentifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'category', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'keyword' => ['type' => 'string', 'required' => true], + 'page' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'sort' => ['type' => 'string', 'required' => false], + 'order' => ['type' => 'string', 'required' => false], + 'scope' => ['type' => 'string', 'required' => false], + 'repoPath' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'operatorType' => ['type' => 'string', 'required' => false], + 'matchType' => ['type' => 'string', 'required' => false], + ], + ], + 'filePath' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'operatorType' => ['type' => 'string', 'required' => false], + 'matchType' => ['type' => 'string', 'required' => false], + ], + ], + 'language' => ['type' => 'string', 'required' => false], + 'isCodeBlock' => ['type' => 'boolean', 'required' => false], + ], ], ], + ], + ], + 'ListServiceAuths' => [ + 'path' => '/organization/{organizationId}/serviceAuths', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'conditions', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'extraConditions', + 'name' => 'serviceAuthType', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['RAM'], ], ], + ], + ], + 'ListServiceConnections' => [ + 'path' => '/organization/{organizationId}/serviceConnections', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'groupCondition', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'searchType', + 'name' => 'sericeConnectionType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListWorkitemTime' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/time/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListServiceCredentials' => [ + 'path' => '/organization/{organizationId}/serviceCredentials', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemId', - 'in' => 'path', + 'name' => 'serviceCredentialType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['USERNAME_PASSWORD'], ], ], ], ], - 'ListWorkitemEstimate' => [ - 'path' => '/organization/{organizationId}/workitems/{workitemId}/estimate/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListSprints' => [ + 'path' => '/organization/{organizationId}/sprints/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12321,30 +6970,34 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'spaceIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'spaceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'UpdateWorkitemField' => [ - 'path' => '/organization/{organizationId}/workitems/updateWorkitemField', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTestCaseFields' => [ + 'path' => '/organization/{organizationId}/testhub/testcase/fields', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12355,248 +7008,134 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workitemIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'updateWorkitemPropertyRequest' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'fieldValue' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - ], - ], + 'name' => 'spaceIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteWorkitem' => [ - 'path' => '/organization/{organizationId}/workitem/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUserDrawRecordByPk' => [ + 'path' => '/listUserDrawRecords', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'aliyunPk', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'identifier', + 'name' => 'drawGroup', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'drawPoolName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetWorkitemFile' => [ - 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/files/{fileIdentifier}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListUserKeys' => [ + 'path' => '/api/v3/user/keys', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workitemIdentifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'fileIdentifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'sort', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateProject' => [ - 'path' => '/organization/{organizationId}/projects/createProject', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUserResources' => [ + 'path' => '/api/v4/user/vision/user_resources', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'templateIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'scope' => [ - 'type' => 'string', - 'required' => true, - ], - 'customCode' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'CreateSprint' => [ - 'path' => '/organization/{organizationId}/sprints/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'userIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [], - 'produces' => [], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'spaceIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'startDate' => [ - 'type' => 'string', - 'required' => false, - ], - 'endDate' => [ - 'type' => 'string', - 'required' => false, - ], - 'staffIds' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'DeleteProject' => [ - 'path' => '/organization/{organizationId}/projects/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListVariableGroups' => [ + 'path' => '/organization/{organizationId}/variableGroups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12607,30 +7146,34 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'identifier', + 'name' => 'pageSort', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageOrder', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'UpdateProjectMember' => [ - 'path' => '/organization/{organizationId}/projects/{projectId}/updateMember', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkItemAllFields' => [ + 'path' => '/organization/{organizationId}/workitems/fields/listAll', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12641,60 +7184,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'roleIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'userIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'userType' => [ - 'type' => 'string', - 'required' => true, - ], - 'targetType' => [ - 'type' => 'string', - 'required' => true, - ], - 'targetIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'spaceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'projectId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'spaceIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'workitemTypeIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateProjectField' => [ - 'path' => '/organization/{organizationId}/project/{identifier}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListWorkItemWorkFlowStatus' => [ + 'path' => '/organization/{organizationId}/workitems/workflow/listWorkflowStatus', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12705,81 +7217,34 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'identifier', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'spaceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'updateBasicFieldRequestList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'propertyKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'propertyValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'updateForOpenApiList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'statusIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'workitemCategoryIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'workitemTypeIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'spaceIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetProjectInfo' => [ - 'path' => '/organization/{organizationId}/project/{projectId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkitemAttachments' => [ + 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachments', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12790,30 +7255,19 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'projectId', + 'name' => 'workitemIdentifier', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListProjectMembers' => [ - 'path' => '/organization/{organizationId}/projects/{projectId}/listMembers', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkitemEstimate' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/estimate/list', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12824,71 +7278,42 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'projectId', + 'name' => 'workitemId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'targetType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetSprintInfo' => [ - 'path' => '/organization/{organizationId}/sprints/{sprintId}/getSprintinfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkitemTime' => [ + 'path' => '/organization/{organizationId}/workitems/{workitemId}/time/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sprintId', + 'name' => 'workitemId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListProjects' => [ - 'path' => '/organization/{organizationId}/listProjects', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListWorkitems' => [ + 'path' => '/organization/{organizationId}/listWorkitems', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12899,71 +7324,64 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'extraConditions', + 'name' => 'spaceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'conditions', + 'name' => 'spaceIdentifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'scope', + 'name' => 'conditions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'extraConditions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'groupCondition', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'orderBy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'searchType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListProjectTemplates' => [ - 'path' => '/organization/{organizationId}/projects/listTemplates', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'LogPipelineJobRun' => [ + 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/job/{jobId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12974,30 +7392,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListSprints' => [ - 'path' => '/organization/{organizationId}/sprints/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'LogVMDeployMachine' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/log', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13008,69 +7425,57 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'spaceIdentifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'spaceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'machineSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateTestCase' => [ - 'path' => '/organization/{organizationId}/testhub/testcase', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'MergeMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/merge', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -13080,256 +7485,209 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'subject' => [ - 'type' => 'string', - 'required' => true, - ], - 'assignedTo' => [ - 'type' => 'string', - 'required' => true, - ], - 'spaceIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'directoryIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'priority' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'fieldValueList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'testcaseStepContentInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'precondition' => [ - 'type' => 'string', - 'required' => false, - ], - 'stepType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'TEXT', - 'TABLE', - ], - ], - 'stepResultList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'step' => [ - 'type' => 'string', - 'required' => false, - ], - 'expected' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'mergeType' => ['type' => 'string', 'required' => true], + 'mergeMessage' => ['type' => 'string', 'required' => false], + 'removeSourceBranch' => ['type' => 'boolean', 'required' => false], ], ], ], ], - ], - 'UpdateTestCase' => [ - 'path' => '/organization/{organizationId}/testhub/testcase/{testcaseIdentifier}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', + ], + 'PassPipelineValidate' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/pass', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'PassReleaseStagePipelineValidate' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:passPipelineValidate', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'testcaseIdentifier', + 'name' => 'releaseWorkflowSn', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'updateWorkitemPropertyRequest' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'fieldIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'fieldValue' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - ], - ], + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'executionNumber', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListTestCaseFields' => [ - 'path' => '/organization/{organizationId}/testhub/testcase/fields', - 'methods' => [ - 'get', + 'RefusePipelineValidate' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/refuse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'RefuseReleaseStagePipelineValidate' => [ + 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'spaceIdentifier', + 'name' => 'releaseWorkflowSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'releaseStageSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'executionNumber', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'jobId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetTestcaseList' => [ - 'path' => '/organization/{organizationId}/testhub/testcases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ReopenMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/reopen', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'spaceIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'directoryIdentifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'conditions' => [ - 'type' => 'string', - 'required' => false, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResult' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'UpdateTestResult' => [ - 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresult/{testcaseIdentifier}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ResetSshKey' => [ + 'path' => '/organization/{organizationId}/sshKey', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13340,57 +7698,42 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ResumeVMDeployOrder' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/resume', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'testPlanIdentifier', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'testcaseIdentifier', + 'name' => 'pipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'executor' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'GetTestResultList' => [ - 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresults', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RetryPipelineJobRun' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13401,48 +7744,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'testPlanIdentifier', + 'name' => 'pipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'directoryIdentifier' => [ - 'type' => 'string', - 'required' => true, - ], - 'conditions' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ExportWorkitemActivity' => [ - 'path' => '/organization/{organizationId}/data/workitemActivities', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'RetryVMDeployMachine' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13453,116 +7777,57 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'machineSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ExportInsightWorkitemVersion' => [ - 'path' => '/organization/{organizationId}/data/workitemVersions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ReviewMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/submit_review_opinion', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ExportInsightWorkitemStatusJoinWorkitemDefectExtra' => [ - 'path' => '/organization/{organizationId}/data/workitemStatusJoinWorkitemDefectExtras', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'organizationId', + 'name' => 'localId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -13572,36 +7837,22 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', + 'reviewOpinion' => ['type' => 'string', 'required' => true], + 'reviewComment' => ['type' => 'string', 'required' => false], + 'draftCommentIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'ExportInsightWorkitemStatus' => [ - 'path' => '/organization/{organizationId}/data/workitemStatuses', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'SkipPipelineJobRun' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/skip', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13612,49 +7863,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ExportInsightWorkTime' => [ - 'path' => '/organization/{organizationId}/data/workTimes', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'SkipVMDeployMachine' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/skip', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13665,49 +7896,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'machineSn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ExportInsightTagRef' => [ - 'path' => '/organization/{organizationId}/data/tagRefs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StartPipelineRun' => [ + 'path' => '/organizations/{organizationId}/pipelines/{pipelineId}/run', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13718,49 +7929,24 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'params', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ExportInsightSprint' => [ - 'path' => '/organization/{organizationId}/data/sprints', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StopPipelineJobRun' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13771,49 +7957,29 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'jobId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ExportInsightSpaceRef' => [ - 'path' => '/organization/{organizationId}/data/spaceRefs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StopPipelineRun' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13824,49 +7990,24 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'pipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ExportInsightSpace' => [ - 'path' => '/organization/{organizationId}/data/spaces', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StopVMDeployOrder' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/stop', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13877,116 +8018,117 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'pipelineId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'deployOrderId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ExportInsightField' => [ - 'path' => '/organization/{organizationId}/data/fields', - 'methods' => [ - 'post', + 'TransferRepository' => [ + 'path' => '/api/v4/projects/repository/transfer', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'TriggerRepositoryMirrorSync' => [ + 'path' => '/repository/{repositoryId}/mirror', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '9223372036854775807'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'name' => 'account', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'token', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ExportInsightExpectedWorkTime' => [ - 'path' => '/organization/{organizationId}/data/expectedWorkTimes', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAppMember' => [ + 'path' => '/appstack/apps/{appName}/members', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -13996,50 +8138,46 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', + 'roleNames' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', + 'player' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'id' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + ], ], ], ], ], ], ], - 'ExportInsightCustomValue' => [ - 'path' => '/organization/{organizationId}/data/customValues', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateApplication' => [ + 'path' => '/appstack/apps/{appName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -14049,188 +8187,199 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'startTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'endTime' => [ - 'type' => 'string', - 'required' => true, - ], - 'nextToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'ownerAccountId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateOrganizationMember' => [ - 'path' => '/organization/{organizationId}/members/{accountId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateCheckRun' => [ + 'path' => '/api/v4/projects/check_runs/update_check_run', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accountId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'organizationMemberName', + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'checkRunId', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'startedAt' => ['type' => 'string', 'required' => false], + 'completedAt' => ['type' => 'string', 'required' => false], + 'externalId' => ['type' => 'string', 'required' => false], + 'detailsUrl' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + 'conclusion' => ['type' => 'string', 'required' => false], + 'output' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'title' => ['type' => 'string', 'required' => false], + 'summary' => ['type' => 'string', 'required' => true], + 'text' => ['type' => 'string', 'required' => false], + 'images' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'alt' => ['type' => 'string', 'required' => true], + 'imageUrl' => ['type' => 'string', 'required' => true], + 'caption' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'annotations' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'path' => ['type' => 'string', 'required' => true], + 'startLine' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'endLine' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'startColumn' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'endColumn' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'annotationLevel' => ['type' => 'string', 'required' => true], + 'message' => ['type' => 'string', 'required' => true], + 'title' => ['type' => 'string', 'required' => false], + 'rawDetails' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'ListOrganizationMembers' => [ - 'path' => '/organization/{organizationId}/members', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateFile' => [ + 'path' => '/repository/{repositoryId}/files/update', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'organizationMemberName', + 'name' => 'accessToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'provider', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'externUid', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'oldPath' => ['type' => 'string', 'required' => true], + 'newPath' => ['type' => 'string', 'required' => true], + 'branchName' => ['type' => 'string', 'required' => true], + 'encoding' => ['type' => 'string', 'required' => false], + 'content' => ['type' => 'string', 'required' => true], + 'commitMessage' => ['type' => 'string', 'required' => true], + ], ], ], + ], + ], + 'UpdateFlowTag' => [ + 'path' => '/organization/{organizationId}/flow/tags/{id}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'state', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'maximum' => '200', - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'joinTimeFrom', + 'name' => 'color', 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'type' => 'string', + 'required' => true, + 'enum' => ['#1F9AEF', '#E63A3A', '#FA8C15', '#15AD31', '#7978E5', '#8C8C8C'], ], ], [ - 'name' => 'joinTimeTo', + 'name' => 'flowTagGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'containsExternInfo', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20], ], ], ], - 'GetOrganizationMember' => [ - 'path' => '/organization/{organizationId}/members/{accountId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateFlowTagGroup' => [ + 'path' => '/organization/{organizationId}/flow/tagGroups/{id}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14241,115 +8390,94 @@ [ 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'accountId', + 'name' => 'id', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'ListJoinedOrganizations' => [ - 'path' => '/users/joinedOrgs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20], ], ], - 'deprecated' => false, - 'parameters' => [], ], - 'GetApplication' => [ - 'path' => '/appstack/apps/{appName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateGroup' => [ + 'path' => '/groups/modify', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'organizationId', + 'name' => 'accessToken', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'pathWithNamespace' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string', 'required' => true], + 'path' => ['type' => 'string', 'required' => true], + 'visibilityLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'avatarUrl' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'UpdateApplication' => [ - 'path' => '/appstack/apps/{appName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateGroupMember' => [ + 'path' => '/repository/groups/{groupId}/members/update/aliyun_pk', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'aliyunPk', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -14357,166 +8485,128 @@ 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => false, + 'required' => true, 'properties' => [ - 'ownerAccountId' => [ - 'type' => 'string', - 'required' => false, - ], + 'accessLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'memberType' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListApplications' => [ - 'path' => '/appstack/apps:search', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateHostGroup' => [ + 'path' => '/organization/{organizationId}/hostGroups/{id}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'pagination', - 'in' => 'query', + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'formData', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['ECS'], ], ], [ - 'name' => 'perPage', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'envId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceConnectionId', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'tagIds', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'organizationId', - 'in' => 'query', + 'name' => 'ecsType', + 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['ECS_ALIYUN'], ], ], - ], - ], - 'ListApplicationMembers' => [ - 'path' => '/appstack/apps/{appName}/members', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ecsLabelKey', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ecsLabelValue', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunRegion', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'machineInfos', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateAppMembers' => [ - 'path' => '/appstack/apps/{appName}/members', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateMergeRequest' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -14526,74 +8616,50 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'roleNames' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'playerList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'id' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'title' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateAppMember' => [ - 'path' => '/appstack/apps/{appName}/members', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateMergeRequestPersonnel' => [ + 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/person/{personType}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'localId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'personType', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -14603,204 +8669,172 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'roleNames' => [ + 'newUserIdList' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'player' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'id' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'DeleteAppMember' => [ - 'path' => '/appstack/apps/{appName}/members', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateOrganizationMember' => [ + 'path' => '/organization/{organizationId}/members/{accountId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'subjectType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'accountId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'subjectId', + 'name' => 'organizationMemberName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetReleaseStagePipelineRun' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:getPipelineRun', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePipeline' => [ + 'path' => '/organization/{organizationId}/pipelines/update', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'content', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'pipelineId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'UpdatePipelineBaseInfo' => [ + 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/baseInfo', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', + 'name' => 'pipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseWorkflowSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pipelineName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'releaseStageSn', - 'in' => 'path', + 'name' => 'envId', + 'in' => 'query', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enum' => ['0', '1', '2'], ], ], [ - 'name' => 'executionNumber', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'tagList', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ExecuteChangeRequestReleaseStage' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}:execute', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePipelineGroup' => [ + 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 40], ], [ - 'name' => 'appName', + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'UpdateProjectField' => [ + 'path' => '/organization/{organizationId}/project/{identifier}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'releaseWorkflowSn', + 'name' => 'organizationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'releaseStageSn', + 'name' => 'identifier', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -14810,467 +8844,567 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'params' => [ - 'type' => 'object', + 'updateBasicFieldRequestList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'propertyKey' => ['type' => 'string', 'required' => false], + 'propertyValue' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'updateForOpenApiList' => [ + 'type' => 'array', 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], ], + 'statusIdentifier' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CancelExecutionReleaseStage' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:cancel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateProjectLabel' => [ + 'path' => '/api/v4/projects/labels/{labelId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseWorkflowSn', + 'name' => 'labelId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'releaseStageSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'repositoryIdentity', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'executionNumber', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'color' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListAllReleaseWorkflows' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateProjectMember' => [ + 'path' => '/organization/{organizationId}/projects/{projectId}/updateMember', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => true, + 'properties' => [ + 'roleIdentifier' => ['type' => 'string', 'required' => true], + 'userIdentifier' => ['type' => 'string', 'required' => true], + 'userType' => ['type' => 'string', 'required' => true], + 'targetType' => ['type' => 'string', 'required' => true], + 'targetIdentifier' => ['type' => 'string', 'required' => true], + ], ], ], + [ + 'name' => 'projectId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'ListAppReleaseStageExecutions' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateProtectedBranches' => [ + 'path' => '/{repositoryId}/protect_branches/{id}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseWorkflowSn', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'releaseStageSn', + 'name' => 'id', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pagination', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'perPage', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'branch' => ['type' => 'string', 'required' => true], + 'allowPushRoles' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + 'allowPushUserIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'allowMergeRoles' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + 'allowMergeUserIds' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'mergeRequestSetting' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'isRequired' => ['type' => 'boolean', 'required' => false], + 'mrMode' => ['type' => 'string', 'required' => false], + 'isAllowSelfApproval' => ['type' => 'boolean', 'required' => false], + 'isRequireDiscussionProcessed' => ['type' => 'boolean', 'required' => false], + 'isResetApprovalWhenNewPush' => ['type' => 'boolean', 'required' => false], + 'minimumApproval' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'allowMergeRequestRoles' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + 'defaultAssignees' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'whiteList' => ['type' => 'string', 'required' => false], + ], + ], + 'testSettingDTO' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'isRequired' => ['type' => 'boolean', 'required' => false], + 'codeGuidelinesDetection' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'sensitiveInfoDetection' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'checkTaskQualityConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => ['type' => 'boolean', 'required' => false], + 'bizNo' => ['type' => 'string', 'required' => false], + 'taskName' => ['type' => 'string', 'required' => false], + 'message' => ['type' => 'string', 'required' => false], + ], + ], + 'checkConfig' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'checkItems' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'isRequired' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + ], + ], + ], + ], + ], ], ], + ], + ], + 'UpdatePushReviewOnOff' => [ + 'path' => '/repository/{repositoryId}/settings/trunk_mode', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'sort', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'repositoryId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'page', + 'name' => 'trunkMode', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => true], ], ], - ], - 'ListAppReleaseStageExecutionIntegratedMetadata' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}/integratedMetadata', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + ], + 'UpdatePushRule' => [ + 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseWorkflowSn', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'releaseStageSn', + 'name' => 'pushRuleId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'executionNumber', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ruleInfos' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'checkerName' => ['type' => 'string', 'required' => false], + 'extraMessage' => ['type' => 'string', 'required' => false], + 'checkerType' => ['type' => 'string', 'required' => false], + 'fileRuleRegexes' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], ], ], ], ], - 'RefuseReleaseStagePipelineValidate' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateRepository' => [ + 'path' => '/repository/{repositoryId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'releaseWorkflowSn', + 'name' => 'repositoryId', 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'path' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'defaultBranch' => ['type' => 'string', 'required' => false], + 'issuesEnabled' => ['type' => 'boolean', 'required' => false], + 'mergeRequestsEnabled' => ['type' => 'boolean', 'required' => false], + 'buildsEnabled' => ['type' => 'boolean', 'required' => false], + 'wikiEnabled' => ['type' => 'boolean', 'required' => false], + 'snippetsEnabled' => ['type' => 'boolean', 'required' => false], + 'visibilityLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'checkEmail' => ['type' => 'boolean', 'required' => false], + 'avatar' => ['type' => 'string', 'required' => false], + 'openCloneDownloadControl' => ['type' => 'boolean', 'required' => false], + 'projectCloneDownloadRoleList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'roleCode' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'allowed' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'projectCloneDownloadMethodList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'permissionCode' => ['type' => 'string', 'required' => false], + 'allowed' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'adminSettingLanguage' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'UpdateRepositoryMember' => [ + 'path' => '/repository/{repositoryId}/members/{aliyunPk}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'releaseStageSn', + 'name' => 'repositoryId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'executionNumber', + 'name' => 'aliyunPk', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'accessLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'expireAt' => ['type' => 'string', 'required' => false], + 'memberType' => ['type' => 'string', 'required' => false], + 'relatedId' => ['type' => 'string', 'required' => false], + 'relatedInfos' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'relatedId' => ['type' => 'string', 'required' => false], + 'sourceId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'sourceType' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], [ - 'name' => 'jobId', + 'name' => 'organizationId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'accessToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PassReleaseStagePipelineValidate' => [ - 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:passPipelineValidate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateResourceMember' => [ + 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'releaseWorkflowSn', + 'name' => 'resourceType', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, + 'minimum' => '1', + 'maximum' => '999999999999999', + 'enum' => ['pipeline', 'hostGroup'], ], ], [ - 'name' => 'releaseStageSn', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'roleName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'executionNumber', + 'name' => 'resourceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'jobId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'accountId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateChangeRequest' => [ - 'path' => '/appstack/apps/{appName}/changeRequests', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateTestCase' => [ + 'path' => '/organization/{organizationId}/testhub/testcase/{testcaseIdentifier}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appName', + 'name' => 'testcaseIdentifier', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -15280,324 +9414,248 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => true, - ], - 'ownerId' => [ - 'type' => 'string', - 'required' => true, - ], - 'ownerAccountId' => [ - 'type' => 'string', - 'required' => false, - ], - 'appCodeRepoSn' => [ - 'type' => 'string', - 'required' => true, - ], - 'branchName' => [ - 'type' => 'string', + 'updateWorkitemPropertyRequest' => [ + 'type' => 'array', 'required' => true, - ], - 'autoDeleteBranchWhenEnd' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'createBranch' => [ - 'type' => 'boolean', - 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => true], + 'fieldValue' => ['type' => 'string', 'required' => true], + ], + ], ], ], - ], - ], - ], - ], - 'ListChangeRequests' => [ - 'path' => '/appstack/apps/{appName}/changeRequests', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + ], + ], ], + ], + 'UpdateTestResult' => [ + 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresult/{testcaseIdentifier}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pagination', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'perPage', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'testPlanIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'orderBy', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'testcaseIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sort', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'executor' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'UpdateVariableGroup' => [ + 'path' => '/organization/{organizationId}/variableGroups/{id}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'stateList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ownerIdList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'name', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appNameList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'description', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'displayNameKeyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'variables', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListChangeRequestWorkflowExecutions' => [ - 'path' => '/appstack/apps/{appName}/changeRequests/{sn}/executions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateWorkItem' => [ + 'path' => '/organization/{organizationId}/workitems/update', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'organizationId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'sn', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'propertyKey' => ['type' => 'string', 'required' => true], + 'propertyValue' => ['type' => 'string', 'required' => true], + 'identifier' => ['type' => 'string', 'required' => true], + 'fieldType' => ['type' => 'string', 'required' => true], + ], ], ], + ], + ], + 'UpdateWorkitemComment' => [ + 'path' => '/organization/{organizationId}/workitems/commentUpdate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'perPage', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'orderBy', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => true], + 'formatType' => ['type' => 'string', 'required' => true], + 'workitemIdentifier' => ['type' => 'string', 'required' => true], + 'commentId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], ], + ], + ], + 'UpdateWorkitemField' => [ + 'path' => '/organization/{organizationId}/workitems/updateWorkitemField', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'sort', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'releaseWorkflowSn', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'releaseStageSn', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'workitemIdentifier' => ['type' => 'string', 'required' => true], + 'updateWorkitemPropertyRequest' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fieldIdentifier' => ['type' => 'string', 'required' => true], + 'fieldValue' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], ], ], ], ], - 'ListUserDrawRecordByPk' => [ - 'path' => '/listUserDrawRecords', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'WorkitemAttachmentCreate' => [ + 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'aliyunPk', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'organizationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'drawGroup', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workitemIdentifier', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'drawPoolName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'fileKey' => ['type' => 'string', 'required' => true], + 'originalFilename' => ['type' => 'string', 'required' => true], + ], ], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'devops.cn-hangzhou.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'devops.cn-hangzhou.aliyuncs.com', 'endpoint' => 'devops.cn-hangzhou.aliyuncs.com', 'vpc' => 'devops-vpc.cn-hangzhou.aliyuncs.com'], ], ]; -- cgit v1.2.3