API 设置离线数据集
此 API 允许管理 Tagetik 应用程序中数据集的离线操作。
| API 标题: | AIH Dataset swagger openapi 3.0.3 |
| 描述: | 用于处理在 AIH 数据库应用程序中将数据集置为离线这一过程的 API |
| 版本: | 1.000 |
| 身份验证: | OAuth2、API Key、JWT、Basic Auth |
| 基础 URL: | https://tenantxyz.api.saastagetik.com/basic https://tenantxyz.api.saastagetik.com/jwt https://tenantxyz.api.saastagetik.com/apikey https://tenantxyz.api.saastagetik.com/oauth2 |
前提条件¶
请求格式:JSON
响应格式:JSON
共享标头
- Content-Type:application/json
- Authorisation:Bearer
。
URL¶
| 操作 | Http 方法 | 请求体 | 路径变量 | 查询字符串参数 | 应答体 | HTTP 响应体 | 响应状态(异常) |
|---|---|---|---|---|---|---|---|
| Create | POST | 数据集 ID 列表 | 分析工作区 ID | 数据集 ID 列表 | 201 (Created) | 405(方法不允许) 404(未找到) 403(访问未授权资源) 401(未授权) 400(无效请求) |
"filter' 接受字段 'id, process.id, process.description, scenario.id, scenario.description, period.id, period.description, entity.id, entity.description, typology.id, typology.description 和 status'。
请求中支持的字段¶
| 分区字段 | 支持的基数 | 支持的值 |
|---|---|---|
| datasets | 分析工作区数据集的数量 | string |
¶
响应中的附加字段¶
| 分区字段 | 支持的值 |
|---|---|
| success | string |
| fail | date |
请求示例¶
将分析工作区中的特定数据集置为离线
| 方法 | POST |
| URL | /api/aih/setffline/v1/{dbID}/AWN |
| 请求体 | { "datasets": [ "ABC", "BBB" ] } |
| 响应示例 | { "success": [ "ABC", "BBB" ] } |