Planets
Get planet-wide settings and values
Path parameters
configanyRequired
Responses
200
Planet info successfully retrieved
application/json
400
Input Error
application/json
422
Validation Error
application/json
500
Internal Server Error
application/json
get
GET /api/v4.0/conf/{config}/planets HTTP/1.1
Host:
Accept: */*
{
"ichallenge": {
"attrs": {},
"lang": {},
"palette": [
"text"
],
"position": {}
},
"name": "text",
"trusted_nets": [
{
"address": "text",
"comment": "text"
}
]
}
Modify settings of a planet
Path parameters
configstringRequired
entry_idstringRequired
Planet ID
Body
namestringRequired
Responses
200
Planet updated successfully
application/json
400
Input Error
application/json
422
Validation Error
application/json
500
Internal Server Error
application/json
put
PUT /api/v4.0/conf/{config}/planets/{entry_id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"ichallenge": {
"attrs": {},
"lang": {},
"palette": [
"text"
],
"position": {}
},
"name": "text",
"trusted_nets": [
{
"address": "text",
"comment": "text"
}
]
}
{
"message": "Successfully updated entry"
}
Last updated
Was this helpful?