AIMPInferExample
  1. CronWorkflowService
AIMPInferExample
  • ServiceService
    • /apis/v1beta/service/{name}
      GET
    • /apis/v1beta1/{namespace}/service
      GET
    • /apis/v1beta1/{namespace}/service/{name}
      GET
  • WorkflowService
    • /apis/v1beta/{namespace}/field/workflow_executions/{fieldName}
      GET
    • /apis/v1beta1/{namespace}/workflow_execution/statistics
      GET
    • /apis/v1beta1/{namespace}/workflow_executions
      GET
    • Creates a Workflow
      POST
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}
      GET
    • Clone a Workflow. This is the same as running it again.
      POST
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/cron_start_statistics
      POST
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/metric
      POST
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/metric
      PUT
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/pods/{podName}/containers/{containerName}/logs
      GET
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/pods/{podName}/metrics
      GET
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/resubmit
      PUT
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/statistics
      POST
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/status
      PUT
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/terminate
      PUT
    • /apis/v1beta1/{namespace}/workflow_executions/{uid}/watch
      GET
  • WorkflowTemplateService
    • /apis/v1beta/{namespace}/field/workflow_templates/{fieldName}
      GET
    • /apis/v1beta1/{namespace}/workflow_templates
      GET
    • /apis/v1beta1/{namespace}/workflow_templates
      POST
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}
      GET
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}/archive
      PUT
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}/clone/{name}
      GET
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}/clone/{name}/{version}
      GET
    • Get the generated WorkflowTemplate, applying any modifications based on the content
      POST
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}/versions
      GET
    • /apis/v1beta1/{namespace}/workflow_templates/{uid}/versions/{version}
      GET
    • /apis/v1beta1/{namespace}/workflow_templates/{workflowTemplate.uid}/versions
      POST
  • WorkspaceTemplateService
    • /apis/v1beta/{namespace}/field/workspace_templates/{fieldName}
    • /apis/v1beta1/{namespace}/workspace_templates
    • Creates a WorkspaceTemplate
    • Get a WorkspaceTemplate
    • Updates a WorkspaceTemplate
    • Archives a WorkspaceTemplate
    • /apis/v1beta1/{namespace}/workspace_templates/{uid}/versions
    • Get the generated WorkflowTemplate for a WorkspaceTemplate
  • WorkspaceService
    • /apis/v1beta/{namespace}/field/workspaces/{fieldName}
    • /apis/v1beta1/{namespace}/workspace/statistics
    • /apis/v1beta1/{namespace}/workspaces
    • /apis/v1beta1/{namespace}/workspaces
    • /apis/v1beta1/{namespace}/workspaces/{uid}
    • /apis/v1beta1/{namespace}/workspaces/{uid}
    • /apis/v1beta1/{namespace}/workspaces/{uid}
    • /apis/v1beta1/{namespace}/workspaces/{uid}/containers/{containerName}/logs
    • /apis/v1beta1/{namespace}/workspaces/{uid}/pause
    • /apis/v1beta1/{namespace}/workspaces/{uid}/resume
    • /apis/v1beta1/{namespace}/workspaces/{uid}/retry
    • /apis/v1beta1/{namespace}/workspaces/{uid}/status
  • AuthService
    • /apis/v1beta1/auth
    • /apis/v1beta1/auth/get_access_token
    • /apis/v1beta1/auth/token
  • ConfigService
    • /apis/v1beta1/config
    • /apis/v1beta1/{namespace}/config
  • NamespaceService
    • /apis/v1beta1/namespaces
    • /apis/v1beta1/namespaces
  • CronWorkflowService
    • /apis/v1beta1/{namespace}/cron_workflow
      POST
    • /apis/v1beta1/{namespace}/cron_workflow/{uid}
      GET
    • /apis/v1beta1/{namespace}/cron_workflow/{uid}
      PUT
    • /apis/v1beta1/{namespace}/cron_workflows
      GET
    • /apis/v1beta1/{namespace}/cron_workflows/{uid}
      DELETE
    • /apis/v1beta1/{namespace}/cron_workflows/{workflowTemplateName}
      GET
  • FileService
    • /apis/v1beta1/{namespace}/files/list/{path}
    • /apis/v1beta1/{namespace}/files/presigned-url/{key}
  • InferenceService
    • /apis/v1beta1/{namespace}/inferenceservice
    • /apis/v1beta1/{namespace}/inferenceservice/{name}
    • /apis/v1beta1/{namespace}/inferenceservice/{name}
  • SecretService
    • /apis/v1beta1/{namespace}/secrets
    • /apis/v1beta1/{namespace}/secrets
    • /apis/v1beta1/{namespace}/secrets/{name}
    • /apis/v1beta1/{namespace}/secrets/{name}
    • /apis/v1beta1/{namespace}/secrets/{name}/exists
    • /apis/v1beta1/{namespace}/secrets/{secret.name}
    • /apis/v1beta1/{namespace}/secrets/{secret.name}
    • /apis/v1beta1/{namespace}/secrets/{secretName}/keys/{key}
  • LabelService
    • /apis/v1beta1/{namespace}/{resource}/labels
    • /apis/v1beta1/{namespace}/{resource}/{uid}/labels
    • /apis/v1beta1/{namespace}/{resource}/{uid}/labels
    • /apis/v1beta1/{namespace}/{resource}/{uid}/labels
    • /apis/v1beta1/{namespace}/{resource}/{uid}/labels/{key}
  • inferExamples
    • /apis/v1beta1/auth/token Copy
    • /apis/v1beta1/auth/get_access_token Copy
    • /apis/v1beta1/{namespace}/inferenceservice/{name} Copy
    • inferTest
  1. CronWorkflowService

