Last updated 7 months ago
Was this helpful?
Get planet-wide settings and values
GET /api/v4.0/conf/{config}/planets HTTP/1.1 Host: Accept: */*
Planet info successfully retrieved
{ "ichallenge": { "attrs": {}, "lang": {}, "palette": [ "text" ], "position": {} }, "name": "text", "trusted_nets": [ { "address": "text", "comment": "text" } ] }
Modify settings of a planet
Planet ID
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" } ] }
Planet updated successfully
{ "message": "Successfully updated entry" }