Show environment file.
GET /api/site/{id}/environment
Example request :
curl "https://cloud.boxydev.com/api/site/1/environment" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"
Update environment file.
PUT /api/site/{id}/environment
Parameters :
Parameter | Description |
---|---|
content | The configuration content. |
Example request :
curl -X PUT "https://cloud.boxydev.com/api/site/1/environment" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"content": "fiofio"
}'
Show site configuration.
GET /api/site/{id}/configuration
Example request :
curl "https://cloud.boxydev.com/api/site/1/configuration" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"
Update site configuration.
PUT /api/site/{id}/configuration
Parameters :
Parameter | Description |
---|---|
content | The configuration content. |
Example request :
curl -X PUT "https://cloud.boxydev.com/api/site/1/configuration" \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"content": "fiofio"
}'