Last updated 5 months ago
Was this helpful?
Get planet-wide settings and values
/api/v4.0/conf/{config}/planets
curl -L \ --url '/api/v4.0/conf/{config}/planets'
{ "ichallenge": { "attrs": {}, "lang": {}, "position": {}, "palette": [ "text" ] }, "name": "text", "trusted_nets": [ { "address": "text", "comment": "text" } ] }
Modify settings of a planet
/api/v4.0/conf/{config}/planets/{entry_id}
Planet ID
curl -L \ --request PUT \ --url '/api/v4.0/conf/{config}/planets/{entry_id}' \ --header 'Content-Type: application/json' \ --data '{"ichallenge":{"attrs":{},"lang":{},"position":{},"palette":["text"]},"name":"text","trusted_nets":[{"address":"text","comment":"text"}]}'
{ "message": "Successfully updated entry" }