Ploi API
Ploi API

Install Nextcloud

Install Nextcloud system on this domain

POST api/servers/{server}/sites/{id}/nextcloud

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/sites/{id}/nextcloud" \
-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": 90,
        "domain": "domain.com",
        "web_directory": "/public",
        "wordpress": false,
        "laravel": false,
        "project_root": "/",
        "last_deploy_at": "2018-09-14 20:43:11",
        "created_at": "2018-09-14 11:40:01"
    }
}