ML-API
Info API (ALPHA)
Download OpenAPI specification:Download
Implements endpoints reporting the versions and information about of various components of ML APIs.
Returns details about this instance of ML APIs.
Returns details about this instance of ML APIs.
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- default
{- "version": "string",
- "commit": "string",
- "buildTime": "2019-08-24T14:15:22Z",
- "modules": [
- {
- "path": "string",
- "version": "string",
- "extras": null
}
]
}
PREVIEW - Returns all Projects owned by authenticated user.
Returns all Projects owned by authenticated user. WIP: Once we have central authz, add filtering, possibly Search method.
Authorizations:
query Parameters
pageSize | integer <int32> Optional. Specifies the maximum number of results to be returned by the server. The server may further constrain the maximum number of results returned in a single page. |
pageToken | string Optional. The pagination token (returned in list response). If empty, first page is returned. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- default
{- "totalSize": 0,
- "nextPageToken": "string",
- "projects": [
- {
- "name": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true,
- "trainingArtifactPurgedTime": "2019-08-24T14:15:22Z"
}
]
}
PREVIEW - Creates a new project.
Creates a new project.
Authorizations:
Request Body schema: application/jsonrequired
displayName | string Required. Immutable. User readable name of the project. |
description | string Optional. Human readable description. |
object Immutable. Annotations assigned. Annotations with ai/h2o/project* prefix are reserved for internal purposes. Annotations with this prefix can be ignored or modified without warning. | |
status | string (v1alphaProjectStatus) Enum: "PROJECT_STATUS_AVAILABLE" "PROJECT_STATUS_DELETED" |
scheduledDeleteTime | string <date-time> Optional. Timestamp of the scheduled auto-deletion. |
trainingArtifactPurgeEnabled | boolean Optional. Boolean flag to indicate if the training artifacts purge is enabled. |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- default
{- "name": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true,
- "trainingArtifactPurgedTime": "2019-08-24T14:15:22Z"
}
PREVIEW - Returns details of an existing project.
Returns details of an existing project.
Authorizations:
path Parameters
project required | string |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- default
{- "name": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true,
- "trainingArtifactPurgedTime": "2019-08-24T14:15:22Z"
}
PENDING - Updates the Project resource.
Updates the Project resource.
Authorizations:
path Parameters
project required | string |
Request Body schema: application/jsonrequired
displayName | string Required. Immutable. User readable name of the project. |
description | string Optional. Human readable description. |
object Immutable. Annotations assigned. Annotations with ai/h2o/project* prefix are reserved for internal purposes. Annotations with this prefix can be ignored or modified without warning. | |
status | string (v1alphaProjectStatus) Enum: "PROJECT_STATUS_AVAILABLE" "PROJECT_STATUS_DELETED" |
scheduledDeleteTime | string <date-time> Optional. Timestamp of the scheduled auto-deletion. |
trainingArtifactPurgeEnabled | boolean Optional. Boolean flag to indicate if the training artifacts purge is enabled. |
Responses
Request samples
- Payload
{- "displayName": "string",
- "description": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- default
{- "name": "string",
- "displayName": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "2019-08-24T14:15:22Z",
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "status": "PROJECT_STATUS_AVAILABLE",
- "scheduledDeleteTime": "2019-08-24T14:15:22Z",
- "trainingArtifactPurgeEnabled": true,
- "trainingArtifactPurgedTime": "2019-08-24T14:15:22Z"
}
- Submit and view feedback for this page
- Send feedback about H2O Document AI to cloud-feedback@h2o.ai