View Maintenance Actions

GET /stake-pools/maintenance-actions

Returns the current status of the stake pools maintenance actions.

Responses

  • 200 application/json

    Ok

    Hide response attribute Show response attribute object
    • gc_stake_pools object Required

      Gives an indication if metadata GC checking for delisted pools has run and if so, when.

      Possible values are:

      • not_applicable -> we're currently not querying a SMASH server for metadata
      • not_started -> the GC hasn't started yet, try again in a short while
      • restarting -> the GC thread is currently restarting, try again in short while
      • has_run -> the GC has run successfully

      When 'status' is 'restarting' or 'has_run' then the field 'last_run' is set to the last GC time in UTC.

      Hide gc_stake_pools attributes Show gc_stake_pools attributes object
      • status string Required

        Values are not_applicable, not_started, restarting, or has_run.

      • last_run string(iso-8601-date-and-time)
GET /stake-pools/maintenance-actions
curl \
 --request GET https://localhost:8090/v2/stake-pools/maintenance-actions
Response examples (200)
{
  "gc_stake_pools": {
    "status": "not_applicable",
    "last_run": "2019-02-27T14:46:45Z"
  }
}