# List applications manitu installs

> The applications manitu installs into a web hosting package, with their versions and needs.

- Effect: Read - Changes nothing.
- Idempotent: yes
- Stability: beta
- MCP tool: `manitu_webhosting_web_application_catalog_list` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/webhosting/web/application/catalog/list`
- Needs: `service_webhosting`
- Page: /reference/webhosting/web/application/catalog/list/

## MCP tool

`manitu_webhosting_web_application_catalog_list`

### Description for the model

Lists the applications manitu installs into a web hosting package of the manitu customer account this connection works in, by its site_id from manitu_webhosting_list - WordPress, Joomla, Nextcloud, TYPO3 ...: for each the versions on offer, whether a version needs a database (of which server type, with which table prefix), whether manitu sets it up right away, and notes to show the customer before (German). Installing: manitu_webhosting_web_application_installation_create. Refused with a conflict when the package has no application installation (feature_not_in_package).

### Arguments

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Example

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manitu_webhosting_web_application_catalog_list",
    "arguments": {
      "site_id": 12345
    }
  }
}
```

## REST

`POST https://api.manitu.de/v1/webhosting/web/application/catalog/list`

### Authentication

One of `X-API-Key`, `Authorization: Bearer …` - never more than one in a request.

### Request body

JSON; unknown fields are refused.

- `site_id` (integer | string, required) - The site_id from manitu_webhosting_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Response

In `data`; the rest of the body as on every call.

- `application_list` (array of object, required)
  - `application_list[].type` (string, required) - The application, as installation create takes it (application.type), e.g. wordpress.
  - `application_list[].title` (string, required) - Its name for people.
  - `application_list[].teaser` (string | null, required) - What it is, in a sentence (German).
  - `application_list[].version_list` (array of object, required) - The versions on offer, newest first.
    - `application_list[].version_list[].version` (string, required) - As installation create takes it (application.version).
    - `application_list[].version_list[].is_latest` (boolean, required) - The newest on offer - installed when no version is given.
    - `application_list[].version_list[].database` (object | null, required) - It needs a database of the package (database_id); null: none.
      - `application_list[].version_list[].database.server_type_list` (array of string, required) - The database server types it runs on (server_type of a database).
      - `application_list[].version_list[].database.takes_table_prefix` (boolean, required) - Its tables can carry a prefix - so that more than one installation fits into one database.
      - `application_list[].version_list[].database.table_prefix_default` (string | null, required) - The prefix used when none is given.
    - `application_list[].version_list[].is_configured_right_away` (boolean, required) - manitu sets it up with an administrator (the customer's mail address, a new password) - else the customer finishes the setup in the browser.
    - `application_list[].version_list[].note_list` (array of string, required) - What the customer should know before installing (German) - show it.

### Statuses

- `200` Success.
- `400` The request does not match the declared input schema.
- `401` No credential was presented, or it was not recognised.
- `403` The credential is not permitted to use this operation.
- `500` The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.
- `503` The channel this operation forwards through is unavailable.

### Example

```sh
curl -X POST 'https://api.manitu.de/v1/webhosting/web/application/catalog/list' \
  -H 'X-API-Key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"site_id":12345}'
```

## Example result

```json
{
  "application_list": [
    {
      "type": "string",
      "title": "string",
      "teaser": "string",
      "version_list": [
        {
          "version": "string",
          "is_latest": true,
          "database": {
            "server_type_list": [
              "string"
            ],
            "takes_table_prefix": true,
            "table_prefix_default": "string"
          },
          "is_configured_right_away": true,
          "note_list": [
            "string"
          ]
        }
      ]
    }
  ]
}
```
