Planets

Get Planet

get

Get planet-wide settings and values

Path parameters
configanyRequired
Responses
200
Planet info successfully retrieved
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 Planet

put

Modify settings of a planet

Path parameters
configstringRequired
entry_idstringRequired

Planet ID

Body
namestringRequired
Responses
200
Planet updated successfully
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?