/apis/v1beta1/{namespace}/cron_workflow

开发中
POST
/apis/v1beta1/{namespace}/cron_workflow

请求参数

Path 参数
namespace
string 
必需
Body 参数application/json
name
string 
可选
uid
string 
可选
manifest
string 
可选
workflowExecution
object (WorkflowExecution) 
可选
createdAt
string 
可选
uid
string 
可选
name
string 
可选
phase
string 
可选
startedAt
string 
可选
finishedAt
string 
可选
manifest
string 
可选
parameters
array[object (Parameter) {8}] 
可选
workflowTemplate
object (WorkflowTemplate) 
可选
labels
array[object (KeyValue) {2}] 
可选
metadata
object (WorkflowExecutionMetadata) 
可选
metrics
array[object (Metric) {3}] 
可选
labels
array[object (KeyValue) {2}] 
可选
key
string 
可选
value
string 
可选
namespace
string 
可选
示例
{
    "name": "string",
    "uid": "string",
    "manifest": "string",
    "workflowExecution": {
        "createdAt": "string",
        "uid": "string",
        "name": "string",
        "phase": "string",
        "startedAt": "string",
        "finishedAt": "string",
        "manifest": "string",
        "parameters": [
            {
                "name": "string",
                "value": "string",
                "type": "string",
                "displayName": "string",
                "hint": "string",
                "required": true,
                "visibility": "string",
                "options": [
                    {
                        "name": "string",
                        "value": "string"
                    }
                ]
            }
        ],
        "workflowTemplate": {
            "createdAt": "string",
            "modifiedAt": "string",
            "uid": "string",
            "name": "string",
            "version": "string",
            "versions": "string",
            "manifest": "string",
            "isLatest": true,
            "isArchived": true,
            "labels": [
                {
                    "key": "string",
                    "value": "string"
                }
            ],
            "stats": {
                "total": 0,
                "lastExecuted": "string",
                "running": 0,
                "completed": 0,
                "failed": 0,
                "terminated": 0
            },
            "cronStats": {
                "total": 0
            },
            "parameters": [
                {
                    "name": "string",
                    "value": "string",
                    "type": "string",
                    "displayName": "string",
                    "hint": "string",
                    "required": true,
                    "visibility": "string",
                    "options": [
                        {
                            "name": "string",
                            "value": "string"
                        }
                    ]
                }
            ],
            "description": "string"
        },
        "labels": [
            {
                "key": "string",
                "value": "string"
            }
        ],
        "metadata": {
            "url": "string"
        },
        "metrics": [
            {
                "name": "string",
                "value": 0,
                "format": "string"
            }
        ]
    },
    "labels": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "namespace": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/apis/v1beta1//cron_workflow' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "uid": "string",
    "manifest": "string",
    "workflowExecution": {
        "createdAt": "string",
        "uid": "string",
        "name": "string",
        "phase": "string",
        "startedAt": "string",
        "finishedAt": "string",
        "manifest": "string",
        "parameters": [
            {
                "name": "string",
                "value": "string",
                "type": "string",
                "displayName": "string",
                "hint": "string",
                "required": true,
                "visibility": "string",
                "options": [
                    {
                        "name": "string",
                        "value": "string"
                    }
                ]
            }
        ],
        "workflowTemplate": {
            "createdAt": "string",
            "modifiedAt": "string",
            "uid": "string",
            "name": "string",
            "version": "string",
            "versions": "string",
            "manifest": "string",
            "isLatest": true,
            "isArchived": true,
            "labels": [
                {
                    "key": "string",
                    "value": "string"
                }
            ],
            "stats": {
                "total": 0,
                "lastExecuted": "string",
                "running": 0,
                "completed": 0,
                "failed": 0,
                "terminated": 0
            },
            "cronStats": {
                "total": 0
            },
            "parameters": [
                {
                    "name": "string",
                    "value": "string",
                    "type": "string",
                    "displayName": "string",
                    "hint": "string",
                    "required": true,
                    "visibility": "string",
                    "options": [
                        {
                            "name": "string",
                            "value": "string"
                        }
                    ]
                }
            ],
            "description": "string"
        },
        "labels": [
            {
                "key": "string",
                "value": "string"
            }
        ],
        "metadata": {
            "url": "string"
        },
        "metrics": [
            {
                "name": "string",
                "value": 0,
                "format": "string"
            }
        ]
    },
    "labels": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "namespace": "string"
}'

