Input Object Star Wars::UpdatePlanet

Input Fields

climate: [String!]

The climate of this planet.

diameter: Int

The diameter of this planet in kilometers.

gravity: String

A number denoting the gravity of this planet, where "1" is normal or 1 standard G. "2" is twice or 2 standard Gs. "0.5" is half or 0.5 standard Gs.

id: ID!

isPublished: Boolean

indicates if the record is published

name: String

The name of the planet

orbitalPeriod: Int

The number of standard days it takes for this planet to complete a single orbit of its local star.

population: Float

The average population of sentient beings inhabiting this planet.

rotationPeriod: Int

The number of standard hours it takes for this planet to complete a single rotation on its axis.

surfaceWater: Float

The percentage of the planet surface that is naturally occurring water or bodies of water.

terrain: [String!]

The terrain of this planet.

filmsIds: [ID!]

films: [PlanetfilmsFilm!]

residentsIds: [ID!]

residents: [PlanetresidentsPerson!]

Uses

Mutation.updateOrCreatePlanet