mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
3753 lines
176 KiB
JSON
3753 lines
176 KiB
JSON
{
|
|
"variable": [
|
|
{
|
|
"id": "baseUrl",
|
|
"key": "baseUrl",
|
|
"type": "string",
|
|
"name": "string",
|
|
"value": "https:\/\/vito.test"
|
|
}
|
|
],
|
|
"info": {
|
|
"name": "API Documentation",
|
|
"_postman_id": "9dd8cf1c-f615-4407-91d9-1a341f0e0721",
|
|
"description": "VitoDeploy's API documentation.",
|
|
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Endpoints",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "POST api\/servers\/{server_id}\/agent\/{id}",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/servers\/:server_id\/agent\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/servers\/:server_id\/agent\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "architecto",
|
|
"description": "The ID of the agent."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"load\":4326.41688,\"memory_total\":4326.41688,\"memory_used\":4326.41688,\"memory_free\":4326.41688,\"disk_total\":4326.41688,\"disk_used\":4326.41688,\"disk_free\":4326.41688}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "GET api\/git-hooks",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/git-hooks",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/git-hooks"
|
|
},
|
|
"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": "57"
|
|
},
|
|
{
|
|
"key": "access-control-allow-origin",
|
|
"value": "*"
|
|
}
|
|
],
|
|
"code": 404,
|
|
"body": "{\n \"message\": \"\"\n}",
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":3,\"server_id\":1,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":4,\"server_id\":1,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"user\":\"vito\",\"frequency\":\"* * * * *\"}"
|
|
},
|
|
"description": "Create a new cron job.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"server_id\":1,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "cronJob_id",
|
|
"key": "cronJob_id",
|
|
"value": "1",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"server_id\":1,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "cronJob_id",
|
|
"key": "cronJob_id",
|
|
"value": "1",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":4,\"server_id\":1,\"username\":\"cartwright.maxine\",\"databases\":[],\"host\":\"%\",\"status\":\"creating\",\"status_color\":\"warning\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":5,\"server_id\":1,\"username\":\"gusikowski.eden\",\"databases\":[],\"host\":\"%\",\"status\":\"creating\",\"status_color\":\"warning\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"password\":\"|]|{+-\",\"host\":\"%\"}"
|
|
},
|
|
"description": "Create a new database user.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"server_id\":1,\"username\":\"justina.gaylord\",\"databases\":[],\"host\":\"%\",\"status\":\"creating\",\"status_color\":\"warning\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "16",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"server_id\":1,\"username\":\"zbailey\",\"databases\":[],\"host\":\"%\",\"status\":\"creating\",\"status_color\":\"warning\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "16",
|
|
"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\":\"architecto\"}"
|
|
},
|
|
"description": "Link to databases",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"server_id\":1,\"username\":\"zbailey\",\"databases\":[],\"host\":\"%\",\"status\":\"creating\",\"status_color\":\"warning\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "16",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":9,\"server_id\":1,\"name\":\"zbailey\",\"collation\":null,\"charset\":null,\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":10,\"server_id\":1,\"name\":\"rempel.chadrick\",\"collation\":null,\"charset\":null,\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"charset\":\"architecto\",\"collation\":\"architecto\"}"
|
|
},
|
|
"description": "Create a new database.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":9,\"server_id\":1,\"name\":\"zbailey\",\"collation\":null,\"charset\":null,\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":9,\"server_id\":1,\"name\":\"rempel.chadrick\",\"collation\":null,\"charset\":null,\"status\":\"ready\",\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":22,\"name\":\"eius\",\"server_id\":1,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":9322,\"source\":\"113.14.236.204\",\"mask\":\"24\",\"note\":\"test\",\"status\":\"creating\",\"status_color\":\"info\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":23,\"name\":\"velit\",\"server_id\":1,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":2983,\"source\":\"199.172.126.144\",\"mask\":\"24\",\"note\":\"test\",\"status\":\"creating\",\"status_color\":\"info\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"architecto\",\"source\":\"architecto\",\"mask\":\"0\"}"
|
|
},
|
|
"description": "Create a new firewall rule.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":22,\"name\":\"eius\",\"server_id\":1,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":9322,\"source\":\"113.14.236.204\",\"mask\":\"24\",\"note\":\"test\",\"status\":\"creating\",\"status_color\":\"info\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "firewallRule_id",
|
|
"key": "firewallRule_id",
|
|
"value": "19",
|
|
"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\":\"architecto\",\"type\":\"deny\",\"protocol\":\"udp\",\"port\":\"architecto\",\"source\":\"architecto\",\"mask\":\"0\"}"
|
|
},
|
|
"description": "Update an existing firewall rule.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":22,\"name\":\"eius\",\"server_id\":1,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":9322,\"source\":\"113.14.236.204\",\"mask\":\"24\",\"note\":\"test\",\"status\":\"creating\",\"status_color\":\"info\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "firewallRule_id",
|
|
"key": "firewallRule_id",
|
|
"value": "19",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":22,\"name\":\"velit\",\"server_id\":1,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":2983,\"source\":\"199.172.126.144\",\"mask\":\"24\",\"note\":\"test\",\"status\":\"creating\",\"status_color\":\"info\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "firewallRule_id",
|
|
"key": "firewallRule_id",
|
|
"value": "19",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "56"
|
|
},
|
|
{
|
|
"key": "access-control-allow-origin",
|
|
"value": "*"
|
|
}
|
|
],
|
|
"code": 200,
|
|
"body": "{\"success\":true,\"version\":\"2.5.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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":3,\"name\":\"Belle Dickens\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":4,\"name\":\"Mittie Considine\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\"}"
|
|
},
|
|
"description": "Create a new project.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Ms. Elisabeth Okuneva\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Aleen O'Kon\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\"}"
|
|
},
|
|
"description": "Update project.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Ms. Elisabeth Okuneva\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "redirects",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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\":\"architecto\",\"to\":\"architecto\",\"mode\":307}"
|
|
},
|
|
"description": "Create a new redirect.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"description": "The ID of the site."
|
|
},
|
|
{
|
|
"id": "redirect_id",
|
|
"key": "redirect_id",
|
|
"value": "2",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"ab\",\"provider\":\"custom\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"incidunt\",\"provider\":\"custom\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\",\"name\":\"architecto\",\"token\":\"architecto\",\"key\":\"architecto\",\"secret\":\"architecto\"}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"eius\",\"provider\":\"custom\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "3",
|
|
"description": "The ID of the serverProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"mollitia\",\"provider\":\"vultr\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "3",
|
|
"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\":\"architecto\",\"global\":false}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"eius\",\"provider\":\"custom\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "3",
|
|
"description": "The ID of the serverProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":7,\"project_id\":1,\"services\":[],\"user_id\":1,\"provider_id\":null,\"name\":\"Rhiannon Hackett\",\"ssh_user\":\"vito\",\"ssh_users\":[\"root\",\"vito\"],\"ip\":\"15.21.182.27\",\"local_ip\":\"15.126.47.30\",\"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\":0,\"last_update_check\":null,\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":8,\"project_id\":1,\"services\":[],\"user_id\":1,\"provider_id\":null,\"name\":\"Maya Bins\",\"ssh_user\":\"vito\",\"ssh_users\":[\"root\",\"vito\"],\"ip\":\"88.63.32.129\",\"local_ip\":\"161.58.4.234\",\"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\":0,\"last_update_check\":null,\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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\":\"architecto\",\"server_provider\":\"linode\",\"region\":\"architecto\",\"plan\":\"architecto\",\"ip\":\"architecto\",\"port\":\"architecto\",\"name\":\"architecto\",\"os\":\"architecto\",\"webserver\":\"none\",\"database\":\"mysql80\",\"php\":\"8.2\"}"
|
|
},
|
|
"description": "Create a new server.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":7,\"project_id\":1,\"services\":[],\"user_id\":1,\"provider_id\":null,\"name\":\"Ms. Elisabeth Okuneva\",\"ssh_user\":\"vito\",\"ssh_users\":[\"root\",\"vito\"],\"ip\":\"75.13.66.152\",\"local_ip\":\"199.172.126.144\",\"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\":0,\"last_update_check\":null,\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":7,\"project_id\":1,\"services\":[],\"user_id\":1,\"provider_id\":null,\"name\":\"Belle Dickens\",\"ssh_user\":\"vito\",\"ssh_users\":[\"root\",\"vito\"],\"ip\":\"51.210.32.30\",\"local_ip\":\"82.174.132.158\",\"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\":0,\"last_update_check\":null,\"status_color\":\"success\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":1,\"type\":\"webserver\",\"type_data\":null,\"name\":\"nginx\",\"version\":null,\"unit\":null,\"status\":\"ready\",\"status_color\":\"success\",\"icon\":\"\",\"is_default\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":1,\"type\":\"webserver\",\"type_data\":null,\"name\":\"nginx\",\"version\":null,\"unit\":null,\"status\":\"ready\",\"status_color\":\"success\",\"icon\":\"\",\"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":1,\"type\":\"webserver\",\"type_data\":null,\"name\":\"nginx\",\"version\":null,\"unit\":null,\"status\":\"ready\",\"status_color\":\"success\",\"icon\":\"\",\"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "22",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":15,\"server_id\":1,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"features\":[\"deployment\",\"commands\",\"env\",\"ssl\",\"workers\"],\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"status_color\":\"success\",\"auto_deploy\":false,\"port\":null,\"user\":\"vito\",\"url\":\"http:\\\/\\\/test.com\",\"force_ssl\":false,\"progress\":100,\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":16,\"server_id\":1,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"features\":[\"deployment\",\"commands\",\"env\",\"ssl\",\"workers\"],\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"status_color\":\"success\",\"auto_deploy\":false,\"port\":null,\"user\":\"vito\",\"url\":\"http:\\\/\\\/test.com\",\"force_ssl\":false,\"progress\":100,\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"aliases\":[\"architecto\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"architecto\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"architecto\",\"method\":\"round-robin\"}"
|
|
},
|
|
"description": "Create a new site.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":15,\"server_id\":1,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"features\":[\"deployment\",\"commands\",\"env\",\"ssl\",\"workers\"],\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"status_color\":\"success\",\"auto_deploy\":false,\"port\":null,\"user\":\"vito\",\"url\":\"http:\\\/\\\/test.com\",\"force_ssl\":false,\"progress\":100,\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "14",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":15,\"server_id\":1,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"features\":[\"deployment\",\"commands\",\"env\",\"ssl\",\"workers\"],\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"status_color\":\"success\",\"auto_deploy\":false,\"port\":null,\"user\":\"vito\",\"url\":\"http:\\\/\\\/test.com\",\"force_ssl\":false,\"progress\":100,\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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\":[\"architecto\"]}"
|
|
},
|
|
"description": "Update load balancer.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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\":[\"architecto\"]}"
|
|
},
|
|
"description": "Update aliases.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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\":\"architecto\"}"
|
|
},
|
|
"description": "Update site deployment script",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "14",
|
|
"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\":\"architecto\"}"
|
|
},
|
|
"description": "Update site .env file",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"Ms. Elisabeth Okuneva\",\"provider\":\"github\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"Aleen O'Kon\",\"provider\":\"github\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\",\"token\":\"architecto\",\"url\":\"http:\\\/\\\/www.bailey.biz\\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\",\"username\":\"architecto\",\"password\":\"|]|{+-\"}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"Mrs. Justina Gaylord\",\"provider\":\"github\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"Misael Runte\",\"provider\":\"github\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\",\"token\":\"architecto\",\"url\":\"http:\\\/\\\/www.bailey.biz\\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\",\"username\":\"architecto\",\"password\":\"|]|{+-\",\"global\":false}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"Mrs. Justina Gaylord\",\"provider\":\"github\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":3,\"name\":\"Haven Romaguera\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":4,\"name\":\"Viva Marquardt\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\/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": "6",
|
|
"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\":\"architecto\",\"name\":\"architecto\",\"public_key\":\"architecto\"}"
|
|
},
|
|
"description": "Deploy ssh key to server.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Ms. Elisabeth Okuneva\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"}",
|
|
"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": "6",
|
|
"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.",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"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": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"harum\",\"provider\":\"local\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.000000Z\"},{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"commodi\",\"provider\":\"local\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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\":\"architecto\",\"name\":\"architecto\",\"token\":\"architecto\",\"key\":\"architecto\",\"secret\":\"architecto\"}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"eius\",\"provider\":\"local\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "1",
|
|
"description": "The ID of the storageProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"dropbox\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "1",
|
|
"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\":\"architecto\",\"global\":true}"
|
|
},
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"eius\",\"provider\":\"local\",\"created_at\":\"2025-06-10T10:21:56.000000Z\",\"updated_at\":\"2025-06-10T10:21:56.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": "1",
|
|
"description": "The ID of the storageProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
} |