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 Local Service API

Manages local repositories.

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

Tagged areas include LocalService. 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 9 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against the base URL https://api.snapcraft.io.

8 operations 5 paths 9 schemas 1 DELETE3 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Base URL
https://api.snapcraft.io
Resource Areas
1

Paths & Operations 8

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

LocalService 8

Manages local repositories.

GET
/v1/locals
Local service list locals
LocalService_ListLocals 3 params → 200default
POST
/v1/locals
Local service create local
LocalService_CreateLocal 1 param body → 200default
GET
/v1/locals/{local}
Local service get local
LocalService_GetLocal 1 param → 200default
DELETE
/v1/locals/{local}
Local service delete local
LocalService_DeleteLocal 1 param → 200default
PATCH
/v1/locals/{local}
Local service update local
LocalService_UpdateLocal 2 params body → 200default
GET
/v1/locals/{local}/packages
Local service list local packages
LocalService_ListLocalPackages 3 params → 200default
POST
/v1/locals/{local}:importPackages
Local service import local packages
LocalService_ImportLocalPackages 1 param body → 200default
POST
/v1/locals:batchGet
Local service batch get locals
LocalService_BatchGetLocals body → 200default

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Local (8 properties), Operation (5 properties), ImportLocalPackagesRequest (3 properties), Status (3 properties). Each schema is shown below with its type and property counts.

Local
object
Represents a local repository.
8 properties 3 required
ImportLocalPackagesRequest
object
The request message for importing packages into a local repository.
3 properties 2 required
Operation
object
This resource represents a long-running operation that is the result of a network API call.
5 properties
GoogleProtobufAny
object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
1 property
BatchGetLocalsRequest
object
The request message for retrieving a batch of local repositories.
2 properties 1 required
ListLocalPackagesResponse
object
The response message for listing local repository packages.
2 properties
ListLocalsResponse
object
The response message for listing local repositories.
2 properties
BatchGetLocalsResponse
object
The response message for retrieving a batch of local repositories.
2 properties
Status
object
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](h…
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canonical-localservice-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 Local Service 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.