Application

The "Application" section allows the management of application resources, providing endpoints for creating, deleting, updating, and retrieving application details. It also includes a "DNS" subsection for verifying correct DNS configuration during application creation.

Applications can only be created with the Kraud.Cloud provider. Only Next Cloud can be created at this time.

Create app

POST {{BASE_URL}}/api/apps

Application Creation. Currently, only Next Cloud can be created.

Path Parameters

Name
Type
Description

team*

String

Team ID

project*

String

Project ID

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Request Body

Name
Type
Description

app*

Object

{
    "region": {
        "datacenter": {
            "name": "berlin",
            "displayName": "Berlin"
        },
        "physicalLocation": "Germany"
    },
    "image": {
        "version": {
            "name": "nextcloud_latest",
            "displayName": "latest"
        },
        "distribution": "Nextcloud"
    },
    "status": 0,
    "urlAddress": "",
    "attestationId": "",
    "_id": "6548c71a984ffc044f8ebc41",
    "name": "kraud-cloud-nextcloud-berlin-01",
    "provider": "6548a383e2442d14b6bf968d",
    "size": "6548a383e2442d14b6bf973e",
    "price": "6548a383e2442d14b6bf96fc",
    "project": "6548a41f38406c14db33b62c",
    "team": "6548a41f38406c14db33b61e",
    "createdAt": "2023-11-06T10:59:38.121Z",
    "updatedAt": "2023-11-06T10:59:38.121Z"
}
Request payload

Get apps

GET {{BASE_URL}}/api/teams/{team}/projects/{project}/apps

Get all active applications for a specific project.

Path Parameters

Name
Type
Description

team*

String

Team ID

project*

String

Project ID

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Get app by ID

GET {{BASE_URL}}/api/apps/{id}

Get a specific application by unique id.

Path Parameters

Name
Type
Description

id*

String

App ID

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Delete app by ID

DELETE {{BASE_URL}}/api/apps/{id}

Delete a specific application by unique id.

Path Parameters

Name
Type
Description

id*

String

App ID

Headers

Name
Type
Description

Authorization*

String

Bearer Token

Last updated

Was this helpful?