Create a planet
Time to play god and create a new planet. What do you think? Ah, don't think too much. What could go wrong anyway?
https://galaxy.scalar.com/planetsTry it
Authorization
bearerAuth (bearer)
JWT Bearer token authentication
basicAuth (basic)
Basic HTTP authentication
apiKeyQuery (query: api_key)
API key query parameter
apiKeyHeader (header: X-API-Key)
API key request header
apiKeyCookie (cookie: api_key)
API key browser cookie
oAuth2 (oauth2)
OAuth 2.0 authentication
openIdConnect (openIdConnect)
OpenID Connect Authentication
Request Body
Planet
A planet in the Scalar Galaxy
idnamedescription?type?habitabilityIndex?A score from 0 to 1 indicating potential habitability
physicalProperties?Map value
[key: string]?Additional physical measurements for the planet
mass?Mass in Earth masses (must be greater than 0)
radius?Radius in Earth radii (must be greater than 0)
gravity?Surface gravity in Earth g
temperature?Map value
[key: string]?Additional temperature-related measurements in Kelvin
min?Minimum temperature in Kelvin
max?Maximum temperature in Kelvin
average?Average temperature in Kelvin
atmosphere?Atmospheric composition
Map value
[key: string]?Additional atmospheric composition data
compound?percentage?discoveredAt?image?satellites?creator?tags?lastUpdated?successCallbackUrl?URL which gets invoked upon a successful operation
failureCallbackUrl?URL which gets invoked upon a failed operation
Responses
201Created
201Created
A planet in the Scalar Galaxy
idnamedescription?type?habitabilityIndex?A score from 0 to 1 indicating potential habitability
physicalProperties?Map value
[key: string]?Additional physical measurements for the planet
mass?Mass in Earth masses (must be greater than 0)
radius?Radius in Earth radii (must be greater than 0)
gravity?Surface gravity in Earth g
temperature?Map value
[key: string]?Additional temperature-related measurements in Kelvin
min?Minimum temperature in Kelvin
max?Maximum temperature in Kelvin
average?Average temperature in Kelvin
atmosphere?Atmospheric composition
Map value
[key: string]?Additional atmospheric composition data
compound?percentage?discoveredAt?image?satellites?creator?tags?lastUpdated?successCallbackUrl?URL which gets invoked upon a successful operation
failureCallbackUrl?URL which gets invoked upon a failed operation
400Bad Request
400Bad Request
RFC 7807 (https://datatracker.ietf.org/doc/html/rfc7807)
type?title?status?detail?403Forbidden
403Forbidden
Error response for forbidden access (RFC 7807). Returned when the user does not have permission to access the requested resource.
type?title?status?detail?