Stubs

Module

stubs/petstore

A demo API: a small pet store's pets and orders, to show what a module, its docs and its SDKs look like.

OfficialPublic

Message in petstore.v1

Pet

petstore.v1.Pet

A pet in the store.

Fields

FieldTypeNumberDescription
idstring1

The pet's ID, given by the store when it's added.

namestring2

The pet's name.

speciesSpecies3

What kind of animal it is.

statusPetStatus4

Whether it's for sale.

price_minor_unitsint645

Its price in the smallest unit of the store's currency: pence, or cents.

tagsrepeatedstring6

Free-form labels, such as "house-trained" or "good with children".

create_timeTimestamp(google.protobuf)7

When it arrived at the store.

Used by

Defined in petstore/v1/pet.proto