content

Returns all versions of the content.

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

get/content/{contentId}/versions

Request

  • Base URL
    https://marketplace-api.mendix.com/v1
  • Auth
    API key in header Authorization

Path parameters

contentIdinteger required

This is the identifier of the content, representing the number used in the URL of the content details page. For instance, it is '170' for 'https://marketplace.mendix.com/link/component/170'.

It can also be retrieved by querying the Content API using the name of the last published version of the content. For instance, GET https://marketplace-api.mendix.com/v1/content?name=Community%20Commons will return the contentId for 'Community Commons'.

Query parameters

versionIdstring UUID

This is the UUID of the published version.

supportedMendixVersionstring
Example:10.1.1

Allows you to find the version that is supported by the Mendix version passed in the filter. If multiple supported versions match the value, it returns the most recent published version.

publishedSincestring yyyy-MM-dd

Allows you to find the content whose last published version was published since the date passed the filter. You must provide a value in the full-date format as specified in RFC 3339, for example: 2023-09-01.

limitinteger

This defines the maximum number of content versions that can be returned per request. If no limit is specified, the default value is 10. However, the limit cannot exceed 20. If the value provided exceeds 20, the limit is automatically set to 20 without generating an error message.

offsetinteger

The offset is the zero-based index of the first content to be returned on the page.

Response

successful operation

Example response

{
  "items": [
    {
      "name": "3d Viewer",
      "versionNumber": "10.1.1",
      "minSupportedMendixVersion": "10.1.1",
      "publicationDate": "2023-09-01T09:04:00Z",
      "downloadURL": "https://example.com/content/versions/{versionId}/download",
      "releaseNotes": "These are the release notes for this version.",
      "versionType": "Regular"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.