Method | POST /IP address:port/<api_ver>/class |
Description | The request is used to rename an existing class |
POST http://localhost:5000/v1.3/class Content-Type: application/json { "task_id": "6407bfd7144f37e141b786e2acf4faf2822cc48f296f5047e58c9e536874f4ec", "class_name": "Cars", "new_class_name": "Bikes" }
where:
Parameter | Description |
---|---|
task_id | A unique identifier of the task (uid), to which the class belongs. It can be obtained using a task list query (see Get the list of tasks) |
class_name | The name of the class |
new_class_name | The new name of the class |
{ "message": "Done" }
Response in case of error:
{ "error": "error description" }