Add a loop of functions to the task operator.
Request Body schema: application/json
functions required | string The functions to be executed. |
task_id required | string The ID of the task. |
time required | integer The number of iterations to execute the function. |
Responses
Request samples
- Payload
Content type
application/json
{- "functions": "string",
- "task_id": "string",
- "time": 0
}
Execute an input text on the device.
Request Body schema: application/json
task_id required | string The ID of the task. |
text required | string The text to be input. |
time required | integer The number of times to input the text. |
Responses
Request samples
- Payload
Content type
application/json
{- "task_id": "string",
- "text": "string",
- "time": 0
}
Execute a shortcut on the device.
Request Body schema: application/json
key_event required | integer The key event to be executed. |
task_id required | string The ID of the task. |
time required | integer The number of times to single click. |
Responses
Request samples
- Payload
Content type
application/json
{- "key_event": 0,
- "task_id": "string",
- "time": 0
}
Execute a long press on the device screen.
Request Body schema: application/json
task_id required | string The ID of the task. |
time required | integer The number of times to long press. |
x required | integer The x-coordinate of the click. |
y required | integer The y-coordinate of the click. |
Responses
Request samples
- Payload
Content type
application/json
{- "task_id": "string",
- "time": 0,
- "x": 0,
- "y": 0
}
Execute a single click on the device screen.
Request Body schema: application/json
task_id required | string The ID of the task. |
time required | integer The number of times to single click. |
x required | integer The x-coordinate of the click. |
y required | integer The y-coordinate of the click. |
Responses
Request samples
- Payload
Content type
application/json
{- "task_id": "string",
- "time": 0,
- "x": 0,
- "y": 0
}
Create a new page in Notion.
Request Body schema: application/json
page_content required | string The content of the page. |
page_title required | string The title of the page. |
task_id required | string The ID of the task. |
Responses
Request samples
- Payload
Content type
application/json
{- "page_content": "string",
- "page_title": "string",
- "task_id": "string"
}
Run a python script on studio client.
Request Body schema: application/json
code required | string The python script to be executed. |
task_id required | string The ID of the task. |
time required | integer The number of times to run the script. |
Responses
Request samples
- Payload
Content type
application/json
{- "code": "string",
- "task_id": "string",
- "time": 0
}
Add a user variable to the task operator.
Request Body schema: application/json
task_id required | string The ID of the task. |
variable_name required | string The name of the variable. |
variable_value required | string The value of the variable. |
Responses
Request samples
- Payload
Content type
application/json
{- "task_id": "string",
- "variable_name": "string",
- "variable_value": "string"
}