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 Publication Target Service API

Manages the storage destinations for publishing Debian archives.

Canonical Publication Target 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 PublicationTargetService. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and release notes.

This API exposes 6 operations across 3 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.

6 operations 3 paths 9 schemas 1 DELETE2 GET1 PATCH2 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 6

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

PublicationTargetService 6

Manages the storage destinations for publishing Debian archives.

GET
/v1/publicationTargets
Publication target service list publication targets
PublicationTargetService_ListPublicationTargets 3 params → 200default
POST
/v1/publicationTargets
Publication target service create publication target
PublicationTargetService_CreatePublicationTarget 1 param body → 200default
GET
/v1/publicationTargets/{publicationTarget}
Publication target service get publication target
PublicationTargetService_GetPublicationTarget 1 param → 200default
DELETE
/v1/publicationTargets/{publicationTarget}
Publication target service delete publication target
PublicationTargetService_DeletePublicationTarget 1 param → 200default
PATCH
/v1/publicationTargets/{publicationTarget}
Publication target service update publication target
PublicationTargetService_UpdatePublicationTarget 2 params body → 200default
POST
/v1/publicationTargets:batchGet
Publication target service batch get publication targets
PublicationTargetService_BatchGetPublicationTargets body → 200default

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are S3Target (13 properties), SwiftTarget (11 properties), PublicationTarget (6 properties), Status (3 properties). Each schema is shown below with its type and property counts.

SwiftTarget
object
A Swift (OpenStack) storage destination.
11 properties 4 required
FilesystemTarget
object
A local filesystem storage destination.
2 properties 1 required
BatchGetPublicationTargetsRequest
object
The request message for retrieving a batch of publication targets.
2 properties 1 required
ListPublicationTargetsResponse
object
The response message for listing publication targets.
2 properties
PublicationTarget
object
Represents a publication storage destination (S3, Swift, or filesystem).
6 properties 1 required
BatchGetPublicationTargetsResponse
object
The response message for retrieving a batch of publication targets.
2 properties
GoogleProtobufAny
object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
1 property
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
S3Target
object
An S3 publication target destination.
13 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canonical-publicationtargetservice-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 Publication Target 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.