Bring an archived team algorithm back into the library. Idempotent.
POST
/v1/algorithms/{algorithmId}/unarchivecurl -X POST 'https://api.embodiflow.io/v1/algorithms/{algorithmId}/unarchive' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
路径参数
- algorithmIdstring必填
响应
Success
- dataobject必填
- idstring必填
- tenantIdstring | null必填
- codestring必填
- namestring必填
- descriptionstring | null必填
- ownerTypestring必填
- systemSlugstring | null必填
- latestVersionstring | null必填
- archivedone of必填
- createdAtstring必填
- updatedAtstring必填
- usedByCountnumber
响应示例
{
"data": {
"id": "string",
"tenantId": "string",
"code": "string",
"name": "string",
"description": "string",
"ownerType": "string",
"systemSlug": "string",
"latestVersion": "string",
"archived": false,
"createdAt": "string",
"updatedAt": "string",
"usedByCount": 0
}
}服务器https://api.embodiflow.io/v1