The toloka.yandex.com
domain will be disabled starting July 1, 2023. Please use the toloka.dev
domain for API requests.
Creates a duplicate pool.
An empty pool will be created with the same parameters.
You can send a maximum of 20 requests of this kind per minute and 100 requests per day. Refer to the Rate limiting section for the complete list of the request limitations in Toloka API.
Try our new API reference: more parameter details, request/response examples, and code samples in various programming languages, including the Toloka-Kit usage samples.
POST https://sandbox.toloka.dev/api/v1/pools/<pool_id>/cloneAuthorization: OAuth <OAuth token>
Parameter | Overview |
---|---|
pool_id | Pool ID. |
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
{ "id" : "7ea08f99-5e24-47b4-b61f-c177a868d801", "type" : "POOL.CLONE", "status" : "SUCCESS", "submitted" : "2016-04-07T16:06:15.902", "started" : "2016-04-07T16:06:15.902", "finished" : "2016-04-07T16:06:15.902", "progress" : 100, "parameters" : { "pool_id" : "1" }, "details" : { "pool_id" : "2" }}
Parameter | Overview |
---|---|
id | string Operation ID. |
type | string Type of operation: POOL.CLONE — Cloning a pool. |
status | string
|
submitted | string The UTC date and time the request was sent, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss] . |
started | string The UTC date and time the operation started, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss] . |
finished | string The UTC date and time the operation was completed, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss] . |
progress | integer The percentage of the operation completed. |
parameters.pool_id | string Source pool ID. |
details.pool_id | string New pool ID. |