- Add Model
- Download Model
- Set Model Label
- Revert Stable Label
- Delete Model Label
- Delete Model
- List Models
- Reload Models
- Get TFS Config
Add model with optional label.
POST /v1/models/${TEAM}/${PROJECT}/names/${NAME}
POST /v1/models/${TEAM}/${PROJECT}/names/${NAME}/labels/${LABEL}
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
LABEL | Label name which will be assinged to the model. |
{
"name": <string>
"project": <string>
"team": <string>
"version": <int>
}
Download model by version or label.
GET /v1/models/${TEAM}/${PROJECT}/names/${NAME}/versions/${VERSION}
GET /v1/models/${TEAM}/${PROJECT}/names/${NAME}/labels/${LABEL}
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
VERSION | Model version. |
LABEL | Label name assigned to the model. |
Data as a file.
Set label of the model.
PUT /v1/models/${TEAM}/${PROJECT}/names/${NAME}/versions/${VERSION}/labels/stable
PUT /v1/models/${TEAM}/${PROJECT}/names/${NAME}/versions/${VERSION}/labels/${LABEL}
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
VERSION | Model version. |
LABEL | Label name which will be assinged to the model. |
Revert stable
label to the previous stable
model version.
PUT /v1/models/${TEAM}/${PROJECT}/names/${NAME}
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
Delete label assigned to the model.
DELETE /v1/models/${TEAM}/${PROJECT}/names/${NAME}/lables/${LABEL}
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
LABEL | Label name. |
Delete model by version or label.
DELETE /v1/models/${TEAM}/${PROJECT}/names/${NAME}/versions/${VERSION}
DELETE /v1/models/${TEAM}/${PROJECT}/names/${NAME}/lables/${LABEL}/remove_version
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
VERSION | Model version. |
LABEL | Label name. |
List models.
GET /v1/models/list
GET /v1/models/${TEAM}/${PROJECT}/list
GET /v1/models/${TEAM}/${PROJECT}/names/${NAME}/list
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
NAME | Model name. |
[
{
"created": <string>
"id": <int>
"label": <string>
"name": <string>
"project": <string>
"status": <string>
"team": <string>
"updated": <string>
"version": <int>
}
]
Reload models within team-project.
POST /v1/models/${TEAM}/${PROJECT}/reload
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
Get TFS models configuration within team-project.
GET /v1/models/${TEAM}/${PROJECT}/config
Parameter | Description |
---|---|
TEAM | Team name. |
PROJECT | Project name. |
Data as a file.
model_config_list: <
config: <
name: "name"
base_path: "/models/team/project/name"
model_platform: "tensorflow"
model_version_policy: <
specific: <
versions: 1
versions: 2
versions: 3
>
>
version_labels: <
key: "canary"
value: 3
>
version_labels: <
key: "label"
value: 2
>
>
>