Search documentation
karat

+

K

User Documentation ↗
Version 3.0Beta

List Marketplace Product Release Versions

GET/api/v3/platform/marketplaces/{marketplaceRid}/products/{productId}/releaseVersions
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

List published versions of a product available in this Marketplace, ordered by semantic version descending (major, then minor, then patch), with version UUID descending as the tie-breaker. Includes deprecated versions.

The default and maximum page size is 100. Requests for a larger page size will be clamped to 100. If pageSize is 0, the default page size is used. Negative values are rejected. A page may be empty even when nextPageToken is present; continue paging until it is absent.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:v3:marketplace-product-release-version:read:list.

Path parameters

marketplaceRid
string

The store RID used as marketplaceRid when registering a product installation.

productId
string

The product ID used with the parent Marketplace RID when registering an installation.

Query parameters

pageSize
integeroptional

The page size to use for the endpoint.

pageToken
stringoptional

The page token indicates where to start paging. This should be omitted from the first page's request. To fetch the next page, clients should take the value from the nextPageToken field of the previous response and use it to populate the pageToken field of the next request.

preview
booleanoptional

Enables the use of preview functionality.

Response body

ListMarketplaceProductReleaseVersionsResponse
object
Hide child attributes

Hide child attributes

data
list<MarketplaceProductReleaseVersion>optional
Show child attributes

Show child attributes

nextPageToken
stringoptional

The token for the next page of results. Include this value in the pageToken parameter of the next request to retrieve that page.

Examples

Request

Copied!
1 2 3 curl \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v3/platform/marketplaces/ri.marketplace.main.local.e74f7e10-08b7-4ed6-aad8-2ffbe901b115/products/4d9a2e36-52c7-49be-8d10-1fb0cc7481a2/releaseVersions?pageSize=100&pageToken=v1.VXNlZnVsIGxpbms6IGh0dHBzOi8vd3d3LnBhbGFudGlyLmNvbS9kb2NzL2ZvdW5kcnkvYXBpLXJlZmVyZW5jZS8%3D&preview=true"

Response

Copied!
1 2 3 4 5 6 7 8 9 10 11 { "data": [ { "id": "7a6f2c81-38b5-4e6d-a294-3f85d069b7c0", "semanticVersion": "1.2.3", "deprecated": false, "supportsInputApiNames": true } ], "nextPageToken": "v1.VXNlZnVsIGxpbms6IGh0dHBzOi8vd3d3LnBhbGFudGlyLmNvbS9kb2NzL2ZvdW5kcnkvYXBpLXJlZmVyZW5jZS8=" }

Error responses

Error Name
InvalidPageSizeError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe provided page size was negative. Page sizes must be greater than or equal to zero.
ParameterspageSize
MarketplaceProductNotFoundError CodeNOT_FOUND
Status Code404
Description
ParametersproductId, marketplaceRid
MarketplaceNotFoundError CodeNOT_FOUND
Status Code404
Description
ParametersmarketplaceRid
InvalidPageTokenError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe page token is invalid. Use the `nextPageToken` value returned by the previous response.
ParameterspageToken