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 Experimental API

Interact with experimental features.

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

Tagged areas include Experimental. 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 5 paths, and defines 28 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 5 paths 28 schemas 4 GET4 POST

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 Experimental 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 5 paths, the API surfaces 8 operations — 4 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Experimental 8

Interact with experimental features.

POST
/v2/confdb
Delegate remote confdb management to operators
postConfdbControl body → 200400401
GET
/v2/interfaces/requests/prompts
Retrieve all outstanding prompts
getPrompts 1 param → 200404
GET
/v2/interfaces/requests/prompts/{id}
Retrieve a prompt by ID
getPromptById 2 params → 200404
POST
/v2/interfaces/requests/prompts/{id}
Reply to a prompt
replyToPrompt 2 params body → 200404
GET
/v2/interfaces/requests/rules
Retrieve all rules
getRules 3 params → 200404
POST
/v2/interfaces/requests/rules
Create or remove rules
manageRules 1 param body → 200404
GET
/v2/interfaces/requests/rules/{id}
Retrieve a rule by ID
getRuleById 2 params → 200404
POST
/v2/interfaces/requests/rules/{id}
Patch or remove a rule by ID
updateRuleById 2 params body → 200404

Schemas 28

The contract defines 28 schemas that model the data the API accepts and returns. The most detailed are PromptingRule (6 properties), PromptingPrompt (5 properties), PromptingPermissionRuleEntry (4 properties), ConfdbControlAction (4 properties). Each schema is shown below with its type and property counts.

PromptingRuleConstraintsCamera
object
Details about the applicability of the existing rule to requests.
1 property 1 required
PromptingRuleActionRemove
object
The schema the API uses for the 'remove' action of /v2/interfaces/rules.
2 properties 2 required
PromptingRuleActionPatch
object
The schema the API uses for the 'patch' action of /v2/interfaces/rules/{id}.
2 properties 2 required
PromptingReplyConstraintsHome
object
Represents the constraints associated with a reply to a prompt for the home interface.
2 properties 2 required
NotFoundError
object
1 property
PromptingRuleConstraintsHome
object
Details about the applicability of the existing rule to requests.
2 properties 2 required
UserNotFoundError
object
1 property
PromptingPatchConstraintsCamera
object
Details about the applicability of the modified rule to requests. Any fields which are omitted are left unchanged from the existing rule.
1 property
PromptingReply
object
4 properties 3 required
PromptingReplyConstraintsCamera
object
Represents the constraints associated with a reply to a prompt for the camera interface.
1 property 1 required
PromptingConstraintsCamera
object
Details about the applicability of the new rule to requests.
1 property 1 required
PromptingPromptConstraintsCamera
object
Represents the constraints associated with a prompt for the camera interface.
2 properties 2 required
SnapNotInstalledError
object
The snap does not exist on the system.
3 properties
PromptingPrompt
object
5 properties 5 required
PromptingRuleActionAdd
object
The schema the API uses for the 'add' action of /v2/interfaces/rules.
2 properties 2 required
PromptingRuleActionRemoveById
object
The schema the API uses for the 'remove' action of /v2/interfaces/rules/{id}.
1 property 1 required
ConfdbError
object
An error occured while interacting with confdb.
2 properties
PromptingConstraintsHome
object
Details about the applicability of the new rule to requests.
2 properties 2 required
PromptingPromptConstraintsHome
object
Represents the constraints associated with a prompt for the home interface.
3 properties 3 required
NoSSHKeysError
object
1 property
PromptingPermissionEntry
object
3 properties 2 required
PromptingPermissionRuleEntry
object
4 properties 2 required
PromptingRule
object
An object describing the structure of a rule.
6 properties 6 required
MalformedRequestError
object
1 property
PromptingPatchConstraintsHome
object
Details about the applicability of the modified rule to requests. Any fields which are omitted are left unchanged from the existing rule.
2 properties
ConfdbControlAction
object
Request to delegate or withdraw an operator's remote access to confdb views.
4 properties 2 required
NoModelAssertionError
object
The model assertion has not been created yet.
3 properties
NoSerialAssertionError
object
The serial assertion has not been created yet.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canonical-experimental-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 Experimental 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.