LibraryService

ListShelves

Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.

get/v1/shelves

Query parameters

page_sizeinteger

Requested page size. Server may return fewer shelves than requested. If unspecified, server will pick an appropriate default.

page_tokenstring

A token identifying a page of results the server should return. Typically, this is the value of [ListShelvesResponse.next_page_token][google.example.library.v1.ListShelvesResponse.next_page_token] returned from the previous call to ListShelves method.

Response

OK

next_page_tokenstring

A token to retrieve next page of results. Pass this value in the [ListShelvesRequest.page_token][google.example.library.v1.ListShelvesRequest.page_token] field in the subsequent call to ListShelves method to retrieve the next page of results.

Changes

Changed in 7 of the 12 revisions of this API.66

    • ▲

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

      response-body-type-changed

    • ▲

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

      response-property-type-changed

    • ○

      the response property // became required for the status

      response-property-became-required

    • ○

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

      response-property-pattern-added

    • ▲

      for the query request parameter page_size, the type changed from string to integer, and format from no format to int32

      request-parameter-type-changed

    • ○

      api operation id ListShelves removed and replaced with LibraryService_ListShelves

      api-operation-id-removed

    • ○

      api operation id LibraryService_ListShelves removed and replaced with ListShelves

      api-operation-id-removed

  • v11f7e8ced536932See 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 type changed from object to no type for status

      response-property-type-changed

    • ○

      for the query request parameter page_size, the type was generalized from integer to string, and format from int32 to no format

      request-parameter-type-generalized

    • ○

      the // response's property pattern ^shelves/[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