summaryrefslogtreecommitdiff
path: root/data/devops/2021-06-25
diff options
context:
space:
mode:
Diffstat (limited to 'data/devops/2021-06-25')
-rw-r--r--data/devops/2021-06-25/api-docs.php15404
1 files changed, 4731 insertions, 10673 deletions
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 @@
<?php return [
'version' => '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,309 @@
'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,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'],
],
[
- 'name' => 'filePath',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'accessToken',
- 'in' => 'query',
- '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' => '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' => 'sha',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filePath',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'showSignature',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'localId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'GetRepositoryCommit' => [
- 'path' => '/repository/{repositoryId}/commits/{sha}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateAppMembers' => [
+ 'path' => '/appstack/apps/{appName}/members',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'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' => false],
],
[
- 'name' => 'sha',
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'showSignature',
- 'in' => 'query',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'ListRepositoryCommits' => [
- 'path' => '/repository/{repositoryId}/commits',
- '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' => 'refName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'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,
+ 'properties' => [
+ 'branchName' => ['type' => 'string', 'required' => true],
+ 'ref' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'ListRepositoryCommitDiff' => [
- 'path' => '/repository/{repositoryId}/commits/{sha}/diff',
- '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',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'sha',
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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' => [
+ '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],
+ ],
],
],
],
],
- 'CreateCommitWithMultipleFiles' => [
- 'path' => '/api/v4/projects/repository/commits/files',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateCheckRun' => [
+ 'path' => '/api/v4/projects/check_runs/create_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' => '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,37 +426,52 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'branch' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'commitMessage' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
- 'actions' => [
+ 'annotations' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'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,
- ],
+ '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],
],
],
],
@@ -822,123 +480,38 @@
],
],
],
- 'AddRepositoryMember' => [
- 'path' => '/repository/{repositoryId}/members',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateComment' => [
+ 'path' => '/api/v4/projects/code_reviews/comments/create_comment',
+ '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' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'maximum' => '9223372036854775807',
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'aliyunPks' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'accessLevel' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'AddGroupMember' => [
- 'path' => '/repository/groups/{groupId}/members/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'organizationId',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'accessToken',
+ 'name' => 'localId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -946,76 +519,55 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'aliyunPks' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'accessLevel' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ '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],
],
],
],
],
],
- 'DeleteRepositoryMember' => [
- 'path' => '/repository/{repositoryId}/members/delete/{aliyunPk}',
- 'methods' => [
- 'post',
- ],
- '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' => 'aliyunPk',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'sha',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1025,69 +577,42 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'memberType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'state' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'targetUrl' => ['type' => 'string', 'required' => false],
+ 'context' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteGroupMember' => [
- 'path' => '/repository/groups/{groupId}/members/remove/aliyun_pk',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateCommitWithMultipleFiles' => [
+ 'path' => '/api/v4/projects/repository/commits/files',
+ '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' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunPk',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1095,55 +620,56 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'memberType' => [
- 'type' => 'string',
+ 'branch' => ['type' => 'string', 'required' => true],
+ 'commitMessage' => ['type' => 'string', 'required' => false],
+ 'actions' => [
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ '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],
+ ],
+ ],
],
],
],
],
],
],
- 'UpdateRepositoryMember' => [
- 'path' => '/repository/{repositoryId}/members/{aliyunPk}',
- 'methods' => [
- 'put',
- ],
- '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' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'aliyunPk',
+ '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',
@@ -1151,123 +677,42 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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,
- ],
- ],
- ],
- ],
+ 'title' => ['type' => 'string', 'required' => true],
+ 'key' => ['type' => 'string', 'required' => true],
],
],
],
- [
- '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',
- ],
+ '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,
- ],
- ],
- [
- 'name' => 'aliyunPk',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -1277,360 +722,179 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'accessLevel' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'memberType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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],
],
],
],
],
],
- 'ListRepositoryMemberWithInherited' => [
- 'path' => '/repository/{repositoryId}/members/list',
- 'methods' => [
- 'get',
- ],
- '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' => 'accessToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'minimum' => '0',
- 'maximum' => '9223372036854775807',
- ],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20],
],
[
- 'name' => 'organizationId',
+ 'name' => 'color',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['#1F9AEF', '#E63A3A', '#FA8C15', '#15AD31', '#7978E5', '#8C8C8C'],
],
],
+ [
+ 'name' => 'flowTagGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
],
- 'GetProjectMember' => [
- 'path' => '/repository/{repositoryId}/members/get/{aliyunPk}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateFlowTagGroup' => [
+ 'path' => '/organization/{organizationId}/flow/tagGroups',
+ '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' => 'aliyunPk',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20],
],
],
],
- 'ListGroupMember' => [
- 'path' => '/repository/groups/{groupId}/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateHostGroup' => [
+ 'path' => '/organization/{organizationId}/hostGroups',
+ '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' => 'type',
+ 'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['ECS'],
],
],
[
- 'name' => 'accessToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'envId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'CreateRepository' => [
- 'path' => '/repository/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'serviceConnectionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'accessToken',
- 'in' => 'query',
+ 'name' => 'tagIds',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ecsType',
+ 'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['ECS_ALIYUN'],
],
],
[
- 'name' => 'sync',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ecsLabelKey',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createParentPath',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'ecsLabelValue',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'organizationId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'aliyunRegion',
+ 'in' => 'formData',
+ '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' => 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,
- ],
- ],
- ],
+ 'name' => 'machineInfos',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteRepository' => [
- 'path' => '/repository/{repositoryId}/remove',
- 'methods' => [
- 'post',
- ],
- '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' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -1640,63 +904,38 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'reason' => [
- '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],
],
],
],
],
],
- 'UpdateRepository' => [
- 'path' => '/repository/{repositoryId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => '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' => 'body',
'in' => 'body',
'style' => 'json',
@@ -1704,424 +943,132 @@
'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,
- ],
+ '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],
],
],
],
],
],
- 'TriggerRepositoryMirrorSync' => [
- 'path' => '/repository/{repositoryId}/mirror',
- 'methods' => [
- 'post',
- ],
- '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' => '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' => '1',
- 'maximum' => '9223372036854775807',
- ],
- ],
- [
- 'name' => 'account',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'token',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'TransferRepository' => [
- 'path' => '/api/v4/projects/repository/transfer',
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'repositoryId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'groupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'content',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListRepositories' => [
- 'path' => '/repository/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' => '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,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'archived',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'minAccessLevel',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 40],
],
],
],
- 'GetRepository' => [
- 'path' => '/repository/get',
- '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,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'identity',
- 'in' => 'query',
+ '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],
+ ],
],
],
],
],
- 'CreateBranch' => [
- 'path' => '/repository/{repositoryId}/branches',
- 'methods' => [
- 'post',
- ],
- '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' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryIdentity',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -2129,16 +1076,11 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'branchName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ref' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'color' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
@@ -2146,50 +1088,31 @@
],
'CreateProtectdBranch' => [
'path' => '/repository/{repositoryId}/protect_branches',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => 'body',
@@ -2199,157 +1122,80 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'branch' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'branch' => ['type' => 'string', 'required' => true],
'allowPushRoles' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
'allowPushUserIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
'allowMergeRoles' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
'allowMergeUserIds' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- '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,
- ],
+ '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,
- ],
+ '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],
],
+ 'whiteList' => ['type' => 'string', 'required' => false],
],
],
'testSettingDTO' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'isRequired' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'isRequired' => ['type' => 'boolean', 'required' => false],
'codeGuidelinesDetection' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'message' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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,
- ],
+ '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,
- ],
+ 'enabled' => ['type' => 'boolean', 'required' => false],
+ 'bizNo' => ['type' => 'string', 'required' => false],
+ 'taskName' => ['type' => 'string', 'required' => false],
+ 'message' => ['type' => 'string', 'required' => false],
],
],
'checkConfig' => [
@@ -2363,14 +1209,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'isRequired' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'isRequired' => ['type' => 'boolean', 'required' => false],
],
],
],
@@ -2383,176 +1223,150 @@
],
],
],
- 'DeleteBranch' => [
- 'path' => '/repository/{repositoryId}/branches/delete',
- 'methods' => [
- 'delete',
- ],
- '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' => 'branchName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'DeleteProtectedBranch' => [
- 'path' => '/repository/{repositoryId}/protect_branches/{protectedBranchId}',
- 'methods' => [
- 'delete',
- ],
- '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' => 'protectedBranchId',
- 'in' => 'path',
+ 'name' => 'organizationId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ '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', '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],
+ ],
],
],
],
],
- 'UpdateProtectedBranches' => [
- 'path' => '/{repositoryId}/protect_branches/{id}',
- 'methods' => [
- 'put',
- ],
- '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' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -2562,637 +1376,299 @@
'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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ '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],
],
],
],
],
],
- 'GetBranchInfo' => [
- 'path' => '/repository/{repositoryId}/branches/detail',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'roleName',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'branchName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'resourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListRepositoryBranches' => [
- 'path' => '/repository/{repositoryId}/branches',
- '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' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
'required' => true,
+ 'enum' => ['RAM'],
],
],
+ ],
+ ],
+ 'CreateServiceConnection' => [
+ 'path' => '/organization/{organizationId}/createServiceConnection',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'search',
- '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'],
+ ],
+ ],
],
],
],
],
- 'ListProtectedBranches' => [
- 'path' => '/repository/{repositoryId}/protect_branches',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateServiceCredential' => [
+ 'path' => '/organization/{organizationId}/serviceCredentials',
+ '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',
- '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' => [
+ '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],
+ ],
],
],
],
],
- 'GetMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/detail',
- '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,
+ '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],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'CreateSshKey' => [
+ 'path' => '/organization/{organizationId}/sshKey',
+ 'methods' => ['post'],
+ '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],
],
],
],
- 'ListMergeRequests' => [
- 'path' => '/api/v4/projects/merge_requests/advanced_search',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateTag' => [
+ 'path' => '/repository/{repositoryId}/tags/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' => '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,
- ],
+ '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' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'createdAfter',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'tagName' => ['type' => 'string', 'required' => true],
+ 'ref' => ['type' => 'string', 'required' => true],
+ 'message' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests',
- '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',
@@ -3200,110 +1676,81 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'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',
+ '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],
],
- 'reviewerIds' => [
+ 'fieldValueList' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'fieldIdentifier' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'workItemIds' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
],
- 'UpdateMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}',
- 'methods' => [
- 'put',
- ],
- '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,
- ],
- ],
- [
- 'name' => 'localId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -3313,82 +1760,63 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'title' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'publicKey' => ['type' => 'string', 'required' => true],
+ 'title' => ['type' => 'string', 'required' => true],
+ 'keyScope' => ['type' => 'string', 'required' => true],
+ 'expireTime' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateMergeRequestPersonnel' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/person/{personType}',
- 'methods' => [
- 'post',
- ],
- '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' => 'localId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'variables',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'CreateWorkitem' => [
+ 'path' => '/organization/{organizationId}/workitems/create',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'personType',
+ 'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3398,74 +1826,102 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'newUserIdList' => [
+ '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' => 'string',
+ '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],
],
],
],
],
],
- 'MergeMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/merge',
- 'methods' => [
- 'post',
- ],
- '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,
- ],
+ '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' => [
+ 'content' => ['type' => 'string', 'required' => true],
+ 'workitemIdentifier' => ['type' => 'string', 'required' => true],
+ 'formatType' => ['type' => 'string', 'required' => true],
+ 'parentId' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateWorkitemEstimate' => [
+ 'path' => '/organization/{organizationId}/workitems/estimate',
+ 'methods' => ['post'],
+ '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',
@@ -3475,77 +1931,69 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'mergeType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'mergeMessage' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'removeSourceBranch' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ '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],
],
],
],
],
],
- 'ReviewMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/submit_review_opinion',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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,
+ '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],
+ ],
],
],
+ ],
+ ],
+ 'CreateWorkitemV2' => [
+ 'path' => '/organization/{organizationId}/workitem',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => [],
+ 'produces' => [],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'localId',
+ 'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3555,390 +2003,245 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'reviewOpinion' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'reviewComment' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'draftCommentIds' => [
+ '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' => 'string',
+ '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],
],
],
],
],
],
- 'CloseMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/close',
- 'methods' => [
- 'post',
- ],
- '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' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'subjectType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'localId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'subjectId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ReopenMergeRequest' => [
- 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/reopen',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteBranch' => [
+ 'path' => '/repository/{repositoryId}/branches/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' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'localId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'branchName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListMergeRequestPatchSets' => [
- 'path' => '/api/v4/projects/merge_requests/diffs/list_patchsets',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFile' => [
+ 'path' => '/repository/{repositoryId}/files/delete',
+ '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' => 'repositoryIdentity',
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'branchName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'localId',
+ 'name' => 'filePath',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'commitMessage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetMergeRequestChangeTree' => [
- 'path' => '/api/v4/projects/merge_requests/diffs/change_tree',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFlowTag' => [
+ 'path' => '/organization/{organizationId}/flow/tags/{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' => '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' => 'fromPatchSetBizId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'toPatchSetBizId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListMergeRequestFilesReads' => [
- 'path' => '/api/v4/projects/merge_requests/diffs/files_read_infos',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteFlowTagGroup' => [
+ 'path' => '/organization/{organizationId}/flow/tagGroups/{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' => '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' => 'fromPatchSetBizId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'toPatchSetBizId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListMergeRequestComments' => [
- 'path' => '/api/v4/projects/merge_requests/comments/list_comments',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteGroupMember' => [
+ 'path' => '/repository/groups/{groupId}/members/remove/aliyun_pk',
+ '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' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'localId',
+ 'name' => 'aliyunPk',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -3946,616 +2249,277 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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,
- ],
+ 'memberType' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CreateComment' => [
- 'path' => '/api/v4/projects/code_reviews/comments/create_comment',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'localId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- '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' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '1', 'maximum' => '999999999999999'],
],
],
],
- 'GetCompareDetail' => [
- 'path' => '/repository/{repositoryId}/commits/compare/detail',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeletePipelineGroup' => [
+ 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ '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],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeletePipelineRelations' => [
+ 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations',
+ 'methods' => ['delete'],
+ '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' => 'repositoryId',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'from',
+ 'name' => 'relObjectType',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['VARIABLE_GROUP', 'OSS_APP_ID'],
],
],
[
- 'name' => 'to',
+ 'name' => 'relObjectId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteProject' => [
+ 'path' => '/organization/{organizationId}/projects/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',
- ],
+ 'DeleteProjectLabel' => [
+ 'path' => '/api/v4/projects/labels/{labelId}',
+ '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' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'labelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sha',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- '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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListCommitStatuses' => [
- 'path' => '/api/v4/projects/repository/commit_statuses/list_commit_statuses',
- 'methods' => [
- 'get',
- ],
- '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' => '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' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'protectedBranchId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'CreateCheckRun' => [
- 'path' => '/api/v4/projects/check_runs/create_check_run',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ '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' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- '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,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'pushRuleId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'UpdateCheckRun' => [
- 'path' => '/api/v4/projects/check_runs/update_check_run',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'checkRunId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -4563,645 +2527,326 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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,
- ],
- ],
- ],
- ],
+ 'reason' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GetCheckRun' => [
- 'path' => '/api/v4/projects/check_runs/get_check_run',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteRepositoryGroup' => [
+ 'path' => '/repository/groups/{groupId}/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' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'checkRunId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'object',
'required' => true,
+ 'properties' => [
+ 'reason' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'ListCheckRuns' => [
- 'path' => '/api/v4/projects/check_runs/list_check_runs',
- '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' => 'ref',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'aliyunPk',
+ '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' => [
+ 'memberType' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateTag' => [
- 'path' => '/repository/{repositoryId}/tags/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- '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' => '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' => [
- 'tagName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ref' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'message' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'hookId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'DeleteTag' => [
- 'path' => '/repository/{repositoryId}/tags/delete',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteResourceMember' => [
+ 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}',
+ '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',
+ 'name' => 'resourceType',
+ 'in' => 'path',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'minimum' => '1',
+ 'maximum' => '999999999999999',
+ 'enum' => ['pipeline', 'hostGroup'],
],
],
[
- 'name' => 'repositoryId',
+ 'name' => 'resourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'tagName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accountId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetRepositoryTag' => [
- 'path' => '/repository/{repositoryId}/tag/info',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'tagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListRepositoryTags' => [
- 'path' => '/repository/{repositoryId}/tag/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteUserKey' => [
+ 'path' => '/api/v3/user/keys/{keyId}',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'repositoryId',
+ 'name' => 'keyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
+ ],
+ ],
+ 'DeleteVariableGroup' => [
+ 'path' => '/organization/{organizationId}/variableGroups/{id}',
+ 'methods' => ['delete'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'search',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'CreateProjectLabel' => [
- 'path' => '/api/v4/projects/labels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteWorkitem' => [
+ 'path' => '/organization/{organizationId}/workitem/delete',
+ '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' => 'accessToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'repositoryIdentity',
+ 'name' => 'identifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'color' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateProjectLabel' => [
- 'path' => '/api/v4/projects/labels/{labelId}',
- 'methods' => [
- 'put',
- ],
- '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' => 'labelId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5211,284 +2856,213 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'color' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'identifier' => ['type' => 'string', 'required' => true],
+ 'commentId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
],
],
- 'DeleteProjectLabel' => [
- 'path' => '/api/v4/projects/labels/{labelId}',
- 'methods' => [
- 'delete',
- ],
- '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' => 'labelId',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'keyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListProjectLabels' => [
- 'path' => '/api/v4/projects/labels',
- 'methods' => [
- 'get',
- ],
- '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,
- ],
- ],
- [
- 'name' => 'accessToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'search',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'releaseWorkflowSn',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'releaseStageSn',
+ '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' => [
+ 'params' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'ExportInsightCustomValue' => [
+ 'path' => '/organization/{organizationId}/data/customValues',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'orderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'withCounts',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ '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],
+ ],
],
],
],
],
- 'ListMergeRequestLabels' => [
- 'path' => '/api/v4/projects/merge_requests/labels',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ExportInsightExpectedWorkTime' => [
+ 'path' => '/organization/{organizationId}/data/expectedWorkTimes',
+ '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' => 'localId',
- '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],
+ ],
],
],
],
],
- 'LinkMergeRequestLabel' => [
- 'path' => '/api/v4/projects/merge_requests/link_labels',
- 'methods' => [
- 'post',
- ],
- '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,
+ 'properties' => [
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'ExportInsightSpace' => [
+ 'path' => '/organization/{organizationId}/data/spaces',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'repositoryIdentity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'localId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5498,67 +3072,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'labelIds' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- '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],
],
],
],
],
],
- 'AddWebhook' => [
- 'path' => '/repository/{repositoryId}/webhooks/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExportInsightSpaceRef' => [
+ 'path' => '/organization/{organizationId}/data/spaceRefs',
+ '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,
- 'minimum' => '0',
- 'maximum' => '9223372036854775807',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5566,213 +3103,98 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ '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,
- ],
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'DeleteRepositoryWebhook' => [
- 'path' => '/repository/{repositoryId}/hooks/{hookId}',
- 'methods' => [
- 'delete',
- ],
- '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' => 'hookId',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- '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],
+ ],
],
],
],
],
- 'ListRepositoryWebhook' => [
- 'path' => '/repository/{repositoryId}/webhooks/list',
- 'methods' => [
- 'get',
- ],
- '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' => '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',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '9223372036854775807',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'object',
'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
+ 'properties' => [
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
],
],
- 'CreateRepositoryGroup' => [
- 'path' => '/repository/groups/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExportInsightWorkTime' => [
+ 'path' => '/organization/{organizationId}/data/workTimes',
+ '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,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5780,85 +3202,65 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ '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,
- ],
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'DeleteRepositoryGroup' => [
- 'path' => '/repository/groups/{groupId}/remove',
- 'methods' => [
- 'post',
- ],
- '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' => 'groupId',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5866,54 +3268,32 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'properties' => [
- 'reason' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'UpdateGroup' => [
- 'path' => '/groups/modify',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExportInsightWorkitemVersion' => [
+ 'path' => '/organization/{organizationId}/data/workitemVersions',
+ '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,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -5921,1707 +3301,1038 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => true,
+ 'required' => false,
'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,
- ],
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'nextToken' => ['type' => 'string', 'required' => false],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'GetGroupDetail' => [
- 'path' => '/repository/groups/get_detail',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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,
- ],
+ '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' => 'groupId',
- '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],
+ ],
],
],
],
],
- 'GetGroupByPath' => [
- 'path' => '/api/4/groups/find_by_path',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetApplication' => [
+ 'path' => '/appstack/apps/{appName}',
+ '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' => 'appName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'identity',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListRepositoryGroups' => [
- 'path' => '/repository/groups/get/all',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetBranchInfo' => [
+ 'path' => '/repository/{repositoryId}/branches/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' => 'parentId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'page',
+ 'name' => 'branchName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetCheckRun' => [
+ 'path' => '/api/v4/projects/check_runs/get_check_run',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ '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' => 'orderBy',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'sort',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'includePersonal',
+ 'name' => 'checkRunId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListGroupRepositories' => [
- 'path' => '/repository/groups/{groupId}/projects',
- 'methods' => [
- 'get',
+ 'GetCodeupOrganization' => [
+ 'path' => '/api/organization/{identity}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'identity',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetCompareDetail' => [
+ 'path' => '/repository/{repositoryId}/commits/compare/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',
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'from',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'to',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'page',
+ 'name' => 'mergeBase',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'pageSize',
+ 'name' => 'maxDiffFile',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'search',
+ 'name' => 'maxDiffByte',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'UpdatePushReviewOnOff' => [
- 'path' => '/repository/{repositoryId}/settings/trunk_mode',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- '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' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'spaceIdentifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'spaceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'trunkMode',
+ 'name' => 'workitemTypeIdentifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'fieldId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreatePushRule' => [
- 'path' => '/api/v4/projects/{repositoryId}/push_rule',
- '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' => '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' => 'filePath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ref',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'from',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'to',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'UpdatePushRule' => [
- 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- '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' => '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,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'],
],
[
- 'name' => 'pushRuleId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'query',
+ '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' => 'sha',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'filePath',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'showSignature',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DeletePushRule' => [
- 'path' => '/api/v4/projects/{repositoryId}/push_rule/{pushRuleId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- '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' => 'pushRuleId',
+ 'name' => 'id',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListPushRules' => [
- 'path' => '/api/v4/projects/{repositoryId}/push_rule/push_rules/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- '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' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'accessToken',
+ 'name' => 'identity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'repositoryId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateDeployKey' => [
- 'path' => '/repository/{repositoryId}/keys/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' => 'repositoryId',
+ 'name' => 'groupId',
+ 'in' => 'query',
+ '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' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', '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' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'EnableDeployKey' => [
- 'path' => '/repository/{repositoryId}/keys/{keyId}/enable',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetMergeRequest' => [
+ 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}/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' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'keyId',
+ 'name' => 'localId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'CreateUserKey' => [
- 'path' => '/api/v3/user/keys/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => false,
- 'properties' => [
- 'publicKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'title' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'keyScope' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'expireTime' => [
- '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],
],
],
],
- 'DeleteUserKey' => [
- 'path' => '/api/v3/user/keys/{keyId}',
- 'methods' => [
- 'delete',
+ 'GetOrganizationMember' => [
+ 'path' => '/organization/{organizationId}/members/{accountId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'accountId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'GetPipeline' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetPipelineArtifactUrl' => [
+ 'path' => '/organization/{organizationId}/pipeline/getArtifactDownloadUrl',
+ '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',
+ 'name' => 'filePath',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000],
],
[
- 'name' => 'keyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'fileName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListUserKeys' => [
- 'path' => '/api/v3/user/keys',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPipelineEmasArtifactUrl' => [
+ 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/emas/artifact/{emasJobInstanceId}/{md5}',
+ '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' => 'emasJobInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'md5',
+ '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' => 'pipelineRunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'orderBy',
+ 'name' => 'serviceConnectionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListSearchSourceCode' => [
- 'path' => '/search/code',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetPipelineGroup' => [
+ 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
+ 'methods' => ['get'],
+ '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' => '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' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListSearchRepository' => [
- 'path' => '/search/repo',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetPipelineRun' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}',
+ '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' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'pipelineRunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListSearchCommit' => [
- 'path' => '/search/commit',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetPipelineScanReportUrl' => [
+ 'path' => '/organization/{organizationId}/pipeline/getPipelineScanReportUrl',
+ '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' => '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' => 'reportPath',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000],
],
],
],
- 'GetSearchCodePreview' => [
- 'path' => '/search/code_preview',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetProjectInfo' => [
+ 'path' => '/organization/{organizationId}/project/{projectId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'organizationId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'projectId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetProjectMember' => [
+ 'path' => '/repository/{repositoryId}/members/get/{aliyunPk}',
+ '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' => 'docId',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'isDsl',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'aliyunPk',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetCodeupOrganization' => [
- 'path' => '/api/organization/{identity}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'identity',
+ 'name' => 'organizationId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'accessToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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],
],
],
],
- 'ListOrganizations' => [
- 'path' => '/organizations/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'accessToken',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'accessLevel',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'minAccessLevel',
+ 'name' => 'identity',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetUserInfo' => [
- 'path' => '/users/current',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => false,
- ],
+ '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' => 'sha',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'showSignature',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListUserResources' => [
- 'path' => '/api/v4/user/vision/user_resources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- '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,
- ],
- ],
- [
- 'name' => 'userIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'pageSize',
+ 'name' => 'tagName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateOAuthToken' => [
- 'path' => '/login/oauth/create',
- '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' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- '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' => 'docId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'keyword',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'isDsl',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'CreateServiceConnection' => [
- 'path' => '/organization/{organizationId}/createServiceConnection',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetSprintInfo' => [
+ 'path' => '/organization/{organizationId}/sprints/{sprintId}/getSprintinfo',
+ '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' => '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' => 'sprintId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateServiceAuth' => [
- 'path' => '/organization/{organizationId}/serviceAuths',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetTestResultList' => [
+ 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresults',
+ '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'serviceAuthType',
- 'in' => 'query',
+ 'name' => 'testPlanIdentifier',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'RAM',
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'directoryIdentifier' => ['type' => 'string', 'required' => true],
+ 'conditions' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateServiceCredential' => [
- 'path' => '/organization/{organizationId}/serviceCredentials',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- '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' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -7631,133 +4342,68 @@
'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,
- ],
+ '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],
],
],
],
],
],
- 'ListServiceCredentials' => [
- 'path' => '/organization/{organizationId}/serviceCredentials',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'serviceCredentialType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'USERNAME_PASSWORD',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListServiceAuths' => [
- 'path' => '/organization/{organizationId}/serviceAuths',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetVMDeployOrder' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}',
+ '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' => 'serviceAuthType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'RAM',
- ],
- ],
+ 'name' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'deployOrderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListServiceConnections' => [
- 'path' => '/organization/{organizationId}/serviceConnections',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetVariableGroup' => [
+ 'path' => '/organization/{organizationId}/variableGroups/{id}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7768,30 +4414,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'sericeConnectionType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'StopVMDeployOrder' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkItemActivity' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/getActivity',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7802,40 +4437,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deployOrderId',
+ 'name' => 'workitemId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'SkipVMDeployMachine' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/skip',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkItemInfo' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7846,48 +4460,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pipelineId',
- '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' => 'machineSn',
+ 'name' => 'workitemId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RetryVMDeployMachine' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkItemWorkFlowInfo' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/getWorkflowInfo',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7898,92 +4483,54 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pipelineId',
- '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' => 'configurationId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'machineSn',
+ 'name' => 'workitemId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ResumeVMDeployOrder' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/resume',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkitemAttachmentCreatemeta' => [
+ 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment/createmeta',
+ 'methods' => ['get'],
+ 'schemes' => ['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' => 'pipelineId',
+ 'name' => 'workitemIdentifier',
'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' => 'fileName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetVMDeployOrder' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkitemCommentList' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/commentList',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7994,40 +4541,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'deployOrderId',
+ 'name' => 'workitemId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'LogVMDeployMachine' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/log',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkitemFile' => [
+ 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/files/{fileIdentifier}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8038,122 +4564,70 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'deployOrderId',
+ 'name' => 'workitemIdentifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'machineSn',
+ 'name' => 'fileIdentifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreatePipelineGroup' => [
- 'path' => '/organization/{organizationId}/pipelineGroups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkitemRelations' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/getRelations',
+ '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' => 'name',
+ 'name' => 'workitemId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'relationType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 40,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeletePipelineGroup' => [
- 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetWorkitemTimeTypeList' => [
+ 'path' => '/organization/{organizationId}/workitems/type/list',
+ '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',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8166,586 +4640,515 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'pipelineIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'groupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'UpdatePipelineGroup' => [
- 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'LinkMergeRequestLabel' => [
+ 'path' => '/api/v4/projects/merge_requests/link_labels',
+ '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' => 'name',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 40,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
+ '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' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'labelIds' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'GetPipelineGroup' => [
- 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
- 'methods' => [
- 'get',
+ 'ListAllReleaseWorkflows' => [
+ 'path' => '/appstack/apps/{appName}/releaseWorkflows',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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],
+ ],
],
+ ],
+ 'ListAppReleaseStageExecutionIntegratedMetadata' => [
+ 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}/integratedMetadata',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [],
+ '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' => 'groupId',
+ 'name' => 'releaseWorkflowSn',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'ListPipelineGroupPipelines' => [
- 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}/pipelines',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListAppReleaseStageExecutions' => [
+ 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions',
+ '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' => false],
],
[
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '50',
- ],
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'releaseWorkflowSn',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'groupId',
+ 'name' => 'releaseStageSn',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineName',
+ 'name' => 'pagination',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'executeStartTime',
+ 'name' => 'perPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'executeEndTime',
+ 'name' => 'orderBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createStartTime',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'resultStatusList',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createEndTime',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ListPipelineGroups' => [
- 'path' => '/organization/{organizationId}/pipelineGroups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListApplicationMembers' => [
+ 'path' => '/appstack/apps/{appName}/members',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'organizationId',
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '50',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateFlowTag' => [
- 'path' => '/organization/{organizationId}/flow/tags',
- 'methods' => [
- 'post',
- ],
- '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' => 'name',
+ 'name' => 'perPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 20,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'color',
+ 'name' => 'orderBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- '#1F9AEF',
- '#E63A3A',
- '#FA8C15',
- '#15AD31',
- '#7978E5',
- '#8C8C8C',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'flowTagGroupId',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateFlowTagGroup' => [
- 'path' => '/organization/{organizationId}/flow/tagGroups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteFlowTagGroup' => [
- 'path' => '/organization/{organizationId}/flow/tagGroups/{id}',
- 'methods' => [
- 'delete',
- ],
- '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' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'id',
+ 'name' => 'sn',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DeleteFlowTag' => [
- 'path' => '/organization/{organizationId}/flow/tags/{id}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'perPage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'orderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'sort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'releaseWorkflowSn',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'releaseStageSn',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateFlowTag' => [
- 'path' => '/organization/{organizationId}/flow/tags/{id}',
- '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' => 'id',
+ 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'color',
+ 'name' => 'pagination',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'perPage',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ '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,
- 'enum' => [
- '#1F9AEF',
- '#E63A3A',
- '#FA8C15',
- '#15AD31',
- '#7978E5',
- '#8C8C8C',
- ],
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'flowTagGroupId',
+ 'name' => 'ownerIdList',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'name',
+ 'name' => 'appNameList',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 20,
+ '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],
+ ],
],
],
- 'UpdateFlowTagGroup' => [
- 'path' => '/organization/{organizationId}/flow/tagGroups/{id}',
- 'methods' => [
- 'put',
- ],
- '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' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 20,
- ],
+ '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],
],
],
],
- 'GetFlowTagGroup' => [
- 'path' => '/organization/{organizationId}/flow/tagGroups/{id}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListCommitStatuses' => [
+ 'path' => '/api/v4/projects/repository/commit_statuses/list_commit_statuses',
+ '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' => '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' => '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],
],
],
],
'ListFlowTagGroups' => [
'path' => '/organization/{organizationId}/flow/tagGroups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8756,74 +5159,44 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateSshKey' => [
- 'path' => '/organization/{organizationId}/sshKey',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListGroupMember' => [
+ 'path' => '/repository/groups/{groupId}/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,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'ResetSshKey' => [
- 'path' => '/organization/{organizationId}/sshKey',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'CreateResourceMember' => [
- 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListGroupRepositories' => [
+ 'path' => '/repository/groups/{groupId}/projects',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8833,62 +5206,40 @@
'parameters' => [
[
'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'resourceType',
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '999999999999999',
- 'enum' => [
- 'pipeline',
- 'hostGroup',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'accountId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'roleName',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'resourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteResourceMember' => [
- 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListHostGroups' => [
+ 'path' => '/organization/{organizationId}/hostGroups',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8899,278 +5250,206 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'resourceType',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '999999999999999',
- 'enum' => [
- 'pipeline',
- 'hostGroup',
- ],
- ],
+ 'name' => 'ids',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'resourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'createStartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'accountId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'createEndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- ],
- 'UpdateResourceMember' => [
- 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members/{accountId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'creatorAccountIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'resourceType',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minimum' => '1',
- 'maximum' => '999999999999999',
- 'enum' => [
- 'pipeline',
- 'hostGroup',
- ],
- ],
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'roleName',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'resourceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'pageSort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'accountId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'pageOrder',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListResourceMembers' => [
- 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members',
- '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' => ['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' => 'resourceType',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'pipeline',
- 'hostGroup',
- ],
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'resourceId',
- 'in' => 'path',
+ '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' => 'integer',
- 'format' => 'int64',
+ '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],
+ ],
],
],
],
],
- 'CreateHostGroup' => [
- 'path' => '/organization/{organizationId}/hostGroups',
- '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' => 'type',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'ECS',
- ],
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'envId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'repositoryIdentity',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'localId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'serviceConnectionId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'fromPatchSetBizId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tagIds',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'toPatchSetBizId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'ListMergeRequestLabels' => [
+ 'path' => '/api/v4/projects/merge_requests/labels',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ecsType',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ECS_ALIYUN',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ecsLabelKey',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'organizationId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ecsLabelValue',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunRegion',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'repositoryIdentity',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'machineInfos',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'localId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'DeleteHostGroup' => [
- 'path' => '/organization/{organizationId}/hostGroups/{id}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListMergeRequestPatchSets' => [
+ 'path' => '/api/v4/projects/merge_requests/diffs/list_patchsets',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9180,189 +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' => 'integer',
- 'format' => 'int64',
- '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],
],
],
],
- 'UpdateHostGroup' => [
- 'path' => '/organization/{organizationId}/hostGroups/{id}',
- 'methods' => [
- 'put',
- ],
- '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' => 'type',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'ECS',
- ],
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'envId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'name',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'serviceConnectionId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'groupIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'tagIds',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'projectIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ecsType',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ECS_ALIYUN',
- ],
- ],
+ 'name' => 'authorIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ecsLabelKey',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'reviewerIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ecsLabelValue',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'state',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunRegion',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'machineInfos',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'orderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'sort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetHostGroup' => [
- 'path' => '/organization/{organizationId}/hostGroups/{id}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'filter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'labelIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'createdBefore',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'createdAfter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListHostGroups' => [
- 'path' => '/organization/{organizationId}/hostGroups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListOrganizationMembers' => [
+ 'path' => '/organization/{organizationId}/members',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9373,276 +5588,184 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ids',
+ 'name' => 'organizationMemberName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createStartTime',
+ 'name' => 'provider',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createEndTime',
+ 'name' => 'externUid',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
+ 'name' => 'state',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'creatorAccountIds',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '200'],
],
[
- 'name' => 'maxResults',
+ 'name' => 'joinTimeFrom',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pageSort',
+ 'name' => 'joinTimeTo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pageOrder',
+ 'name' => 'containsExternInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'CreateVariableGroup' => [
- 'path' => '/organization/{organizationId}/variableGroups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListOrganizations' => [
+ 'path' => '/organizations/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' => 'name',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'description',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'accessLevel',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'variables',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'minAccessLevel',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DeleteVariableGroup' => [
- 'path' => '/organization/{organizationId}/variableGroups/{id}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '50'],
],
- ],
- ],
- 'UpdateVariableGroup' => [
- 'path' => '/organization/{organizationId}/variableGroups/{id}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pipelineName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'description',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'executeStartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'variables',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'executeEndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'GetVariableGroup' => [
- 'path' => '/organization/{organizationId}/variableGroups/{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' => 'integer',
- 'format' => 'int64',
- '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],
],
],
],
- 'ListVariableGroups' => [
- 'path' => '/organization/{organizationId}/variableGroups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListPipelineJobHistorys' => [
+ 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/job/historys',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9653,55 +5776,43 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pageSort',
+ 'name' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000],
+ ],
+ [
+ 'name' => 'category',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['DEPLOY'],
],
],
[
- 'name' => 'pageOrder',
+ 'name' => 'identifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ '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' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '50'],
],
],
],
- 'CreatePipeline' => [
- 'path' => '/organization/{organizationId}/pipelines',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListPipelineJobs' => [
+ 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/jobs',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9712,75 +5823,28 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 1000],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
+ 'name' => 'category',
+ 'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'string',
'required' => true,
- 'minimum' => '1',
- 'maximum' => '999999999999999',
+ 'enum' => ['DEPLOY'],
],
],
],
],
- 'DeletePipelineRelations' => [
+ 'ListPipelineRelations' => [
'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9791,19 +5855,12 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'relObjectType',
@@ -9811,338 +5868,194 @@
'schema' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'VARIABLE_GROUP',
- 'OSS_APP_ID',
- ],
- ],
- ],
- [
- 'name' => 'relObjectId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'enum' => ['VARIABLE_GROUP', 'OSS_APP_ID'],
],
],
],
],
- 'UpdatePipeline' => [
- 'path' => '/organization/{organizationId}/pipelines/update',
- 'methods' => [
- 'post',
- ],
- '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,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'name',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'content',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pipelineId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'StartPipelineRun' => [
- 'path' => '/organizations/{organizationId}/pipelines/{pipelineId}/run',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'params',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'triggerMode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'StopPipelineJobRun' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/stop',
- 'methods' => [
- 'put',
- ],
- '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' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'pipelineName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'creatorAccountIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'executeAccountIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'StopPipelineRun' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/stop',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'statusList',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'createStartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'createEndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'UpdatePipelineBaseInfo' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/baseInfo',
- 'methods' => [
- 'put',
- ],
- '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,
- ],
- ],
- [
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineName',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'envId',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'enum' => [
- '0',
- '1',
- '2',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tagList',
+ 'name' => 'search',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'RetryPipelineJobRun' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- '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' => 'orderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'sort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'withCounts',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'SkipPipelineJobRun' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/skip',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProjectMembers' => [
+ 'path' => '/organization/{organizationId}/projects/{projectId}/listMembers',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10153,49 +6066,24 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineRunId',
+ 'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'targetType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'PassPipelineValidate' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/pass',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProjectTemplates' => [
+ 'path' => '/organization/{organizationId}/projects/listTemplates',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10206,48 +6094,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'category',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RefusePipelineValidate' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/refuse',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProjectWorkitemTypes' => [
+ 'path' => '/organization/{organizationId}/projects/{projectId}/getWorkitemType',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10258,48 +6117,29 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineId',
+ 'name' => 'projectId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'spaceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'category',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'AddPipelineRelations' => [
- 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProjects' => [
+ 'path' => '/organization/{organizationId}/listProjects',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10310,591 +6150,419 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'extraConditions',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'relObjectType',
+ 'name' => 'conditions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'VARIABLE_GROUP',
- 'OOS_APP_ID',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'relObjectIds',
+ 'name' => 'category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'GetPipeline' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListProtectedBranches' => [
+ 'path' => '/repository/{repositoryId}/protect_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' => 'pipelineId',
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'GetPipelineRun' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}',
- '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' => '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' => 'pipelineRunId',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListPipelineRuns' => [
- 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRepositories' => [
+ 'path' => '/repository/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,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'startTime',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'endTime',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'status',
+ 'name' => 'perPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'maxResults',
+ 'name' => 'orderBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'triggerMode',
+ 'name' => 'archived',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'minAccessLevel',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ListPipelines' => [
- 'path' => '/organization/{organizationId}/pipelines',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => 'pipelineName',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'creatorAccountIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'executeAccountIds',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'statusList',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'createStartTime',
+ 'name' => 'search',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'createEndTime',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ListRepositoryCommitDiff' => [
+ 'path' => '/repository/{repositoryId}/commits/{sha}/diff',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'executeStartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'executeEndTime',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'maxResults',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'sha',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'contextLine',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'GetPipelineArtifactUrl' => [
- 'path' => '/organization/{organizationId}/pipeline/getArtifactDownloadUrl',
- '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' => 'filePath',
+ 'name' => 'refName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 1000,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fileName',
+ 'name' => 'start',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'GetPipelineEmasArtifactUrl' => [
- 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/emas/artifact/{emasJobInstanceId}/{md5}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'end',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'emasJobInstanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'md5',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'path',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'showSignature',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'serviceConnectionId',
+ 'name' => 'showCommentsCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'GetPipelineScanReportUrl' => [
- 'path' => '/organization/{organizationId}/pipeline/getPipelineScanReportUrl',
- 'methods' => [
- 'post',
- ],
- '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' => 'reportPath',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 1000,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListPipelineJobHistorys' => [
- 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/job/historys',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'parentId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'pipelineId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 1000,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'category',
+ 'name' => 'search',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'DEPLOY',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'identifier',
+ 'name' => 'orderBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'maxResults',
+ 'name' => 'includePersonal',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'maximum' => '50',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListPipelineJobs' => [
- 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/jobs',
- 'methods' => [
- 'post',
- ],
- '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' => 'pipelineId',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 1000,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'],
],
[
- 'name' => 'category',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'DEPLOY',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'LogPipelineJobRun' => [
- 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/job/{jobId}/logs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRepositoryTags' => [
+ 'path' => '/repository/{repositoryId}/tag/list',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10904,148 +6572,130 @@
'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' => 'jobId',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'pipelineRunId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- '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' => 'sort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListPipelineRelations' => [
- 'path' => '/organization/{organizationId}/{pipelineId}/pipelineRelations',
- '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' => 'pipelineId',
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'relObjectType',
+ 'name' => 'path',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'VARIABLE_GROUP',
- 'OSS_APP_ID',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'refName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'WorkitemAttachmentCreate' => [
- 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => 'workitemIdentifier',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'maximum' => '9223372036854775807'],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'fileKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'originalFilename' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '9223372036854775807'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
],
],
],
- 'ListWorkitemAttachments' => [
- 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachments',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListResourceMembers' => [
+ 'path' => '/organization/{organizationId}/{resourceType}/{resourceId}/members',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11056,45 +6706,41 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemIdentifier',
+ 'name' => 'resourceType',
'in' => 'path',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['pipeline', 'hostGroup'],
],
],
+ [
+ 'name' => 'resourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
- 'CreateWorkitemV2' => [
- 'path' => '/organization/{organizationId}/workitem',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListSearchCommit' => [
+ 'path' => '/search/commit',
+ 'methods' => ['post'],
+ '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' => 'body',
@@ -11102,122 +6748,45 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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',
+ '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,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ 'operatorType' => ['type' => 'string', 'required' => false],
+ 'matchType' => ['type' => 'string', 'required' => false],
],
],
- 'verifier' => [
- 'type' => 'string',
- 'required' => false,
- ],
],
],
],
],
],
- 'CreateWorkitemRecord' => [
- 'path' => '/organization/{organizationId}/workitems/record',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListSearchRepository' => [
+ 'path' => '/search/repo',
+ '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' => 'body',
@@ -11225,64 +6794,47 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'properties' => [
- 'workitemIdentifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'actualTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'description' => [
- 'type' => 'string',
+ '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,
- ],
- 'recordUserIdentifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'gmtStart' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'gmtEnd' => [
- 'type' => 'string',
- 'required' => true,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ 'operatorType' => ['type' => 'string', 'required' => false],
+ 'matchType' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
],
],
- 'CreateWorkitem' => [
- 'path' => '/organization/{organizationId}/workitems/create',
- 'methods' => [
- 'post',
- ],
- '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,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -11290,169 +6842,72 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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',
+ '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,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ 'operatorType' => ['type' => 'string', 'required' => false],
+ 'matchType' => ['type' => 'string', 'required' => false],
],
],
- 'verifier' => [
- 'type' => 'array',
+ 'filePath' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ 'operatorType' => ['type' => 'string', 'required' => false],
+ 'matchType' => ['type' => 'string', 'required' => false],
],
],
- 'parent' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'language' => ['type' => 'string', 'required' => false],
+ 'isCodeBlock' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'CreateWorkitemComment' => [
- 'path' => '/organization/{organizationId}/workitems/comment',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListServiceAuths' => [
+ 'path' => '/organization/{organizationId}/serviceAuths',
+ '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' => 'body',
- 'in' => 'body',
- 'style' => 'json',
+ 'name' => 'serviceAuthType',
+ 'in' => 'query',
'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,
- ],
- ],
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['RAM'],
],
],
],
],
- 'DeleteWorkitemComment' => [
- 'path' => '/organization/{organizationId}/workitems/deleteComent',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListServiceConnections' => [
+ 'path' => '/organization/{organizationId}/serviceConnections',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11463,76 +6918,48 @@
[
'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' => [
- 'identifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'commentId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'sericeConnectionType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteWorkitemAllComment' => [
- 'path' => '/organization/{organizationId}/workitems/deleteAllComment',
- 'methods' => [
- 'delete',
- ],
- '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' => 'identifier',
+ 'name' => 'serviceCredentialType',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['USERNAME_PASSWORD'],
],
],
],
],
- 'UpdateWorkitemComment' => [
- 'path' => '/organization/{organizationId}/workitems/commentUpdate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListSprints' => [
+ 'path' => '/organization/{organizationId}/sprints/list',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11543,50 +6970,34 @@
[
'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' => '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],
],
],
],
- 'UpdateWorkItem' => [
- 'path' => '/organization/{organizationId}/workitems/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTestCaseFields' => [
+ 'path' => '/organization/{organizationId}/testhub/testcase/fields',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11597,255 +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' => [
- 'propertyKey' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'propertyValue' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'identifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'fieldType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
+ 'name' => 'spaceIdentifier',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetWorkitemAttachmentCreatemeta' => [
- 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachment/createmeta',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListUserDrawRecordByPk' => [
+ 'path' => '/listUserDrawRecords',
+ '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,
- ],
+ 'name' => 'aliyunPk',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'workitemIdentifier',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'drawGroup',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'fileName',
+ 'name' => 'drawPoolName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetWorkitemTimeTypeList' => [
- 'path' => '/organization/{organizationId}/workitems/type/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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],
],
- ],
- ],
- 'GetWorkitemRelations' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/getRelations',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'workitemId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'relationType',
+ 'name' => 'sort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'orderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetWorkitemCommentList' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/commentList',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListUserResources' => [
+ 'path' => '/api/v4/user/vision/user_resources',
+ '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' => 'workitemId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateWorkitemEstimate' => [
- 'path' => '/organization/{organizationId}/workitems/estimate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'userIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- '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' => [
- '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' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'GetCustomFieldOption' => [
- 'path' => '/organization/{organizationId}/fields/{fieldId}/getCustomOption',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListVariableGroups' => [
+ 'path' => '/organization/{organizationId}/variableGroups',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11856,54 +7146,34 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'spaceIdentifier',
+ 'name' => 'pageSort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'spaceType',
+ 'name' => 'pageOrder',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'workitemTypeIdentifier',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'fieldId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'GetWorkItemActivity' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/getActivity',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkItemAllFields' => [
+ 'path' => '/organization/{organizationId}/workitems/fields/listAll',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11914,64 +7184,29 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'GetWorkItemInfo' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'name' => 'spaceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'spaceIdentifier',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'workitemTypeIdentifier',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetWorkItemWorkFlowInfo' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/getWorkflowInfo',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkItemWorkFlowStatus' => [
+ 'path' => '/organization/{organizationId}/workitems/workflow/listWorkflowStatus',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11982,38 +7217,34 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'configurationId',
+ 'name' => 'spaceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemId',
- 'in' => 'path',
- 'schema' => [
- '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],
],
],
],
- 'ListProjectWorkitemTypes' => [
- 'path' => '/organization/{organizationId}/projects/{projectId}/getWorkitemType',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkitemAttachments' => [
+ 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/attachments',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12024,46 +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,
- ],
- ],
- [
- 'name' => 'spaceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'category',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListWorkItemAllFields' => [
- 'path' => '/organization/{organizationId}/workitems/fields/listAll',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkitemEstimate' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/estimate/list',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12074,46 +7278,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'spaceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'spaceIdentifier',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'workitemTypeIdentifier',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'workitemId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListWorkItemWorkFlowStatus' => [
- 'path' => '/organization/{organizationId}/workitems/workflow/listWorkflowStatus',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListWorkitemTime' => [
+ 'path' => '/organization/{organizationId}/workitems/{workitemId}/time/list',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12124,54 +7301,19 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'spaceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- '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,
- ],
+ 'name' => 'workitemId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListWorkitems' => [
'path' => '/organization/{organizationId}/listWorkitems',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12182,102 +7324,64 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'spaceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'spaceIdentifier',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'conditions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'extraConditions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'groupCondition',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'orderBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'searchType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListWorkitemTime' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/time/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'LogPipelineJobRun' => [
+ 'path' => '/organization/{organizationId}/pipeline/{pipelineId}/pipelineRun/{pipelineRunId}/job/{jobId}/logs',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12288,29 +7392,29 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemId',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'ListWorkitemEstimate' => [
- 'path' => '/organization/{organizationId}/workitems/{workitemId}/estimate/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'LogVMDeployMachine' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/log',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12321,44 +7425,57 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'workitemId',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'UpdateWorkitemField' => [
- 'path' => '/organization/{organizationId}/workitems/updateWorkitemField',
- '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',
@@ -12368,42 +7485,18 @@
'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,
- ],
- ],
- ],
- ],
+ 'mergeType' => ['type' => 'string', 'required' => true],
+ 'mergeMessage' => ['type' => 'string', 'required' => false],
+ 'removeSourceBranch' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'DeleteWorkitem' => [
- 'path' => '/organization/{organizationId}/workitem/delete',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PassPipelineValidate' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/pass',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12414,287 +7507,187 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'identifier',
- 'in' => 'query',
- '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],
],
],
],
- 'GetWorkitemFile' => [
- 'path' => '/organization/{organizationId}/workitem/{workitemIdentifier}/files/{fileIdentifier}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ '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' => 'workitemIdentifier',
+ 'name' => 'releaseWorkflowSn',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'fileIdentifier',
+ 'name' => 'releaseStageSn',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'executionNumber',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'jobId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateProject' => [
- 'path' => '/organization/{organizationId}/projects/createProject',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RefusePipelineValidate' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/refuse',
+ 'methods' => ['post'],
+ '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' => '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' => '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],
],
],
],
- 'CreateSprint' => [
- 'path' => '/organization/{organizationId}/sprints/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RefuseReleaseStagePipelineValidate' => [
+ 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [],
- 'produces' => [],
+ '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,
- ],
- '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' => 'releaseWorkflowSn',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DeleteProject' => [
- 'path' => '/organization/{organizationId}/projects/delete',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'releaseStageSn',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
+ 'name' => 'executionNumber',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'identifier',
+ 'name' => 'jobId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateProjectMember' => [
- 'path' => '/organization/{organizationId}/projects/{projectId}/updateMember',
- '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' => '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' => [
- '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' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'projectId',
+ '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],
],
],
],
- 'UpdateProjectField' => [
- 'path' => '/organization/{organizationId}/project/{identifier}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ResetSshKey' => [
+ 'path' => '/organization/{organizationId}/sshKey',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12705,81 +7698,14 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'identifier',
- 'in' => 'path',
- '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,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetProjectInfo' => [
- 'path' => '/organization/{organizationId}/project/{projectId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ResumeVMDeployOrder' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/resume',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12790,30 +7716,24 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'projectId',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'deployOrderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListProjectMembers' => [
- 'path' => '/organization/{organizationId}/projects/{projectId}/listMembers',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RetryPipelineJobRun' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12824,146 +7744,115 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'projectId',
+ 'name' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'targetType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pipelineRunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'GetSprintInfo' => [
- 'path' => '/organization/{organizationId}/sprints/{sprintId}/getSprintinfo',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RetryVMDeployMachine' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/retry',
+ 'methods' => ['put'],
+ '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' => 'pipelineId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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],
],
],
],
- 'ListProjects' => [
- 'path' => '/organization/{organizationId}/listProjects',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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,
- ],
- ],
- [
- 'name' => 'extraConditions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'conditions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'category',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'localId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'scope',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
],
],
],
],
- 'ListProjectTemplates' => [
- 'path' => '/organization/{organizationId}/projects/listTemplates',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SkipPipelineJobRun' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/skip',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12974,30 +7863,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' => 'pipelineRunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListSprints' => [
- 'path' => '/organization/{organizationId}/sprints/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SkipVMDeployMachine' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/machine/{machineSn}/skip',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13008,55 +7896,29 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'spaceIdentifier',
- 'in' => 'query',
- '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',
- ],
+ 'StartPipelineRun' => [
+ 'path' => '/organizations/{organizationId}/pipelines/{pipelineId}/run',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13067,115 +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' => [
- '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,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'params',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateTestCase' => [
- 'path' => '/organization/{organizationId}/testhub/testcase/{testcaseIdentifier}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopPipelineJobRun' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/jobs/{jobId}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13186,59 +7957,29 @@
[
'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' => [
- 'updateWorkitemPropertyRequest' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'fieldIdentifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'fieldValue' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'pipelineRunId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'jobId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ListTestCaseFields' => [
- 'path' => '/organization/{organizationId}/testhub/testcase/fields',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopPipelineRun' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/pipelineRuns/{pipelineRunId}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13249,30 +7990,24 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'spaceIdentifier',
- 'in' => 'query',
- '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],
],
],
],
- 'GetTestcaseList' => [
- 'path' => '/organization/{organizationId}/testhub/testcases',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'StopVMDeployOrder' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/stop',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13283,180 +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' => [
- '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' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'deployOrderId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'UpdateTestResult' => [
- 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresult/{testcaseIdentifier}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'TransferRepository' => [
+ 'path' => '/api/v4/projects/repository/transfer',
+ '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' => 'testPlanIdentifier',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'testcaseIdentifier',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'repositoryId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', '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' => 'groupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetTestResultList' => [
- 'path' => '/organization/{organizationId}/testhub/testplan/{testPlanIdentifier}/testresults',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'testPlanIdentifier',
+ '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' => [
- 'directoryIdentifier' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'conditions' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'account',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'token',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ExportWorkitemActivity' => [
- 'path' => '/organization/{organizationId}/data/workitemActivities',
- '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',
@@ -13466,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],
+ ],
],
],
],
],
],
],
- 'ExportInsightWorkitemVersion' => [
- 'path' => '/organization/{organizationId}/data/workitemVersions',
- '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',
@@ -13519,103 +8187,44 @@
'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],
],
],
],
],
],
- 'ExportInsightWorkitemStatusJoinWorkitemDefectExtra' => [
- 'path' => '/organization/{organizationId}/data/workitemStatusJoinWorkitemDefectExtras',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateCheckRun' => [
+ 'path' => '/api/v4/projects/check_runs/update_check_run',
+ '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],
],
- ],
- ],
- 'ExportInsightWorkitemStatus' => [
- 'path' => '/organization/{organizationId}/data/workitemStatuses',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'repositoryIdentity',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'organizationId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'checkRunId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -13625,50 +8234,86 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'startTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'endTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'nextToken' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ '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],
+ ],
+ ],
],
],
],
],
],
],
- 'ExportInsightWorkTime' => [
- 'path' => '/organization/{organizationId}/data/workTimes',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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' => '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' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -13678,36 +8323,21 @@
'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,
- ],
+ '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],
],
],
],
],
],
- 'ExportInsightTagRef' => [
- 'path' => '/organization/{organizationId}/data/tagRefs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateFlowTag' => [
+ 'path' => '/organization/{organizationId}/flow/tags/{id}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13718,49 +8348,38 @@
[
'name' => 'organizationId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'color',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['#1F9AEF', '#E63A3A', '#FA8C15', '#15AD31', '#7978E5', '#8C8C8C'],
],
],
[
- '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' => 'flowTagGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20],
],
],
],
- 'ExportInsightSprint' => [
- 'path' => '/organization/{organizationId}/data/sprints',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateFlowTagGroup' => [
+ 'path' => '/organization/{organizationId}/flow/tagGroups/{id}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13771,63 +8390,42 @@
[
'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' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 20],
],
],
],
- 'ExportInsightSpaceRef' => [
- 'path' => '/organization/{organizationId}/data/spaceRefs',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGroup' => [
+ 'path' => '/groups/modify',
+ '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' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -13835,52 +8433,51 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ '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,
- ],
+ '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],
],
],
],
],
],
- 'ExportInsightSpace' => [
- 'path' => '/organization/{organizationId}/data/spaces',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateGroupMember' => [
+ 'path' => '/repository/groups/{groupId}/members/update/aliyun_pk',
+ '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' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'aliyunPk',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -13888,38 +8485,19 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ '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,
- ],
+ 'accessLevel' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'memberType' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ExportInsightField' => [
- 'path' => '/organization/{organizationId}/data/fields',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateHostGroup' => [
+ 'path' => '/organization/{organizationId}/hostGroups/{id}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13930,63 +8508,105 @@
[
'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' => [
- 'startTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'endTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'nextToken' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int64',
- '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],
+ ],
],
],
- 'ExportInsightExpectedWorkTime' => [
- 'path' => '/organization/{organizationId}/data/expectedWorkTimes',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateMergeRequest' => [
+ 'path' => '/api/v4/projects/{repositoryId}/merge_requests/{localId}',
+ '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' => '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',
@@ -13996,50 +8616,50 @@
'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,
- ],
+ 'title' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ExportInsightCustomValue' => [
- 'path' => '/organization/{organizationId}/data/customValues',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- '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'],
'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' => 'personType',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -14049,22 +8669,10 @@
'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',
+ 'newUserIdList' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
@@ -14073,61 +8681,38 @@
],
'UpdateOrganizationMember' => [
'path' => '/organization/{organizationId}/members/{accountId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ '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' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'accountId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'organizationMemberName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListOrganizationMembers' => [
- 'path' => '/organization/{organizationId}/members',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdatePipeline' => [
+ 'path' => '/organization/{organizationId}/pipelines/update',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14138,218 +8723,118 @@
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'organizationMemberName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'name',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'provider',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'content',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'externUid',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'pipelineId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'UpdatePipelineBaseInfo' => [
+ 'path' => '/organization/{organizationId}/pipelines/{pipelineId}/baseInfo',
+ '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' => 'pipelineId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'joinTimeFrom',
+ 'name' => 'pipelineName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'joinTimeTo',
+ 'name' => 'envId',
'in' => 'query',
'schema' => [
'type' => 'integer',
'format' => 'int64',
'required' => false,
+ 'enum' => ['0', '1', '2'],
],
],
[
- 'name' => 'containsExternInfo',
+ 'name' => 'tagList',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetOrganizationMember' => [
- 'path' => '/organization/{organizationId}/members/{accountId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdatePipelineGroup' => [
+ 'path' => '/organization/{organizationId}/pipelineGroups/{groupId}',
+ 'methods' => ['put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => [],
+ 'produces' => [],
'deprecated' => false,
'parameters' => [
[
'name' => 'organizationId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'accountId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'ListJoinedOrganizations' => [
- 'path' => '/users/joinedOrgs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [],
- ],
- 'GetApplication' => [
- 'path' => '/appstack/apps/{appName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 40],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'appName',
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'organizationId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'UpdateApplication' => [
- 'path' => '/appstack/apps/{appName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateProjectField' => [
+ 'path' => '/organization/{organizationId}/project/{identifier}',
+ 'methods' => ['post'],
+ 'schemes' => ['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' => 'identifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -14359,164 +8844,100 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ownerAccountId' => [
- 'type' => 'string',
+ '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],
],
],
],
],
],
- 'ListApplications' => [
- 'path' => '/appstack/apps:search',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'pagination',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'perPage',
+ 'name' => 'organizationId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'orderBy',
+ 'name' => 'accessToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'labelId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nextToken',
+ 'name' => 'repositoryIdentity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'organizationId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'color' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListApplicationMembers' => [
- 'path' => '/appstack/apps/{appName}/members',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- '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' => 'appName',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'organizationId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'CreateAppMembers' => [
- 'path' => '/appstack/apps/{appName}/members',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- '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' => 'body',
@@ -14524,76 +8945,55 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'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,
- ],
- ],
- ],
- ],
+ '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],
+ ],
],
],
- 'UpdateAppMember' => [
- 'path' => '/appstack/apps/{appName}/members',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'http',
- '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',
+ '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' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -14601,27 +9001,101 @@
'style' => 'json',
'schema' => [
'type' => 'object',
- 'required' => false,
+ 'required' => true,
'properties' => [
- 'roleNames' => [
+ 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'branch' => ['type' => 'string', 'required' => true],
+ 'allowPushRoles' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- '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],
],
],
- 'player' => [
+ 'testSettingDTO' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'id' => [
- 'type' => 'string',
+ 'isRequired' => ['type' => 'boolean', 'required' => false],
+ 'codeGuidelinesDetection' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'enabled' => ['type' => 'boolean', 'required' => false],
+ 'message' => ['type' => 'string', 'required' => false],
+ ],
],
- 'type' => [
- 'type' => 'string',
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
],
@@ -14630,177 +9104,127 @@
],
],
],
- 'DeleteAppMember' => [
- 'path' => '/appstack/apps/{appName}/members',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdatePushReviewOnOff' => [
+ 'path' => '/repository/{repositoryId}/settings/trunk_mode',
+ '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' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'subjectType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'subjectId',
+ 'name' => 'trunkMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
],
],
- 'GetReleaseStagePipelineRun' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:getPipelineRun',
- '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' => 'string',
- '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],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'ExecuteChangeRequestReleaseStage' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}:execute',
- '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' => 'releaseWorkflowSn',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'accessToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'releaseStageSn',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'body',
@@ -14810,467 +9234,297 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'params' => [
- 'type' => 'object',
+ '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,
- 'additionalProperties' => [
- 'type' => 'any',
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'permissionCode' => ['type' => 'string', 'required' => false],
+ 'allowed' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
+ 'adminSettingLanguage' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CancelExecutionReleaseStage' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:cancel',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateRepositoryMember' => [
+ 'path' => '/repository/{repositoryId}/members/{aliyunPk}',
+ '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',
+ 'name' => 'repositoryId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'releaseWorkflowSn',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'releaseStageSn',
+ 'name' => 'aliyunPk',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ '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' => [
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
- ],
- ],
- 'ListAllReleaseWorkflows' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- '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],
],
],
],
- 'ListAppReleaseStageExecutions' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions',
- 'methods' => [
- 'get',
- ],
- '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',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'releaseStageSn',
+ 'name' => 'resourceType',
'in' => 'path',
'schema' => [
'type' => 'string',
'required' => true,
+ 'minimum' => '1',
+ 'maximum' => '999999999999999',
+ 'enum' => ['pipeline', 'hostGroup'],
],
],
[
- 'name' => 'pagination',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'perPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'orderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'sort',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'roleName',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'resourceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'accountId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListAppReleaseStageExecutionIntegratedMetadata' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}/integratedMetadata',
- 'methods' => [
- 'get',
- ],
- '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,
- ],
- ],
- [
- 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'releaseWorkflowSn',
+ 'name' => 'testcaseIdentifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'releaseStageSn',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'executionNumber',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ '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],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'RefuseReleaseStagePipelineValidate' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:refusePipelineValidate',
- 'methods' => [
- 'post',
- ],
- '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' => false,
- ],
- ],
- [
- 'name' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'releaseWorkflowSn',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'releaseStageSn',
+ 'name' => 'testPlanIdentifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'executionNumber',
+ 'name' => 'testcaseIdentifier',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'executor' => ['type' => 'string', 'required' => false],
+ 'status' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'PassReleaseStagePipelineValidate' => [
- 'path' => '/appstack/apps/{appName}/releaseWorkflows/{releaseWorkflowSn}/releaseStages/{releaseStageSn}/executions/{executionNumber}:passPipelineValidate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVariableGroup' => [
+ 'path' => '/organization/{organizationId}/variableGroups/{id}',
+ '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',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'name',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'releaseStageSn',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'description',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'executionNumber',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'variables',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jobId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'CreateChangeRequest' => [
- 'path' => '/appstack/apps/{appName}/changeRequests',
- 'methods' => [
- 'post',
- ],
- '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' => 'body',
@@ -15280,324 +9534,128 @@
'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,
- ],
+ 'propertyKey' => ['type' => 'string', 'required' => true],
+ 'propertyValue' => ['type' => 'string', 'required' => true],
+ 'identifier' => ['type' => 'string', 'required' => true],
+ 'fieldType' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'ListChangeRequests' => [
- 'path' => '/appstack/apps/{appName}/changeRequests',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateWorkitemComment' => [
+ 'path' => '/organization/{organizationId}/workitems/commentUpdate',
+ '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' => 'appName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'pagination',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'perPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- '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' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ownerIdList',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- [
- 'name' => 'appNameList',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- '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' => 'displayNameKeyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
],
],
- 'ListChangeRequestWorkflowExecutions' => [
- 'path' => '/appstack/apps/{appName}/changeRequests/{sn}/executions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateWorkitemField' => [
+ 'path' => '/organization/{organizationId}/workitems/updateWorkitemField',
+ '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,
- ],
- ],
- [
- 'name' => 'sn',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'perPage',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'orderBy',
- '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,
- ],
- ],
- [
- 'name' => 'releaseWorkflowSn',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'releaseStageSn',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ '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'],
],
];