diff options
Diffstat (limited to 'data/paiflow')
| -rw-r--r-- | data/paiflow/2021-02-02/api-docs.php | 1400 |
1 files changed, 289 insertions, 1111 deletions
diff --git a/data/paiflow/2021-02-02/api-docs.php b/data/paiflow/2021-02-02/api-docs.php index bb097f5..d867a7d 100644 --- a/data/paiflow/2021-02-02/api-docs.php +++ b/data/paiflow/2021-02-02/api-docs.php @@ -1,399 +1,49 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PAIFlow', - 'version' => '2021-02-02', - ], + 'info' => ['style' => 'ROA', 'product' => 'PAIFlow', 'version' => '2021-02-02'], 'components' => [ - 'schemas' => [ - 'BriefPipelineRun' => [ - 'type' => 'object', - 'properties' => [ - 'PipelineRunId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'ParentUserId' => [ - 'type' => 'string', - ], - 'StartedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'FinishedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'NodeId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'SourceType' => [ - 'type' => 'string', - ], - 'SourceId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'GmtModifiedTime' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'PipelineId' => [ - 'type' => 'string', - ], - 'Accessibility' => [ - 'type' => 'string', - ], - ], - ], - 'FullPipelineRun' => [ - 'type' => 'object', - 'properties' => [ - 'PipelineRunId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'Manifest' => [ - 'type' => 'string', - ], - 'Arguments' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'ParentUserId' => [ - 'type' => 'string', - ], - 'StartedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'FinishedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'NodeId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'SourceType' => [ - 'type' => 'string', - ], - 'SourceId' => [ - 'type' => 'string', - ], - 'Options' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'GmtModifiedTime' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'PipelineId' => [ - 'type' => 'string', - ], - 'Accessibility' => [ - 'type' => 'string', - ], + 'schemas' => [], + ], + 'apis' => [ + 'CreatePipeline' => [ + 'path' => '/api/v1/pipelines', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], - 'Node' => [ - 'type' => 'object', - 'properties' => [ - 'ApiVersion' => [ - 'type' => 'string', - ], - 'Metadata' => [ - 'type' => 'object', - 'properties' => [ - 'NodeId' => [ - 'type' => 'string', - ], - 'Provider' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'Identifier' => [ - 'type' => 'string', - ], - 'NodeType' => [ - 'type' => 'string', - ], - 'RelatedNodeIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'DisplayName' => [ - 'type' => 'string', - ], - ], - ], - 'Spec' => [ + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'HasPipelines' => [ - 'type' => 'boolean', - ], - 'Dependencies' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Pipelines' => [ - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Node', - ], - ], - 'Inputs' => [ - '$ref' => '#/components/schemas/NodeIO', - ], - 'Outputs' => [ - '$ref' => '#/components/schemas/NodeIO', - ], - 'When' => [ - 'type' => 'string', - ], - 'WithItems' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'WithParam' => [ - 'type' => 'string', - ], - 'WithSequence' => [ - 'type' => 'object', - 'properties' => [ - 'Start' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'End' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Format' => [ - 'type' => 'string', - ], - ], - ], - 'Parallelism' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'Manifest' => ['type' => 'string', 'required' => true], ], ], - 'StatusInfo' => [ - 'type' => 'object', - 'properties' => [ - 'FinishedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'StartedAt' => [ - 'type' => 'string', - 'format' => 'iso8601', - ], - 'Status' => [ - 'type' => 'string', - ], - 'Conditions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Progress' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'NodeIO' => [ - 'type' => 'object', - 'properties' => [ - 'Artifacts' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - 'Parameters' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], - ], - ], - ], - 'Pipeline' => [ - 'type' => 'object', - 'properties' => [ - 'PipelineId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], - 'GmtModifiedTime' => [ - 'type' => 'string', - ], - 'Provider' => [ - 'type' => 'string', - ], - 'Identifier' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'Uuid' => [ - 'type' => 'string', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - ], - ], - 'Run' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Accessibility' => [ - 'type' => 'string', - ], - 'WorkspaceId' => [ - 'type' => 'string', - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Source' => [ - 'type' => 'string', - ], - 'GmtModifiedTime' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'ParentUserId' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - 'ExperimentId' => [ - 'type' => 'string', - ], - 'NodeId' => [ - 'type' => 'string', - ], - 'FinishedAt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'StartedAt' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RunId' => [ - 'type' => 'string', - ], - 'GmtCreateTime' => [ - 'type' => 'string', - ], ], ], ], - ], - 'apis' => [ 'CreatePipelineRun' => [ 'path' => '/api/v1/pipelineruns', - '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' => [ [ @@ -404,199 +54,103 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'PipelineId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'PipelineManifest' => [ - 'type' => 'string', - 'required' => false, - ], - 'Arguments' => [ - 'type' => 'string', - 'required' => false, - ], - 'NoConfirmRequired' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'SourceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'SourceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'string', - 'required' => false, - ], - 'Accessibility' => [ - 'type' => 'string', - 'required' => false, - ], + 'PipelineId' => ['type' => 'string', 'required' => false], + 'Name' => ['type' => 'string', 'required' => false], + 'PipelineManifest' => ['type' => 'string', 'required' => false], + 'Arguments' => ['type' => 'string', 'required' => false], + 'NoConfirmRequired' => ['type' => 'boolean', 'required' => false], + 'WorkspaceId' => ['type' => 'string', 'required' => true], + 'SourceType' => ['type' => 'string', 'required' => false], + 'SourceId' => ['type' => 'string', 'required' => false], + 'Options' => ['type' => 'string', 'required' => false], + 'Accessibility' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DeletePipelineRun' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeletePipeline' => [ + 'path' => '/api/v1/pipelines/{PipelineId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PipelineRunId', + 'name' => 'PipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'StartPipelineRun' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}/start', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeletePipelineRun' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdatePipelineRun' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPipeline' => [ + 'path' => '/api/v1/pipelines/{PipelineId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PipelineRunId', + 'name' => 'PipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetPipelineRun' => [ 'path' => '/api/v1/pipelineruns/{PipelineRunId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Verbose', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'ManifestType', @@ -604,723 +158,468 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'Raw', - 'Frozen', - 'Expanded', - 'Rendered', - 'Runtime', - ], + 'enum' => ['Raw', 'Frozen', 'Expanded', 'Rendered', 'Runtime'], ], ], [ 'name' => 'TokenId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPipelineRunNodeLogs' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetPipelineRunNode' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Offset', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'FromTimeInSeconds', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'Keyword', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Reverse', + 'name' => 'Depth', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'ToTimeInSeconds', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TokenId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetPipelineRunNode' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelineRunNodeLogs' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Depth', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Type', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'FromTimeInSeconds', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Reverse', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'ToTimeInSeconds', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'TokenId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPipelineRunNodeOutputs' => [ 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/outputs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Depth', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '99999', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '99999'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TokenId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPipelineRunNodeStatus' => [ 'path' => '/api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/status', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NodeId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Depth', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TokenId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ListPipelineRunsStatus' => [ - 'path' => '/api/v1/pipelineruns', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'PipelineRuns' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Nodes' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'PipelineRunId' => [ - 'type' => 'string', - 'required' => false, - ], - 'NodeId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'OutputType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPipelineRuns' => [ 'path' => '/api/v1/pipelineruns', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PipelineIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PipelineRunId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListPipelineRunsStatus' => [ + 'path' => '/api/v1/pipelineruns', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'PipelineRuns' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'Nodes' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'PipelineRunId' => ['type' => 'string', 'required' => false], + 'NodeId' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'WorkspaceId' => ['type' => 'string', 'required' => false], + 'OutputType' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'TerminatePipelineRun' => [ - 'path' => '/api/v1/pipelineruns/{PipelineRunId}/termination', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListPipelines' => [ + 'path' => '/api/v1/pipelines', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PipelineRunId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PipelineIdentifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PipelineProvider', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PipelineVersion', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'FuzzyMatching', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'RerunPipelineRun' => [ 'path' => '/api/v1/pipelineruns/{PipelineRunId}/rerun', - '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' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreatePipeline' => [ - 'path' => '/api/v1/pipelines', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartPipelineRun' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}/start', + 'methods' => ['put'], + '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' => [ - 'WorkspaceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Manifest' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'PipelineRunId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeletePipeline' => [ - 'path' => '/api/v1/pipelines/{PipelineId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'TerminatePipelineRun' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}/termination', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PipelineId', + 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdatePipeline' => [ 'path' => '/api/v1/pipelines/{PipelineId}', - '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' => 'PipelineId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1330,178 +629,57 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Manifest' => [ - 'type' => 'string', - 'required' => true, - ], + 'Manifest' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'GetPipeline' => [ - 'path' => '/api/v1/pipelines/{PipelineId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdatePipelineRun' => [ + 'path' => '/api/v1/pipelineruns/{PipelineRunId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PipelineId', + 'name' => 'PipelineRunId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListPipelines' => [ - 'path' => '/api/v1/pipelines', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PipelineIdentifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PipelineProvider', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PipelineVersion', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'FuzzyMatching', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Name' => ['type' => 'string', 'required' => true], + ], ], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'paiflow.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paiflow.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'paiflow.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'paiflow.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'paiflow.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'paiflow.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'paiflow.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'paiflow.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'paiflow.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'paiflow.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'paiflow.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'paiflow.ap-southeast-5.aliyuncs.com', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paiflow.cn-shenzhen.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'paiflow.cn-wulanchabu.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-beijing.aliyuncs.com', 'endpoint' => 'paiflow.cn-beijing.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-shanghai.aliyuncs.com', 'endpoint' => 'paiflow.cn-shanghai.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-hongkong.aliyuncs.com', 'endpoint' => 'paiflow.cn-hongkong.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.ap-southeast-1.aliyuncs.com', 'endpoint' => 'paiflow.ap-southeast-1.aliyuncs.com', 'vpc' => 'paiflow-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.ap-southeast-5.aliyuncs.com', 'endpoint' => 'paiflow.ap-southeast-5.aliyuncs.com', 'vpc' => 'paiflow-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiflow.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paiflow.cn-hangzhou.aliyuncs.com', 'vpc' => 'paiflow-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paiflow.us-west-1.aliyuncs.com', 'endpoint' => 'paiflow.us-west-1.aliyuncs.com', 'vpc' => 'paiflow-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paiflow.us-east-1.aliyuncs.com', 'endpoint' => 'paiflow.us-east-1.aliyuncs.com', 'vpc' => 'paiflow-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paiflow.eu-central-1.aliyuncs.com', 'endpoint' => 'paiflow.eu-central-1.aliyuncs.com', 'vpc' => 'paiflow-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'paiflow.ap-south-1.aliyuncs.com', 'endpoint' => 'paiflow.ap-south-1.aliyuncs.com', 'vpc' => 'paiflow-vpc.ap-south-1.aliyuncs.com'], ], ]; |
