Skip to content

Change Book Name

Legan_dary edited this page May 15, 2018 · 7 revisions
PUT /api/changeBookName

Returns the book with the name changed.

Parameters

JSON Body Parameters

Field Data Type Description
bookId String The id of the current book.
newBookName String The new name of the book.

Example

Request

PUT https://localhost:8080/api/changeBookName
JSON Parameters:
{
    "bookId": "cjfx4leqo",
    "newBookName": "curved_GPA"
}

Response

{
    "status": "success",
    "message": null,
    "data": {
        "book": {
            "name": "curved_GPA",
            "id": "cjfx4leqo",
            "link": "1c85VcE5HSJmFHnk3kPlbCwOpVV1JL6dGvo5ZcMB8WJg",
            "lastModified": "1526212800",
            "createdTime": "1482624000"
        }
    }
}

Clone this wiki locally