Ploi API
Ploi API

Get webserver template

Show a webserver template from your account

GET api/webserver-templates/{id}

Example request

curl -X GET "https://ploi.io/api/webserver-templates/{id}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "label": "Magento webserver",
        "content": "...",
        "created_at": "2020-10-26 10:03:51"
    }
}