Skip to content
  •  
  •  
  •  
222 changes: 147 additions & 75 deletions content/en/docs/apidocs-mxsdk/apidocs/apps/app-repository-api.md

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions content/en/docs/apidocs-mxsdk/apidocs/deployment/backups-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -135,6 +137,8 @@ An object with the following key-value pairs:
| 404 | ENVIRONMENT_NOT_FOUND | Environment not found. |
| 500 | SNAPSHOT_LISTING_FAILED | An error occurred while listing the backups. Please contact Support. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -237,6 +241,8 @@ A JSON object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -248,6 +254,8 @@ A JSON object with the following key-value pairs:
| 404 | NOT_FOUND | Snapshot not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -310,6 +318,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -319,6 +329,8 @@ An object with the following key-value pairs:
| 404 | NOT_FOUND | Snapshot not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -386,6 +398,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -396,6 +410,8 @@ An object with the following key-value pairs:
| 404 | NOT_FOUND | Snapshot not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists.|

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -460,6 +476,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -469,6 +487,8 @@ An object with the following key-value pairs:
| 404 | NOT_FOUND | Snapshot not found. |
| 404 | NOT_FOUND | Archive not found. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -542,6 +562,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -551,6 +573,8 @@ An object with the following key-value pairs:
| 404 | NOT_FOUND | Snapshot not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -602,6 +626,8 @@ Mendix-ApiKey: 26587896-1cef-4483-accf-ad304e2673d6

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -610,6 +636,8 @@ Mendix-ApiKey: 26587896-1cef-4483-accf-ad304e2673d6
| 404 | ENVIRONMENT_NOT_FOUND | Environment not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists. |

{{< /expandable-table >}}

**Example Output**

No content is returned when a backup has been successfully removed.
Expand Down Expand Up @@ -676,6 +704,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -690,6 +720,8 @@ An object with the following key-value pairs:
| 404 | ENVIRONMENT_NOT_FOUND | Environment not found. |
| 500 | SERVICE_UNAVAILABLE | Operation failed. Please try again later or contact Support if the problem persists. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down Expand Up @@ -754,6 +786,8 @@ An object with the following key-value pairs:

**Error Codes**

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set project_id and environment_id parameters. |
Expand All @@ -762,6 +796,8 @@ An object with the following key-value pairs:
| 403 | NO_ACCESS | The user does not have access to the backups of this environment. |
| 404 | ENVIRONMENT_NOT_FOUND | Environment not found. |

{{< /expandable-table >}}

**Example Output**

```json
Expand Down
20 changes: 20 additions & 0 deletions content/en/docs/apidocs-mxsdk/apidocs/deployment/build-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,14 @@ List of objects with the following key-value pairs:

##### Error Codes

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_APPID | Invalid AppId |

{{< /expandable-table >}}

##### Example

```json
Expand Down Expand Up @@ -191,11 +195,15 @@ An object with the following key-value pairs:

##### Error Codes

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set AppId and PackageId parameters. |
| 404 | PACKAGE_NOT_FOUND | Package or build job not found |

{{< /expandable-table >}}

##### Example

