content

Returns the list of content.

Returns both public and private content belonging to your company. The content metadata is from the last published version of the content. This endpoint uses pagination.

get/content

Request

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

Query parameters

namestring

Allows you to do a query on the name of the last published version of the content. This can help to get the identifier of the content. It does a precise match for the value passed in the filter.

isPrivatestring

Allows you to filter on public or private content. Supported values are true or false. If the value is true, it returns only the last published versions of the private content belonging to your company. If the value is false, it returns only the last published versions of the public content belonging to your company. If no value is passed, then it returns the last published versions of both public and private content belonging to your company.

isCompanyApprovedstring

Allows you to filter on company-approved content. This filter is only applicable if the company has enabled the company-approved badge functionality. For more information, refer to https://docs.mendix.com/control-center/company-approved/. Supported values are true or false. If the value is true, it returns only the last published versions of the company-approved content. If the value is false, it returns only the last published versions of the non-company-approved content. If no value is passed, it returns the last published versions of both company-approved and non-company-approved content.

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 that can be returned per request. If no limit is specified, the default value is 10. However, the limit cannot exceed 100. If the value provided exceeds 100, 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": [
    {
      "contentId": 50,
      "publisher": "Automation Company Ltd.",
      "type": "Module",
      "categories": [
        {
          "name": "Authentication"
        }
      ],
      "supportCategory": "Community",
      "licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.html",
      "latestVersion": {
        "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"
      }
    }
  ]
}

Changes

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