Canonical Authentication Required API

Access is restricted to the root user.

Operations 20

GET /v2/changes Get all changes #
GET /v2/changes/{id} Get the status of a change #
POST /v2/changes/{id} Abort a change #
POST /v2/cohorts Create cohort keys #
GET /v2/find Find snaps in the store #
POST /v2/login Authenticate user with snapd and store #
POST /v2/logout Log user out of snapd and the store #
GET /v2/logs Get log contents #
POST /v2/snapctl Run snapctl command #
GET /v2/snaps/{name}/conf Get snap configuration #
GET /v2/snapshots/{set-id}/export Export a snapshot set #
GET /v2/system/system-recovery-keys Get system recovery key #
POST /v2/system/system-recovery-keys Manage system recovery keys #
POST /v2/systems Perform an action on the current recovery system or create a new one #
GET /v2/systems/{label} Get details for a specific recovery system #
POST /v2/systems/{label} Perform an action on a specific recovery system #
GET /v2/validation-sets Get all enabled validation sets #
GET /v2/validation-sets/{account-id}/{name} Get a specific validation set #
POST /v2/validation-sets/{account-id}/{name} Manage a specific validation set #
POST /v2/warnings Respond to warnings #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/canonical-authenticationrequired-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

canonical-authenticationrequired-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snapd REST Authentication Required API
  license:
    name: GPL-3.0
    url: https://www.gnu.org/licenses/gpl-3.0.txt
  version: '1.0'
  description: 'The REST API provides access to snapd''s state and many of its key functions,

    as listed below.


    For general information on how to use the API, including how to access it,

    its requests and responses, results fields and error types, see Using the

    REST API.'
servers:
- url: unix:///run/snapd.socket
  description: 'Local snapd socket access. Unless otherwise specified, routes appear on

    this socket.'
- url: unix:///run/snapd-snap.socket
  description: Snapd socket access for snaps
tags:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/canonical/refs/heads/main/openapi/canonical-authenticationrequired-api-openapi.yml