Field | Type | Label | Description |
---|---|---|---|
title | string | ||
episode_id | int32 | ||
opening_crawl | string | ||
director | string | ||
producer | string | ||
release_date | string | ||
character_ids | string | repeated | Person.id |
planet_ids | string | repeated | Planet.id |
starship_ids | string | repeated | Starship.id |
vehicle_ids | string | repeated | Vehicle.id |
species_ids | string | repeated | Species.id |
id | string |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
film | Film |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
person | Person |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
planet | Planet |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
species | Species |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
starship | Starship |
Field | Type | Label | Description |
---|---|---|---|
id | string |
Field | Type | Label | Description |
---|---|---|---|
vehicle | Vehicle |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
message | string |
Field | Type | Label | Description |
---|---|---|---|
films | Film | repeated |
Field | Type | Label | Description |
---|---|---|---|
people | Person | repeated |
Field | Type | Label | Description |
---|---|---|---|
planets | Planet | repeated |
Field | Type | Label | Description |
---|---|---|---|
species | Species | repeated |
Field | Type | Label | Description |
---|---|---|---|
starships | Starship | repeated |
Field | Type | Label | Description |
---|---|---|---|
vehicles | Vehicle | repeated |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
height | int32 | ||
mass | float | ||
hair_color | string | ||
skin_color | string | ||
eye_color | string | ||
birth_year | string | ||
gender | string | ||
homeworld | string | ||
film_ids | string | repeated | Film.id |
species_ids | string | repeated | Species.id |
vehicle_ids | string | repeated | Vehicle.id |
starship_ids | string | repeated | Starship.id |
id | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
rotation_period | int32 | ||
orbital_period | int32 | ||
diameter | int32 | ||
climate | string | ||
gravity | float | ||
terrain | string | ||
surface_water | float | ||
population | int64 | ||
resident_ids | string | repeated | Person.id |
film_ids | string | repeated | Film.id |
id | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
classification | string | ||
designation | string | ||
average_height | int32 | ||
skin_colors | string | ||
eye_colors | string | ||
average_lifespan | int32 | ||
homeworld | string | ||
language | string | ||
people_ids | string | repeated | Person.id |
film_ids | string | repeated | Film.id |
id | string | ||
hair_colors | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
model | string | ||
manufacturer | string | ||
cost_in_credits | int64 | ||
length | float | ||
crew | int32 | ||
passengers | int32 | ||
cargo_capacity | int64 | ||
consumables | string | ||
hyperdrive_rating | float | ||
mglt | int32 | ||
starship_class | string | ||
pilot_ids | string | repeated | Person.id |
film_ids | string | repeated | Film.id |
id | string | ||
max_atmosphering_speed | int64 |
Field | Type | Label | Description |
---|---|---|---|
starship | Starship | ||
action | StarshipAction.Action |
Field | Type | Label | Description |
---|---|---|---|
name | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
model | string | ||
manufacturer | string | ||
cost_in_credits | int32 | ||
length | float | ||
max_atmosphering_speed | int32 | ||
crew | int32 | ||
passengers | int32 | ||
cargo_capacity | int32 | ||
consumables | string | ||
vehicle_class | string | ||
pilot_ids | string | repeated | Person.id |
film_ids | string | repeated | Film.id |
id | string |
Name | Number | Description |
---|---|---|
TOOKOFF | 0 | |
LANDED | 1 | |
HYPERDRIVE | 2 | |
HIDING_IN_A_MOUTH | 3 |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetFilm | GetFilmRequest | GetFilmResponse | Get a single Film |
ListFilms | ListFilmsRequest | ListFilmsResponse | Get a list of Films |
GetVehicle | GetVehicleRequest | GetVehicleResponse | Get a single Vehicle |
ListVehicles | ListVehiclesRequest | ListVehiclesResponse | Get a list of Vehicles |
GetStarship | GetStarshipRequest | GetStarshipResponse | Get a single Starship |
ListStarships | ListStarshipsRequest | ListStarshipsResponse | Get a list of Starships |
GetSpecies | GetSpeciesRequest | GetSpeciesResponse | Get a single Species |
ListSpecies | ListSpeciesRequest | ListSpeciesResponse | Get a list of Species |
GetPlanet | GetPlanetRequest | GetPlanetResponse | Get a single Planet |
ListPlanets | ListPlanetsRequest | ListPlanetsResponse | Get a list of Planets |
GetPerson | GetPersonRequest | GetPersonResponse | Get a single Person |
ListPeople | ListPeopleRequest | ListPeopleResponse | Get a list of People |
ListStarshipActions | ListStarshipActionsRequest | StarshipAction | Watch starships doing stuff, in realtime |
ValidateSpecies | ValidateSpeciesRequest | ValidateSpeciesResponse | is the given species valid? |
.proto Type | Notes | C++ Type | Java Type | Python Type |
---|---|---|---|---|
double | double | double | float | |
float | float | float | float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long |
uint32 | Uses variable-length encoding. | uint32 | int | int/long |
uint64 | Uses variable-length encoding. | uint64 | long | int/long |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long |
sfixed32 | Always four bytes. | int32 | int | int |
sfixed64 | Always eight bytes. | int64 | long | int/long |
bool | bool | boolean | boolean | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str |