-
Notifications
You must be signed in to change notification settings - Fork 30
Change Book Name
Legan_dary edited this page May 15, 2018
·
7 revisions
PUT /api/changeBookName
Returns the book with the name changed.
| Field | Data Type | Description |
|---|---|---|
| bookId | String | The id of the current book. |
| newBookName | String | The new name of the book. |
PUT https://localhost:8080/api/changeBookName
JSON Parameters:
{
"bookId": "cjfx4leqo",
"newBookName": "curved_GPA"
}
{
"status": "success",
"message": null,
"data": {
"book": {
"name": "curved_GPA",
"id": "cjfx4leqo",
"link": "1c85VcE5HSJmFHnk3kPlbCwOpVV1JL6dGvo5ZcMB8WJg",
"lastModified": "1526212800",
"createdTime": "1482624000"
}
}
}