content

Returns the specific content for the given content id.

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}

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'.

Response

successful operation

contentIdinteger required

This is the identifier of the content.

publisherstring required

This is the company that owns the content.

typestring required

This returns the type of the content selected during onboarding. For the full list of the content types, see: https://docs.mendix.com/appstore/general/app-store-overview/.

supportCategory'Community' | 'Platform' | 'Partner' | 'Extended' | 'Deprecated' | 'Siemens'

The type of support for this content. For more information, see https://docs.mendix.com/appstore/general/app-store-content-support/

licenseUrlstring url

The license selected during onboarding.

isPrivateboolean required

This indicates whether the content is public or private.

isCompanyApprovedboolean

This indicates whether the content is company-approved. This attribute is only returned if the company has enabled the company-approved badge functionality. For more information, refer to https://docs.mendix.com/control-center/company-approved/.

Example response

{
  "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.