mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-23 03:32:19 +00:00
* feat(api): Add endpoint for reading site .env file - Add GET /api/projects/{project}/servers/{server}/sites/{site}/env endpoint - Add feature tests with SSH mocking * added updating env * fix coding style * generate docs --------- Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
3500 lines
165 KiB
JSON
3500 lines
165 KiB
JSON
{
|
|
"variable": [
|
|
{
|
|
"id": "baseUrl",
|
|
"key": "baseUrl",
|
|
"type": "string",
|
|
"name": "string",
|
|
"value": "https:\/\/your-vito-url"
|
|
}
|
|
],
|
|
"info": {
|
|
"name": "API Documentation",
|
|
"_postman_id": "bda1e04e-cc4f-4eae-9beb-dba7c9287038",
|
|
"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"quia\",\"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": "6",
|
|
"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": "13",
|
|
"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\":\"letha64\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"hagenes.lurline\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"qui\",\"password\":\"xYv*3,#HQ=5<w!\",\"host\":\"%\"}"
|
|
},
|
|
"description": "Create a new database user."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"username\":\"marcelle95\",\"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": "1",
|
|
"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\":\"brandi53\",\"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": "4",
|
|
"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\":\"maiores\"}"
|
|
},
|
|
"description": "Link to databases"
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"username\":\"kschmidt\",\"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": "20",
|
|
"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\":\"leffler.esther\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"rhoda.rutherford\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"quisquam\",\"charset\":\"omnis\",\"collation\":\"at\"}"
|
|
},
|
|
"description": "Create a new database."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"name\":\"csawayn\",\"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": "8",
|
|
"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\":\"sandrine43\",\"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": "8",
|
|
"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\":\"ut\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":35499,\"source\":\"177.130.54.250\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"name\":\"totam\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":29448,\"source\":\"181.194.26.13\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"sapiente\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"et\",\"source\":\"doloribus\",\"mask\":\"0\"}"
|
|
},
|
|
"description": "Create a new firewall rule."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"name\":\"omnis\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":54634,\"source\":\"246.242.9.65\",\"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\":\"aut\",\"source\":\"et\",\"mask\":\"0\"}"
|
|
},
|
|
"description": "Update an existing firewall rule."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"name\":\"consequatur\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":879,\"source\":\"206.106.27.116\",\"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\":\"dolores\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":4691,\"source\":\"147.108.28.144\",\"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": "59"
|
|
},
|
|
{
|
|
"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\":\"Mr. Drake Nader\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.000000Z\"},{\"id\":4,\"name\":\"Wilhelmine Jacobson\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"dignissimos\"}"
|
|
},
|
|
"description": "Create a new project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Pattie Cole\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"Mr. Elias Bauch\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"sunt\"}"
|
|
},
|
|
"description": "Update project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Elfrieda Jakubowski\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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": "44",
|
|
"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\":307,\"from\":\"ipsum\",\"to\":\"http:\\\/\\\/fritsch.biz\\\/\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"site_id\":null,\"mode\":302,\"from\":\"culpa\",\"to\":\"http:\\\/\\\/www.huels.net\\\/aut-ut-ut-porro-non-rerum-voluptatum.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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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": "44",
|
|
"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\":\"odit\",\"to\":\"incidunt\",\"mode\":301}"
|
|
},
|
|
"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": "44",
|
|
"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\":\"aut\",\"provider\":\"hetzner\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.000000Z\"},{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"qui\",\"provider\":\"aws\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"corrupti\",\"name\":\"est\",\"token\":\"rerum\",\"key\":\"ut\",\"secret\":\"sed\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"voluptas\",\"provider\":\"vultr\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"et\",\"provider\":\"digitalocean\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"earum\",\"global\":false}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"architecto\",\"provider\":\"digitalocean\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"Miss Bonita Vandervort IV\",\"ssh_user\":\"vito\",\"ip\":\"120.222.195.212\",\"local_ip\":\"138.119.37.248\",\"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\":\"Dr. Shanie Batz IV\",\"ssh_user\":\"vito\",\"ip\":\"241.88.138.163\",\"local_ip\":\"138.226.232.93\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"fugiat\",\"server_provider\":\"digitalocean\",\"region\":\"itaque\",\"plan\":\"voluptatum\",\"ip\":\"ut\",\"port\":\"reiciendis\",\"name\":\"et\",\"os\":\"vel\",\"webserver\":\"nginx\",\"database\":\"mysql80\",\"php\":\"7.2\"}"
|
|
},
|
|
"description": "Create a new server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Jeromy Mann\",\"ssh_user\":\"vito\",\"ip\":\"128.70.209.89\",\"local_ip\":\"150.217.250.187\",\"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\":\"Miss Maya Schaden I\",\"ssh_user\":\"vito\",\"ip\":\"44.57.83.39\",\"local_ip\":\"46.22.92.58\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"php-blank\",\"domain\":\"impedit\",\"aliases\":[\"cum\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"non\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"voluptate\",\"method\":\"ip-hash\"}"
|
|
},
|
|
"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": "44",
|
|
"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": "44",
|
|
"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": "44",
|
|
"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\":\"round-robin\",\"servers\":[\"omnis\"]}"
|
|
},
|
|
"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": "44",
|
|
"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\":[\"doloremque\"]}"
|
|
},
|
|
"description": "Update aliases."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "deploy",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deploy",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deploy",
|
|
"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": "44",
|
|
"description": "The ID of the site."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Run site deployment script"
|
|
},
|
|
"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": "44",
|
|
"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\":\"voluptatem\"}"
|
|
},
|
|
"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": "44",
|
|
"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": "env",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/env",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/env",
|
|
"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": "44",
|
|
"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 .env file content"
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":{\"env\":\"APP_NAME=Laravel\\\\nAPP_ENV=production\"}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "env",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/env",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/env",
|
|
"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": "44",
|
|
"description": "The ID of the site."
|
|
}
|
|
]
|
|
},
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"env\":\"quam\"}"
|
|
},
|
|
"description": "Update site .env file"
|
|
},
|
|
"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\":\"Zella Robel\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Jairo Williamson\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"gitlab\",\"name\":\"molestias\",\"token\":\"in\",\"url\":\"https:\\\/\\\/www.white.com\\\/aperiam-dolor-nemo-qui-rerum-quod-quas\",\"username\":\"consectetur\",\"password\":\"y*P4_]ZdjE_:\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Miss Claudine Goyette\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"Mona Stark\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"non\",\"token\":\"sunt\",\"url\":\"https:\\\/\\\/www.frami.org\\\/ex-at-minus-rerum-quo-minus-ea\",\"username\":\"natus\",\"password\":\"A^\\\">*m{p]DI\",\"global\":true}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Neha Little\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"Santa Goyette\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Cecil Cummings\",\"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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"explicabo\",\"name\":\"deleniti\",\"public_key\":\"sapiente\"}"
|
|
},
|
|
"description": "Deploy ssh key to server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"user\":null,\"name\":\"Mr. Reagan Jacobson V\",\"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\":\"veritatis\",\"provider\":\"ftp\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"voluptas\",\"provider\":\"dropbox\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"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\":\"ab\",\"name\":\"quo\",\"token\":\"in\",\"key\":\"sunt\",\"secret\":\"molestias\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"asperiores\",\"provider\":\"dropbox\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"ipsum\",\"provider\":\"local\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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\":\"voluptas\",\"global\":true}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"minima\",\"provider\":\"ftp\",\"created_at\":\"2025-04-05T17:48:03.000000Z\",\"updated_at\":\"2025-04-05T17:48:03.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"
|
|
}
|
|
]
|
|
}
|
|
} |