LibraryService

GetBook

Gets a book. Returns NOT_FOUND if the book does not exist.

get/v1/shelves/{shelf}/books/{book}

Path parameters

shelfstring required

The shelf id.

bookstring required

The book id.

Response

OK

namestring required

The resource name of the book. Book names have the form shelves/{shelf_id}/books/{book_id}. The name is ignored when creating a book.

authorstring

The name of the book author.

titlestring

The title of the book.

readboolean

Value indicating whether the book has been read.

borrow_timestring date-time

The previous borrowing timestamp.

created_atstring date-time

The creation date and time.

updated_atstring date-time

The last update date and time.

Changes

Changed in 8 of the 12 revisions of this API.75

    • ▲

      the response's body type changed from no type to object for status

      response-body-type-changed

    • ○

      the response property became required for the status

      response-property-became-required

    • ▲

      the response's property format changed from RFC3339 to date-time for status

      response-property-type-changed

  • v100e696b6b84a11See the full diff
    • ▲

      the response's property format changed from date-time to RFC3339 for status

      response-property-type-changed

    • ○

      the response's property pattern ^shelves/[a-z2-7]{26}/books/[a-z2-7]{26}$ was added for the status

      response-property-pattern-added

    • ▲

      the response's property format changed from RFC3339 to date-time for status

      response-property-type-changed

    • ○

      api operation id GetBook removed and replaced with LibraryService_GetBook

      api-operation-id-removed

    • ○

      api operation id LibraryService_GetBook removed and replaced with GetBook

      api-operation-id-removed

  • v11f7e8ced536931See the full diff
    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ▲

      the response property became optional for the status

      response-property-became-optional

    • ▲

      the response's property format changed from date-time to RFC3339 for status

      response-property-type-changed

    • ○

      the response's property pattern ^shelves/[a-z2-7]{26}/books/[a-z2-7]{26}$ was removed for the status

      response-property-pattern-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog