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 Test Executions API

The test-executions API from Canonical — 10 operation(s) for test-executions.

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

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

This API exposes 16 operations across 10 paths, and defines 48 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.

16 operations 10 paths 48 schemas 2 DELETE6 GET1 PATCH4 POST3 PUT

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 16

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

Test Executions 16
PUT
/v1/test-executions/end-test
End Test Execution
end_test_execution_v1_test_executions_end_test_put body → 200422
GET
/v1/test-executions/{id}/test-results
Get Test Results
get_test_results_v1_test_executions__id__test_results_get 1 param → 200422
POST
/v1/test-executions/{id}/test-results
Post Results
post_results_v1_test_executions__id__test_results_post 1 param body → 200422
POST
/v1/test-executions/{id}/links
Post Link
post_link_v1_test_executions__id__links_post 1 param body → 200422
DELETE
/v1/test-executions/{id}/links/{link_id}
Delete Link
delete_link_v1_test_executions__id__links__link_id__delete 2 params → 204422
POST
/v1/test-executions/reruns
Create Rerun Requests
create_rerun_requests_v1_test_executions_reruns_post 1 param body → 200422
GET
/v1/test-executions/reruns
Get Rerun Requests
get_rerun_requests_v1_test_executions_reruns_get 5 params → 200422
DELETE
/v1/test-executions/reruns
Delete Rerun Requests
delete_rerun_requests_v1_test_executions_reruns_delete body → 200422
GET
/v1/test-executions/reruns/details
Get Rerun Details
get_rerun_details_v1_test_executions_reruns_details_get 4 params → 200422
GET
/v1/test-executions/{id}
Get Test Execution
get_test_execution_v1_test_executions__id__get 1 param → 200422
PATCH
/v1/test-executions/{id}
Patch Test Execution
patch_test_execution_v1_test_executions__id__patch 1 param body → 200422
GET
/v1/test-executions
Search Test Executions
search_test_executions_v1_test_executions_get 20 params → 200422
PUT
/v1/test-executions/start-test
Start Test Execution
start_test_execution_v1_test_executions_start_test_put body → 200422
PUT
/v1/test-executions/{id}/status_update
Put Status Update
put_status_update_v1_test_executions__id__status_update_put 1 param body → 200422
GET
/v1/test-executions/{id}/status_update
Get Status Update
get_status_update_v1_test_executions__id__status_update_get 1 param → 200422
POST
/v1/test-executions/{id}/status_update
Post Status Update
post_status_update_v1_test_executions__id__status_update_post 1 param body → 200422

Schemas 48

The contract defines 48 schemas that model the data the API accepts and returns. The most detailed are ArtefactResponse (28 properties), TestResultSearchFilters (22 properties), TestExecutionRerunFilters (16 properties), StartImageTestExecutionRequest (16 properties). Each schema is shown below with its type and property counts.

ArtefactBuildMinimalResponse
object
3 properties 3 required
StartImageTestExecutionRequest
object
16 properties 3 required
TestExecutionRelevantLinkCreate
object
2 properties 2 required
ImageStage
string
C3TestResultStatus
string
TestExecutionResponseWithContext
object
15 properties 13 required
SnapStage
string
ArtefactStatus
string
DeleteReruns
object
3 properties
EnvironmentResponse
object
3 properties 3 required
TestResultResponse
object
10 properties 9 required
StartSnapTestExecutionRequest
object
15 properties 10 required
MinimalIssueTestResultAttachmentResponse
object
2 properties 2 required
TestEventResponse
object
3 properties 3 required
ArtefactResponse
object
28 properties 28 required
RerunDetailsResponse
object
7 properties 7 required
TestExecutionStatus
string
FamilyName
string
MinimalIssueResponse
object
9 properties 7 required
TestExecutionSearchResponse
object
4 properties 4 required
ExecutionMetadata
object
A mapping of string categories to lists of string values.
ValidationError
object
5 properties 3 required
TestExecutionsPatchRequest
object
4 properties
RerunRequest
object
4 properties
DebStage
string
TestExecutionRelevantLinkResponse
object
3 properties 3 required
PendingRerun
object
8 properties 8 required
EndTestExecutionRequest
object
4 properties 2 required
MinimalIssueTestResultAttachmentRuleResponse
object
13 properties 13 required
TestExecutionRerunFilters
object
Filter model for rerun create/delete operations. Excludes pagination (limit/offset) and search-only fields (eventnames) that have no meaning in the rerun conte…
16 properties
SolutionStage
string
IssueStatus
string
TestExecutionResponse
object
12 properties 11 required
StartCharmTestExecutionRequest
object
14 properties 9 required
StatusUpdateRequest
object
1 property 1 required
TestResultRequest
object
6 properties 2 required
HTTPValidationError
object
1 property
CharmStage
string
IssueSource
string
PreviousTestResult
object
5 properties 5 required
RerunDetail
object
5 properties 5 required
RerunPrioritySummary
object
2 properties 2 required
StartSolutionTestExecutionRequest
object
12 properties 7 required
TestResultStatus
string
StartDebTestExecutionRequest
object
14 properties 8 required
C3TestResult
object
6 properties 5 required
TestResultSearchFilters
object
22 properties
ReviewerResponse
object
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

canonical-test-executions-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 Test Executions 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.