New Planet
Information about a new planet
application/json- body
A planet in the Scalar Galaxy
id*integerFormat
int64name*stringdescription?string|nulltype?stringValue in
"terrestrial""gas_giant""ice_giant""dwarf""super_earth"habitabilityIndex?numberA score from 0 to 1 indicating potential habitability
Format
floatRange
0 <= value <= 1physicalProperties?atmosphere?array<>Atmospheric composition
discoveredAt?stringFormat
date-timeimage?string|nullsatellites?array<>creator?A user
tags?array<string>successCallbackUrl?stringURL which gets invoked upon a successful operation
Format
urifailureCallbackUrl?stringURL which gets invoked upon a failed operation
Format
uriReturn a 200 status to indicate that the data was received successfully
Example Requests
POST/newPlanet
A planet in the Scalar Galaxy
application/json
{
"id": 1,
"name": "Mars"
}