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