Tool

Get tool versions

get/v1/{organization}/tool/{tool_id}/version

Request

Path parameters

organizationstring required
tool_idstring required

The ID of the tool to retrieve versions for.

Query parameters

deprecatedboolean nullable

Whether to filter by deprecated tool versions.

versionsstring nullable

A semver constraint that specifies the versions to retrieve.

sort_bystring[]

The fields to sort the versions by. Supported fields are created_at, version.major, version.minor, version.patch, and deprecated. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.

creatorstring[]

The creators of the tool versions. Each value must be of the format org_id,user_id.

limitinteger

The maximum number of tool versions to return.

continuation_tokeninteger

The continuation token from the previous request used to retrieve the next page of tool versions.

Headers

x-mongo-cluster-namestring nullable

The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.

Sec-WebSocket-Protocolstring[]

Response

Succeeded.

has_moreboolean required

Whether there are more tool versions to retrieve.

continuation_tokenunknown required

Changes

No operation changes recorded.