How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Canonical Asynchronous API

Return the reference to a change that will occur in the background.

Canonical Asynchronous API is one of 122 APIs that Canonical publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Asynchronous. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and release notes.

This API exposes 8 operations across 7 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: unix:///run/snapd.socket, unix:///run/snapd-snap.socket.

8 operations 7 paths 13 schemas 1 GET5 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.snapcraft.io
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

Canonical Asynchronous API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-PEER-CREDENTIALS (PeerAuth).

  • PeerAuth — Unix Socket Peer Authentication Authentication is not handled via traditional HTTP headers or tokens. Instead, it is managed at the operating system level usin…

Paths & Operations 8

Across 7 paths, the API surfaces 8 operations — 1 GET, 5 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Asynchronous 8

Return the reference to a change that will occur in the background.

GET
/v2/confdb/{account}/{confdb-schema}/{view}
Get configurations from confdb
getConfdb 4 params → 202400
PUT
/v2/confdb/{account}/{confdb-schema}/{view}
Set configurations in confdb
setConfdb 3 params body → 202400
POST
/v2/interfaces
Issue an action to the interface system
postInterfaces body → 202400
POST
/v2/quotas
Manage quota groups
manageQuotaGroups body → 202400403
POST
/v2/snaps
Manage snaps
manageSnaps body → 202400
POST
/v2/snaps/{name}
Manage a specific snap
manageSnapByName 1 param body → 202400
PUT
/v2/snaps/{name}/conf
Set snap configuration
setSnapConfig 1 param body → 202400
POST
/v2/snapshots
Manipulate or import a snapshot
manageSnapshots body → 202400401404

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are QuotaGroup (7 properties), Slot (7 properties), Plug (7 properties), SnapNotInstalledError (3 properties). Each schema is shown below with its type and property counts.

QuotaGroup
object
Defines a quota group for one or more snaps.
7 properties 1 required
PlugRef
object
A reference to a specific plug.
2 properties
SnapNotInstalledError
object
The snap does not exist on the system.
3 properties
ConfdbError
object
An error occured while interacting with confdb.
2 properties
MalformedRequestError
object
1 property
NoSSHKeysError
object
1 property
NoModelAssertionError
object
The model assertion has not been created yet.
3 properties
Slot
object
Detailed information about a slot.
7 properties
SlotRef
object
A reference to a specific slot.
2 properties
UserNotFoundError
object
1 property
NoSerialAssertionError
object
The serial assertion has not been created yet.
3 properties
NotFoundError
object
1 property
Plug
object
Detailed information about a plug.
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canonical-asynchronous-api-openapi.yml Raw ↑

Other APIs Canonical publishes across the network.

Snap Store API
Charmhub API
MAAS API
Juju Client / Controller API
Launchpad Web Services API
Ubuntu Pro Client API
Canonical Assertions API
Canonical Search API
Canonical Snaps API
MicroCeph REST API
Canonical App Authorization Service API
Canonical Application API
Where this information came from

This is an independent, third-party profile of Canonical Asynchronous API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.