Documentation generated
at 04.02.2023 23:29:05

Endpoints

client/plesk/licenses/assign
POST client/plesk/licenses/assign
curl -X POST \
-G 'https://api.pph.sh/client/plesk/licenses/assign' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
client/hosting/{hosting_id}/ddos
GET client/hosting/:hosting_id/ddos
curl -X GET \
-G 'https://api.pph.sh/client/hosting/<hosting_id>/ddos' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": [],
    "links": {
        "first": "https:\/\/fsn-01.api.pph.sh\/client\/hosting\/41986\/ddos?page=1",
        "last": "https:\/\/fsn-01.api.pph.sh\/client\/hosting\/41986\/ddos?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": null,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https:\/\/fsn-01.api.pph.sh\/client\/hosting\/41986\/ddos?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https:\/\/fsn-01.api.pph.sh\/client\/hosting\/41986\/ddos",
        "per_page": 15,
        "to": null,
        "total": 0
    },
    "minutes_sum": 0,
    "ongoing": false
}
client/hostings/{hosting_id}/server/security
GET client/hostings/:hosting_id/server/security
curl -X GET \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/server/security' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": []
}
client/hostings/{hosting_id}/server/security
POST client/hostings/:hosting_id/server/security
curl -X POST \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/server/security' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
public/stats/tickets
GET public/stats/tickets
curl -X GET \
-G 'https://api.pph.sh/public/stats/tickets' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "tickets": 441,
        "first": {
            "min": 0.55,
            "max": 2726,
            "average": 4,
            "unit": "minutes"
        },
        "last": {
            "min": 0.55,
            "max": 9894.566666666668,
            "average": 13,
            "unit": "minutes"
        },
        "text": {
            "per_day": "14 Tickets pro Tag",
            "first_answer": "70% in unter 10 Min.",
            "resolve_time": "13 Minuten nach Er\u00f6ffnung des Tickets",
            "start": "02.01.2023",
            "end": "02.02.2023"
        },
        "date": "2023-02-02 00:16:44",
        "previous": {
            "text": {
                "per_day": "12 Tickets pro Tag",
                "first_answer": "58% in unter 10 Min.",
                "resolve_time": "24 Minuten nach Er\u00f6ffnung des Tickets",
                "start": "02.12.2022",
                "end": "02.01.2023"
            }
        }
    }
}
client/hostings/{hostingId}/virtual-server/capture
GET client/hostings/:hostingId/virtual-server/capture
curl -X GET \
-G 'https://api.pph.sh/client/hostings/<hostingId>/virtual-server/capture' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "error": true,
        "type": "HttpException",
        "url": "https:\/\/fsn-01.api.pph.sh\/client\/hostings\/41986\/virtual-server\/capture",
        "code": 401,
        "message": "Unauthorized"
    }
}
public/advertising/faq
GET public/advertising/faq
curl -X GET \
-G 'https://api.pph.sh/public/advertising/faq' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": []
}
public/advertising/web
GET public/advertising/web
curl -X GET \
-G 'https://api.pph.sh/public/advertising/web' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": []
}
client/paypal/subscription
GET client/paypal/subscription
curl -X GET \
-G 'https://api.pph.sh/client/paypal/subscription' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "error": true,
        "type": "HttpException",
        "url": "https:\/\/fsn-01.api.pph.sh\/client\/paypal\/subscription",
        "code": 401,
        "message": "Unauthorized"
    }
}
client/paypal/subscriptions
GET client/paypal/subscriptions
curl -X GET \
-G 'https://api.pph.sh/client/paypal/subscriptions' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "error": true,
        "type": "HttpException",
        "url": "https:\/\/fsn-01.api.pph.sh\/client\/paypal\/subscriptions",
        "code": 401,
        "message": "Unauthorized"
    }
}
client/pro
GET client/pro
curl -X GET \
-G 'https://api.pph.sh/client/pro' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "credit": 5.02,
        "status": false,
        "category": "none",
        "pro": [],
        "available_packages": [
            "pro",
            "pro_lite"
        ]
    }
}
client/pro/activate
POST client/pro/activate
curl -X POST \
-G 'https://api.pph.sh/client/pro/activate' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
public/product/{pid}/min-price
GET public/product/:pid/min-price
curl -X GET \
-G 'https://api.pph.sh/public/product/<pid>/min-price' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "min": 0
}
client/hostings/{hosting_id}/auto-update
GET client/hostings/:hosting_id/auto-update
curl -X GET \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/auto-update' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "credit": 5.02,
        "enabled": false,
        "can_be_enabled": false,
        "can_run_now": false,
        "auto_update": null,
        "last_performed_update": null,
        "last_check": null
    }
}
client/hostings/{hosting_id}/auto-update/activate
POST client/hostings/:hosting_id/auto-update/activate
curl -X POST \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/auto-update/activate' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
client/hostings/{hosting_id}/auto-update/deactivate
POST client/hostings/:hosting_id/auto-update/deactivate
curl -X POST \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/auto-update/deactivate' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
client/hostings/{hosting_id}/auto-update/run
POST client/hostings/:hosting_id/auto-update/run
curl -X POST \
-G 'https://api.pph.sh/client/hostings/<hosting_id>/auto-update/run' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
public/contact/cancellation
POST public/contact/cancellation
curl -X POST \
-G 'https://api.pph.sh/public/contact/cancellation' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
public/contact/channel/{channel}
GET public/contact/channel/:channel
curl -X GET \
-G 'https://api.pph.sh/public/contact/channel/<channel>' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
public/virtualizor/backup/servers
GET public/virtualizor/backup/servers
curl -X GET \
-G 'https://api.pph.sh/public/virtualizor/backup/servers' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": [
        {
            "bsid": 8,
            "country": "FIN"
        },
        {
            "bsid": 9,
            "country": "DE",
            "default": true
        }
    ]
}
public/now
GET public/now
curl -X GET \
-G 'https://api.pph.sh/public/now' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "now": "2023-02-02T22:38:33.613177Z",
    "format": "2023-02-02 23:38:33"
}