V2 API Reference

This is the documentation for version 33 of Snapcraft Dashboard v2 API.

Changelog

Version 32:

Version 31:

Version 30:

Version 29:

Version 28:

Version 27:

Version 26:

Version 25:

  • api-store-snaps: Add searching of snaps for inclusion in brand store using query params: q and allowed-for-inclusion

Version 24:

  • api-store-snaps: Remove fields from store snaps endpoint: user id, user email

Version 23:

  • api-store-snaps: Add searching of snaps to store snaps endpoint using query param: q

Version 22:

  • api-store-snaps: Added extra field to store snaps GET response: latest-release

Version 21:

  • api-store-snaps: Added extra field to store snaps response: users (publisher and collaborators).

Version 20:

Version 19:

  • api-store-invites: Update store invites endpoint to allow modifications to existing invites.

Version 18:

Version 17:

  • api-store-info: Added extra fields to store info dict: private, manual-review-policy

  • api-store-invites: Added extra fields to store info dict: private, manual-review-policy

  • api-store-snaps: Added extra fields to store info dict: private, manual-review-policy

  • api-store-users: Added extra fields to store info dict: private, manual-review-policy

Version 16:

Version 15:

Version 14:

Version 13:

Version 12:

Version 11:

Version 9:

  • api-snap-releases: Added two new top-level fields to the response: tracks, listing the most relevant tracks for this snap, with proper metadata and ordering; and channels, listing the most relevant channels, including the channel breakdown with track, risk and branch and their fallback channel. Branches are only included in the channels list if there is a release available in that branch.

Version 8:

  • api-snap-releases: Added two new fields to the releases dictionaries: channel, providing the channel name for the release; and expiration-date that, if not null, indicates when the release will expire, in ISO 8601 format.

Version 7:

Version 6:

  • api-snap-releases: Added new field snap to the response including metadata from the snap itself.

Version 5:

Version 4:

  • api-snap-releases: Added new field progressive for each release item, providing details about whether that release is a progressive release or not.

Version 3:

  • api-store-info: Added extra field to store info dict: snap-name-prefixes.

  • api-store-snaps: Added extra field to store info dict: snap-name-prefixes.

  • api-store-users: Added extra field to store info dict: snap-name-prefixes.

Version 2:

  • api-store-info: Added extra fields to store info dict: allowed-inclusion-source-stores and allowed-inclusion-target-stores.

  • api-store-snaps: Added extra fields to store info dict: allowed-inclusion-source-stores and allowed-inclusion-target-stores.

  • api-store-users: Added extra fields to store info dict: allowed-inclusion-source-stores and allowed-inclusion-target-stores.