Rename presentation
1. API Description
This API is used to rename a presentation.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/presentation/rename-presentation
- V2.5.0 and below: POST [ip]/mwapi/rename-presentation
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
id | Yes | Int | Presentation ID, which can be obtained via Get presentation list |
name | Yes | Int | Presentation name |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
message | String | Status description |
4. Example
Renaming the presentation with ID 8.
Input Example
{
"id":8,
"name": "Business"
}
Output Example
{
"message": "success",
"status": 0
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
7 | MW_STATUS_INVALID_ARG | Missing required parameters |
39 | MW_STATUS_MISMATCH | The presentation does not exist |