Providers

Server providers

List all your server providers.

GET /api/server-providers

Example request :

curl "https://cloud.boxydev.com/api/server-providers" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "data": [
        {
            "id": 1,
            "name": "Digital Ocean",
            "type": "digital_ocean",
            "regions": {
                "ams2": "Amsterdam 2",
                "ams3": "Amsterdam 3",
                "blr1": "Bangalore",
                "fra1": "Frankfurt",
                "lon1": "London",
                "nyc1": "New York 1",
                "nyc2": "New York 2",
                "nyc3": "New York 3",
                "sfo1": "San Francisco 1",
                "sfo2": "San Francisco 2",
                "sfo3": "San Francisco 3",
                "sgp1": "Singapore",
                "tor1": "Toronto"
            },
            "sizes": {
                "s-1vcpu-1gb": {
                    "cpu": 1,
                    "ram": "1GB (Basic)",
                    "disk": "25GB",
                    "price": 5
                },
                "s-1vcpu-1gb-amd": {
                    "cpu": 1,
                    "ram": "1GB (Basic AMD)",
                    "disk": "25GB",
                    "price": 6
                },
                "s-1vcpu-1gb-intel": {
                    "cpu": 1,
                    "ram": "1GB (Basic Intel)",
                    "disk": "25GB",
                    "price": 6
                },
                "s-1vcpu-2gb": {
                    "cpu": 1,
                    "ram": "2GB (Basic)",
                    "disk": "50GB",
                    "price": 10
                },
                "s-1vcpu-2gb-amd": {
                    "cpu": 1,
                    "ram": "2GB (Basic AMD)",
                    "disk": "50GB",
                    "price": 12
                }
            }
        }
    ],
    "links": {
        "first": "https://cloud.boxydev.com/api/server-providers?page=1",
        "last": "https://cloud.boxydev.com/api/server-providers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://cloud.boxydev.com/api/server-providers",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}

Server providers VPCs

List all your server providers VPCs.

GET /api/server-provider/{id}/vpcs/{region}

Example request :

curl "https://cloud.boxydev.com/api/server-provider/1/vpcs/lon1" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

[
    {
        "id": "123-456-789",
        "name": "default-lon1"
    }
]

Storage providers

List all your storage providers.

GET /api/storage-providers

Example request :

curl "https://cloud.boxydev.com/api/storage-providers" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "data": [
        {
            "id": 1,
            "name": "Digital Ocean Spaces",
            "type": "spaces"
        }
    ],
    "links": {
        "first": "https://cloud.boxydev.com/api/storage-providers?page=1",
        "last": "https://cloud.boxydev.com/api/storage-providers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://cloud.boxydev.com/api/storage-providers",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}

Source providers

List all your source providers.

GET /api/source-providers

Example request :

curl "https://cloud.boxydev.com/api/source-providers" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "data": [
        {
            "id": 1,
            "name": "Github",
            "type": "github"
        }
    ],
    "links": {
        "first": "https://cloud.boxydev.com/api/source-providers?page=1",
        "last": "https://cloud.boxydev.com/api/source-providers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://cloud.boxydev.com/api/source-providers",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}

DNS providers

List all your dns providers.

GET /api/dns-providers

Example request :

curl "https://cloud.boxydev.com/api/dns-providers" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "data": [
        {
            "id": 1,
            "name": "Cloudflare",
            "type": "cloudflare"
        }
    ],
    "links": {
        "first": "https://cloud.boxydev.com/api/dns-providers?page=1",
        "last": "https://cloud.boxydev.com/api/dns-providers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://cloud.boxydev.com/api/dns-providers",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}

Notification channels

List all your notification channels.

GET /api/notification-channels

Example request :

curl "https://cloud.boxydev.com/api/notification-channels" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "data": [
        {
            "id": 1,
            "name": "sweet-ocean-rh4ZzfiAF3ZPi1sS",
            "type": "discord",
            "meta": {
                "webhook": "..."
            }
        }
    ],
    "links": {
        "first": "https://cloud.boxydev.com/api/notification-channels?page=1",
        "last": "https://cloud.boxydev.com/api/notification-channels?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://cloud.boxydev.com/api/notification-channels",
        "per_page": 20,
        "to": 1,
        "total": 1
    }
}