7.5 KiB
Querying Details About a Labeling Team
Function
This API is used to query the details about a labeling team.
URI
GET /v2/{project_id}/workforces/{workforce_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
workforce_id |
Yes |
String |
ID of a labeling team. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
create_time |
Long |
Time when a labeling team is created. |
description |
String |
Description of a labeling team. |
update_time |
Long |
Time when a labeling team is updated. |
worker_count |
Integer |
Total number of labeling team members. |
workforce_id |
String |
ID of a labeling team. |
workforce_name |
String |
Name of a labeling team. |
workspace_id |
String |
Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value. |
Example Requests
Querying Details About a Labeling Team
GET https://{endpoint}/v2/{project_id}/workforces/{workforce_id}
Example Responses
Status code: 200
OK
{ "workforce_id" : "gyb7IaAvkLc5IhEY2dv", "workforce_name" : "team-aed7", "description" : "", "worker_count" : 2, "create_time" : 1575104620882, "update_time" : 1575104620882 }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
Error Codes
See Error Codes.