返回响应

🟢200A successful response.
application/json
Body
name
string 
可选
uid
string 
可选
manifest
string 
可选
workflowExecution
object (WorkflowExecution) 
可选
createdAt
string 
可选
uid
string 
可选
name
string 
可选
phase
string 
可选
startedAt
string 
可选
finishedAt
string 
可选
manifest
string 
可选
parameters
array[object (Parameter) {8}] 
可选
workflowTemplate
object (WorkflowTemplate) 
可选
labels
array[object (KeyValue) {2}] 
可选
metadata
object (WorkflowExecutionMetadata) 
可选
metrics
array[object (Metric) {3}] 
可选
labels
array[object (KeyValue) {2}] 
可选
key
string 
可选
value
string 
可选
namespace
string 
可选
示例
{
    "name": "string",
    "uid": "string",
    "manifest": "string",
    "workflowExecution": {
        "createdAt": "string",
        "uid": "string",
        "name": "string",
        "phase": "string",
        "startedAt": "string",
        "finishedAt": "string",
        "manifest": "string",
        "parameters": [
            {
                "name": "string",
                "value": "string",
                "type": "string",
                "displayName": "string",
                "hint": "string",
                "required": true,
                "visibility": "string",
                "options": [
                    {
                        "name": "string",
                        "value": "string"
                    }
                ]
            }
        ],
        "workflowTemplate": {
            "createdAt": "string",
            "modifiedAt": "string",
            "uid": "string",
            "name": "string",
            "version": "string",
            "versions": "string",
            "manifest": "string",
            "isLatest": true,
            "isArchived": true,
            "labels": [
                {
                    "key": "string",
                    "value": "string"
                }
            ],
            "stats": {
                "total": 0,
                "lastExecuted": "string",
                "running": 0,
                "completed": 0,
                "failed": 0,
                "terminated": 0
            },
            "cronStats": {
                "total": 0
            },
            "parameters": [
                {
                    "name": "string",
                    "value": "string",
                    "type": "string",
                    "displayName": "string",
                    "hint": "string",
                    "required": true,
                    "visibility": "string",
                    "options": [
                        {
                            "name": "string",
                            "value": "string"
                        }
                    ]
                }
            ],
            "description": "string"
        },
        "labels": [
            {
                "key": "string",
                "value": "string"
            }
        ],
        "metadata": {
            "url": "string"
        },
        "metrics": [
            {
                "name": "string",
                "value": 0,
                "format": "string"
            }
        ]
    },
    "labels": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "namespace": "string"
}
🔴500An unexpected error response.
修改于 2022-08-21 16:00:58
上一页
/apis/v1beta1/namespaces
下一页
/apis/v1beta1/{namespace}/cron_workflow/{uid}
Built with