---
title: "Returns all versions of the content."
method: GET
path: "/content/{contentId}/versions"
tags: ["content"]
---

# Returns all versions of the content.

`GET /content/{contentId}/versions`

## Request

- Base URL: `https://marketplace-api.mendix.com/v1`
- URL: `https://marketplace-api.mendix.com/v1/content/{contentId}/versions`
- Auth: API key in header `Authorization`

The content metadata is from the last published version of the content. You can query both public and private content belonging to your company.

## Path parameters

- `contentId` integer, required

## Query parameters

- `versionId` string, UUID
- `supportedMendixVersion` string
- `publishedSince` string, yyyy-MM-dd
- `limit` integer
- `offset` integer

## Response `200`

successful operation

- ContentVersions
  - `items` ContentVersion[]
    - union
      - RegularVersion
        - `name` string: This is the name of the version of the content.
        - `versionId` string, uuid: This is the UUID of the version.
        - `versionNumber` string: This is the version number. The format of the version number is major.minor.patch, for example: `1.0.0`.
        - `minSupportedMendixVersion` string: This is the Studio Pro version selected during the onboarding. This means any Studio Pro version equal to or greater than this version is compatible with the latest version of the content.
        - `publicationDate` string, yyyy-MM-ddTHH-mm-ssZ
        - `downloadURL` string, uri: This is the URL used to download the specific version of the component.
        - `releaseNotes` string, required: These are the release notes for the published versions.
        - `versionType` 'Regular', required: This is the version type. It indicates that this is a regular version with no known vulnerabilities.
      - VulnerableVersion
        - `name` string: This is the name of the version of the content.
        - `versionId` string, uuid: This is the UUID of the version.
        - `versionNumber` string: This is the version number. The format of the version number is major.minor.patch, for example: `1.0.0`.
        - `minSupportedMendixVersion` string: This is the Studio Pro version selected during the onboarding. This means any Studio Pro version equal to or greater than this version is compatible with the latest version of the content.
        - `publicationDate` string, yyyy-MM-ddTHH-mm-ssZ
        - `downloadURL` string, uri: This is the URL used to download the specific version of the component.
        - `releaseNotes` string, required: These are the release notes for the published versions.
        - `versionType` 'Vulnerable', required: This is the version type. It indicates that this version has known vulnerabilities.
        - `vulnerabilities` SecurityIssue[], required: This lists the CVE or CWE identifiers for the vulnerabilities present in this version.
          - `code` string, required: This is the CVE or CWE identifier for the security issue.
        - `securityFixVersions` VersionReference[], required: This lists the security fix versions that address the vulnerabilities in this version.
          - `versionId` string, uuid, required: This is the UUID of the version.
          - `versionNumber` string, required: This is the version number. The format of the version number is major.minor.patch; for example, `1.0.0`.
          - `minSupportedMendixVersion` string, required: This is the Studio Pro version selected during the onboarding. This means any Studio Pro version equal to or greater than this version is compatible with the latest version of the content.
      - SecurityFixVersion
        - `name` string: This is the name of the version of the content.
        - `versionId` string, uuid: This is the UUID of the version.
        - `versionNumber` string: This is the version number. The format of the version number is major.minor.patch, for example: `1.0.0`.
        - `minSupportedMendixVersion` string: This is the Studio Pro version selected during the onboarding. This means any Studio Pro version equal to or greater than this version is compatible with the latest version of the content.
        - `publicationDate` string, yyyy-MM-ddTHH-mm-ssZ
        - `downloadURL` string, uri: This is the URL used to download the specific version of the component.
        - `releaseNotes` string, required: These are the release notes for the published versions.
        - `versionType` 'SecurityFix', required: This is the version type. It indicates that this version fixes one or multiple security issues.
        - `fixedSecurityIssues` SecurityIssue[], required: This lists the CVE or CWE identifiers for the security issues that were fixed in this version.
          - `code` string, required: This is the CVE or CWE identifier for the security issue.
        - `affectedVersions` VersionReference[], required: This lists the vulnerable versions that are fixed by this security fix version.
          - `versionId` string, uuid, required: This is the UUID of the version.
          - `versionNumber` string, required: This is the version number. The format of the version number is major.minor.patch; for example, `1.0.0`.
          - `minSupportedMendixVersion` string, required: This is the Studio Pro version selected during the onboarding. This means any Studio Pro version equal to or greater than this version is compatible with the latest version of the content.

## Other responses

- `400`: The request may contain invalid or missing data. The error message gives additional information.
- `401`: No usable authentication credentials were found. The error message gives additional information.
- `500`: An error occurred during the processing of the request. The error message gives additional information.

---

[API](https://skmtc.dev/mendix/apis/content-api.md) - [All operations](https://skmtc.dev/mendix/apis/content-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/content-api/revisions/894a62fced00?raw)
