Content API
1 Introduction
The Mendix Content API allows you to retrieve versions of both public and private company-specific Marketplace content.
If you have Marketplace content, this API can help you get the following information:
- The latest version of the content used, allowing you to keep track of outdated content on your side and check for newly added versions including release notes
- The latest version that is compatible with your Mendix Studio Pro version
- Component details such as content type, category, and license
2 Authentication
Authentication for the Content API uses a personal access token (PAT).
2.1 Generating a PAT
For details on how to generate a PAT, see the Creating a PAT section in Mendix Profile.
Select the following :
Select mx:marketplace-content:read as the Marketplace scope in orde to perform GET
operations.
Copy and store the generated value ({GENERATED_PAT}
) somewhere safe so you can use it to authorize your API calls.
2.2 Using the PAT
Each request must contain an Authorization
header with the value MxToken {GENERATED_PAT}
.
Here is an example:
GET /content HTTP/1.1
Authorization: MxToken 7LJE…vk
To authenticate calls when using the OpenAPI specification below, click Authorize and use the value MxToken {GENERATED_PAT}
.
3 API Reference
Feedback
Was this page helpful?
Glad to hear it! Thank you for your response.
Sorry to hear that. Please tell us how we can improve.