vito/public/api-docs/collection.json
Jamie Wood f483f7fdca
Add site redirects (#552)
* feat(redirects): add redirects to sites

* chore(style): fixed coding style issues

* style: fix php-stan docblocks

* style: pint cleanup

* tests: fixed redirect test suite

* feat: vhosts include additional configs

* fix: use exact location matching

* - add enums
- use queues
- use vhost rather than separate conf files
- vhost formatter
- cleanup

* generate docs

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
2025-03-31 17:30:57 +02:00

3341 lines
158 KiB
JSON

{
"variable": [
{
"id": "baseUrl",
"key": "baseUrl",
"type": "string",
"name": "string",
"value": "https:\/\/your-vito-url"
}
],
"info": {
"name": "API Documentation",
"_postman_id": "89857b10-bb5c-40a2-b503-98e891d9ebef",
"description": "VitoDeploy's API documentation.",
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
},
"item": [
{
"name": "cron-jobs",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all cron jobs."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"command\":\"sit\",\"user\":\"root\",\"frequency\":\"* * * * *\"}"
},
"description": "Create a new cron job."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "cronJob_id",
"key": "cronJob_id",
"value": "13",
"description": "The ID of the cronJob."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a cron job by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "cronJob_id",
"key": "cronJob_id",
"value": "16",
"description": "The ID of the cronJob."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete cron job."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "database-users",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all database users."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"imurray\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"raleigh.heidenreich\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"username\":\"ut\",\"password\":\"L&1)4X-w>&T=:'Y2#x\",\"host\":\"%\"}"
},
"description": "Create a new database user."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"username\":\"kbernhard\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "databaseUser_id",
"key": "databaseUser_id",
"value": "8",
"description": "The ID of the databaseUser."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a database user by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"username\":\"lavada.casper\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "link",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id\/link",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id\/link",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "databaseUser_id",
"key": "databaseUser_id",
"value": "3",
"description": "The ID of the databaseUser."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"databases\":\"laboriosam\"}"
},
"description": "Link to databases"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"username\":\"ojerde\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "databaseUser_id",
"key": "databaseUser_id",
"value": "8",
"description": "The ID of the databaseUser."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete database user."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "databases",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all databases."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"fkrajcik\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"critchie\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"esse\",\"charset\":\"ut\",\"collation\":\"labore\"}"
},
"description": "Create a new database."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"name\":\"cory33\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases\/:id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "id",
"key": "id",
"value": "9",
"description": "The ID of the database."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a database by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"name\":\"walter.jacey\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases\/:database_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases\/:database_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "database_id",
"key": "database_id",
"value": "16",
"description": "The ID of the database."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete database."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "firewall-rules",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all firewall rules."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"name\":\"optio\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":52674,\"source\":\"142.10.115.135\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"name\":\"dolores\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":34607,\"source\":\"20.175.64.76\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"voluptas\",\"type\":\"deny\",\"protocol\":\"udp\",\"port\":\"qui\",\"source\":\"amet\",\"mask\":\"0\"}"
},
"description": "Create a new firewall rule."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"name\":\"molestiae\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":26783,\"source\":\"190.202.255.27\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "edit",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "firewallRule_id",
"key": "firewallRule_id",
"value": "85",
"description": "The ID of the firewallRule."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"et\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"rerum\",\"source\":\"sed\",\"mask\":\"0\"}"
},
"description": "Update an existing firewall rule."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"name\":\"labore\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":29044,\"source\":\"113.132.217.224\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "firewallRule_id",
"key": "firewallRule_id",
"value": "85",
"description": "The ID of the firewallRule."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a firewall rule by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"name\":\"ipsa\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":50679,\"source\":\"42.114.67.31\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "firewallRule_id",
"key": "firewallRule_id",
"value": "85",
"description": "The ID of the firewallRule."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete firewall rule."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "general",
"description": "",
"item": [
{
"name": "health-check",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/health",
"query": [],
"raw": "{{baseUrl}}\/api\/health"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "",
"auth": {
"type": "noauth"
}
},
"response": [
{
"header": [
{
"key": "cache-control",
"value": "no-cache, private"
},
{
"key": "content-type",
"value": "application\/json"
},
{
"key": "x-ratelimit-limit",
"value": "60"
},
{
"key": "x-ratelimit-remaining",
"value": "58"
},
{
"key": "access-control-allow-origin",
"value": "*"
}
],
"code": 200,
"body": "{\"success\":true,\"version\":\"2.4.0\"}",
"name": ""
}
]
}
]
},
{
"name": "projects",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects",
"query": [],
"raw": "{{baseUrl}}\/api\/projects"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all projects."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":3,\"name\":\"Kattie Haley\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":4,\"name\":\"Kailyn Kiehn\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects",
"query": [],
"raw": "{{baseUrl}}\/api\/projects"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"excepturi\"}"
},
"description": "Create a new project."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"name\":\"Dayne White\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:id",
"variable": [
{
"id": "id",
"key": "id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a project by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"name\":\"Cheyenne Ankunding III\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "update",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:id",
"variable": [
{
"id": "id",
"key": "id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"mollitia\"}"
},
"description": "Update project."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"name\":\"Susanna Stark\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete project."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "redirects",
"description": "",
"item": [
{
"name": "index",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "11",
"description": "The ID of the site."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all redirects."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"site_id\":null,\"mode\":301,\"from\":\"error\",\"to\":\"https:\\\/\\\/www.pfannerstill.com\\\/facere-est-totam-laudantium-in-illo-sequi\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"site_id\":null,\"mode\":301,\"from\":\"repellat\",\"to\":\"http:\\\/\\\/gislason.biz\\\/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "11",
"description": "The ID of the site."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"from\":\"vel\",\"to\":\"ea\",\"mode\":307}"
},
"description": "Create a new redirect."
},
"response": [
{
"header": [],
"code": 200,
"body": null,
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects\/:redirect_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/redirects\/:redirect_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "11",
"description": "The ID of the site."
},
{
"id": "redirect_id",
"key": "redirect_id",
"value": "9",
"description": "The ID of the redirect."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete a redirect."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "server-providers",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/server-providers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"id\",\"provider\":\"custom\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"culpa\",\"provider\":\"linode\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/server-providers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"provider\":\"mollitia\",\"name\":\"adipisci\",\"token\":\"animi\",\"key\":\"provident\",\"secret\":\"deserunt\"}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"vultr\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "serverProvider_id",
"key": "serverProvider_id",
"value": "1",
"description": "The ID of the serverProvider."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"ab\",\"provider\":\"digitalocean\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "update",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "serverProvider_id",
"key": "serverProvider_id",
"value": "1",
"description": "The ID of the serverProvider."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"eveniet\",\"global\":false}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"expedita\",\"provider\":\"aws\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "serverProvider_id",
"key": "serverProvider_id",
"value": "1",
"description": "The ID of the serverProvider."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "servers",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all servers in a project."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Consuelo Connelly\",\"ssh_user\":\"vito\",\"ip\":\"80.154.83.232\",\"local_ip\":\"45.31.117.65\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Rodolfo Fadel\",\"ssh_user\":\"vito\",\"ip\":\"103.227.79.93\",\"local_ip\":\"33.49.217.56\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"provider\":\"incidunt\",\"server_provider\":\"hetzner\",\"region\":\"ut\",\"plan\":\"ullam\",\"ip\":\"architecto\",\"port\":\"praesentium\",\"name\":\"facere\",\"os\":\"illo\",\"webserver\":\"none\",\"database\":\"none\",\"php\":\"8.1\"}"
},
"description": "Create a new server."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Herbert VonRueden\",\"ssh_user\":\"vito\",\"ip\":\"91.154.105.143\",\"local_ip\":\"62.75.177.7\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "id",
"key": "id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a server by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Connie Simonis\",\"ssh_user\":\"vito\",\"ip\":\"202.119.26.253\",\"local_ip\":\"112.75.79.203\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "reboot",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/reboot",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/reboot",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Reboot a server."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "upgrade",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/upgrade",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/upgrade",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Upgrade server."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete server."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "services",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all services."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "id",
"key": "id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a service by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "start",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/start",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/start",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Start service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "stop",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/stop",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/stop",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Stop service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "restart",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/restart",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/restart",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Restart service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "enable",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/enable",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/enable",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Enable service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "disable",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/disable",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/disable",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Disable service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "service_id",
"key": "service_id",
"value": "169",
"description": "The ID of the service."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete service."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "sites",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all sites."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"type\":\"phpmyadmin\",\"domain\":\"tenetur\",\"aliases\":[\"aut\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"quasi\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"deleniti\",\"method\":\"round-robin\"}"
},
"description": "Create a new site."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "id",
"key": "id",
"value": "12",
"description": "The ID of the site."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get a site by ID."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "9",
"description": "The ID of the site."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete site."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "load-balancer",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/load-balancer",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/load-balancer",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "19",
"description": "The ID of the site."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"method\":\"ip-hash\",\"servers\":[\"dolores\"]}"
},
"description": "Update load balancer."
},
"response": [
{
"header": [],
"code": 200,
"body": null,
"name": ""
}
]
},
{
"name": "aliases",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/aliases",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/aliases",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "16",
"description": "The ID of the site."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"aliases\":[\"aut\"]}"
},
"description": "Update aliases."
},
"response": [
{
"header": [],
"code": 200,
"body": null,
"name": ""
}
]
},
{
"name": "deployment-script",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "3",
"description": "The ID of the site."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"script\":\"qui\"}"
},
"description": "Update site deployment script"
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
},
{
"name": "deployment-script",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "site_id",
"key": "site_id",
"value": "16",
"description": "The ID of the site."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get site deployment script content"
},
"response": [
{
"header": [],
"code": 200,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "source-controls",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/source-controls",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Emil Leannon\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Eleazar Pacocha Sr.\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/source-controls",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"provider\":\"github\",\"name\":\"aliquam\",\"token\":\"voluptatem\",\"url\":\"https:\\\/\\\/brown.org\\\/placeat-optio-illum-eius-ipsa.html\",\"username\":\"a\",\"password\":\"_\\\/_,9'\\\/6z;9\"}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Ahmad Kulas\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "sourceControl_id",
"key": "sourceControl_id",
"value": "1",
"description": "The ID of the sourceControl."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mr. Marquis Kunde IV\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "update",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "sourceControl_id",
"key": "sourceControl_id",
"value": "1",
"description": "The ID of the sourceControl."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"laudantium\",\"token\":\"nulla\",\"url\":\"http:\\\/\\\/wiza.com\\\/\",\"username\":\"numquam\",\"password\":\"MlD,$m:8^A\",\"global\":false}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mrs. Arvilla Mitchell\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls\/:sourceControl_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "sourceControl_id",
"key": "sourceControl_id",
"value": "1",
"description": "The ID of the sourceControl."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "ssh-keys",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get all ssh keys."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Dr. Pansy Kunde DVM\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Ms. Maximillia DuBuque Sr.\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"key_id\":\"debitis\",\"name\":\"illum\",\"public_key\":\"dignissimos\"}"
},
"description": "Deploy ssh key to server."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":null,\"user\":null,\"name\":\"Uriah Harvey\",\"created_at\":null,\"updated_at\":null}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys\/:sshKey_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys\/:sshKey_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "server_id",
"key": "server_id",
"value": "29",
"description": "The ID of the server."
},
{
"id": "sshKey_id",
"key": "sshKey_id",
"value": "1",
"description": "The ID of the sshKey."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Delete ssh key from server."
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
},
{
"name": "storage-providers",
"description": "",
"item": [
{
"name": "list",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/storage-providers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"autem\",\"provider\":\"s3\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"nihil\",\"provider\":\"ftp\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
"name": ""
}
]
},
{
"name": "create",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/storage-providers",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"provider\":\"est\",\"name\":\"voluptatem\",\"token\":\"delectus\",\"key\":\"natus\",\"secret\":\"saepe\"}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"omnis\",\"provider\":\"local\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "show",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "storageProvider_id",
"key": "storageProvider_id",
"value": "3",
"description": "The ID of the storageProvider."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"molestiae\",\"provider\":\"dropbox\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "update",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "storageProvider_id",
"key": "storageProvider_id",
"value": "3",
"description": "The ID of the storageProvider."
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"exercitationem\",\"global\":true}"
},
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"dolorum\",\"provider\":\"s3\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}",
"name": ""
}
]
},
{
"name": "delete",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"query": [],
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
"variable": [
{
"id": "project_id",
"key": "project_id",
"value": "1",
"description": "The ID of the project."
},
{
"id": "storageProvider_id",
"key": "storageProvider_id",
"value": "3",
"description": "The ID of the storageProvider."
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 204,
"body": null,
"name": ""
}
]
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "key",
"type": "string"
}
]
}
}