Retrieves the details of a label table, including its field definitions and related models.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
featurestore:GetLabelTable |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/instances/{InstanceId}/labeltables/{LabelTableId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can get this value by calling the ListInstances operation. |
fs-cn-******** |
| LabelTableId |
string |
Yes |
The ID of the label table. You can get this value by calling the ListLabelTables operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77 |
| ProjectId |
string |
The project ID. |
1 |
| ProjectName |
string |
The project name. |
project1 |
| DatasourceId |
string |
The data source ID. |
1 |
| Name |
string |
The label table name. |
label_table1 |
| DatasourceName |
string |
The data source name. |
datasource1 |
| Owner |
string |
The Alibaba Cloud account ID of the creator. |
12321312***** |
| RelatedModelFeatures |
array |
A list of related model feature names. |
|
|
string |
The name of a related model feature. |
rank_v1 |
|
| GmtCreateTime |
string |
The time when the label table was created. |
2021-12-15T23:24:33.132+08:00 |
| GmtModifiedTime |
string |
The time when the label table was last modified. |
2021-12-15T23:24:33.132+08:00 |
| Fields |
array<object> |
The fields in the label table. |
|
|
object |
The properties of a field. |
||
| Name |
string |
The field name. |
field1 |
| Type |
string |
The field type. |
INT32 |
| Attributes |
array |
A list of field attributes. |
|
|
string |
A field attribute. |
Partition |
|
| AlignedEntityName |
string |
item |
Examples
Success response
JSON format
{
"RequestId": "728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77",
"ProjectId": "1",
"ProjectName": "project1",
"DatasourceId": "1",
"Name": "label_table1",
"DatasourceName": "datasource1",
"Owner": "12321312*****",
"RelatedModelFeatures": [
"rank_v1"
],
"GmtCreateTime": "2021-12-15T23:24:33.132+08:00",
"GmtModifiedTime": "2021-12-15T23:24:33.132+08:00",
"Fields": [
{
"Name": "field1",
"Type": "INT32",
"Attributes": [
"Partition"
],
"AlignedEntityName": "item"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.