```json
Expand Down Expand Up @@ -244,12 +252,16 @@ Mendix-ApiKey: 26587896-1cef-4483-accf-ad304e2673d6

##### Error Codes

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set AppId and PackageId parameters. |
| 404 | PACKAGE_NOT_FOUND | Package or build job not found. |
| 409 | PACKAGE_IN_USE | Package is still in use. |

{{< /expandable-table >}}

### ⚠ Download Package{#download-package}

{{% alert color="warning" %}}
Expand Down Expand Up @@ -282,12 +294,16 @@ Mendix-ApiKey: 26587896-1cef-4483-accf-ad304e2673d6

Error codes

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_PARAMETERS | Not enough parameters given. Please set AppId and PackageId parameters. |
| 404 | PACKAGE_NOT_FOUND | Package or build job not found. |
| 500 | BUILD_NOT_SUCCEEDED | Build not successful finished. |

{{< /expandable-table >}}

### Start Building Deployment Package {#start-building-deployment-package}

Start the process to build a deployment package, based on the team server project of a specific app that the authenticated user has access to as a regular user. This package can be found if you click **Details** on an app in the **Nodes** screen in the Mendix Platform. For a Free App, this will also trigger a deployment of the new package.
Expand Down Expand Up @@ -356,6 +372,8 @@ An object with the following key-value pair:

Error codes

{{< expandable-table >}}

| HTTP Status | Error code | Description |
| --- | --- | --- |
| 400 | INVALID_APPID | Invalid AppId |
Expand All @@ -364,6 +382,8 @@ Error codes
| 404 | APP_NOT_FOUND | App not found. |
| 500 | BUILD_FAILED | Build job failed. |

{{< /expandable-table >}}

##### Example

```json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ For information on creating a PAT, refer to [Personal Access Tokens](/portal/use

The Certificate API lets you manage the central certificates owned by your company:

{{< expandable-table >}}

| Capability | Method and Path |
| --- | --- |
| List certificates | `GET /v1/certificates` |
Expand All @@ -36,6 +38,8 @@ The Certificate API lets you manage the central certificates owned by your compa
| Replace a certificate | `PUT /v1/certificates/{certificateId}/replacement` |
| Delete a certificate | `DELETE /v1/certificates/{certificateId}` |

{{< /expandable-table >}}

All endpoints operate only on central certificates. Private key material, certificate PEM data, and internal identifiers are never returned in any response.

## Base URL
Expand Down Expand Up @@ -72,6 +76,8 @@ Successful responses return a certificate object with the following structure:
}
```

{{< expandable-table >}}

| Field | Type | Description |
| --- | --- | --- |
| `id` | String (UUID) | Unique certificate identifier |
Expand All @@ -84,6 +90,8 @@ Successful responses return a certificate object with the following structure:
| `inUse` | Boolean | `true` if the certificate is linked to one or more custom domains |
| `linkedFqdnsCount` | Integer | Number of custom domains currently linked to this certificate |

{{< /expandable-table >}}

## Errors

All errors use a standard envelope:
Expand All @@ -98,6 +106,8 @@ All errors use a standard envelope:
}
```

{{< expandable-table >}}

| Status | Meaning |
| --- | --- |
| 400 | Malformed request – invalid certificate or key, certificate/key mismatch, invalid chain, invalid query parameter, or the certificate has linked domains and cannot be deleted |
Expand All @@ -106,6 +116,8 @@ All errors use a standard envelope:
| 409 | Conflict – a certificate with the same key material already exists |
| 500 | Internal server error |

{{< /expandable-table >}}

## Endpoints

### List Certificates {#list-certificates}
Expand All @@ -118,13 +130,17 @@ Returns the central certificates owned by your company, most recently updated fi

#### Query Parameters

{{< expandable-table >}}

| Parameter | Type | Default | Notes |
| :---: | :---: | :---: | --- |
| `domain` | String | – | Filter to certificates linked to this domain |
| `status` | String | – | Filter by status: `UPCOMING`, `VALID`, `EXPIRES SOON`, `EXPIRED` |
| `page` | integer | 1 | 1-based page number |
| `limit` | integer | 10 | Page size, 1–100 |

{{< /expandable-table >}}

**Response 200:**

```json
Expand Down Expand Up @@ -153,13 +169,17 @@ POST /v1/certificates
}
```

{{< expandable-table >}}

| Field | Required | Notes |
| --- | :---: | --- |
| `certificate` | Yes | PEM-encoded leaf certificate |
| `privateKey` | Yes | PEM-encoded private key matching the certificate |
| `intermediateChain` | No | PEM-encoded intermediate chain |
| `description` | No | Auto-generated from the certificate if omitted |

{{< /expandable-table >}}

{{% alert color="info" %}}
Certificates generated from a Mendix-issued CSR are not supported by this endpoint.
{{% /alert %}}
Expand Down
Loading
Loading