mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-23 03:32:19 +00:00
2953 lines
139 KiB
JSON
2953 lines
139 KiB
JSON
{
|
|
"variable": [
|
|
{
|
|
"id": "baseUrl",
|
|
"key": "baseUrl",
|
|
"type": "string",
|
|
"name": "string",
|
|
"value": "https:\/\/your-vito-url"
|
|
}
|
|
],
|
|
"info": {
|
|
"name": "API Documentation",
|
|
"_postman_id": "c9ba8a9b-023e-481f-a881-1f6cbf138017",
|
|
"description": "VitoDeploy's API documentation.",
|
|
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "cron-jobs",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all cron jobs."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\":\"itaque\",\"user\":\"root\",\"frequency\":\"* * * * *\"}"
|
|
},
|
|
"description": "Create a new cron job."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "cronJob_id",
|
|
"key": "cronJob_id",
|
|
"value": "18",
|
|
"description": "The ID of the cronJob."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a cron job by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"command\":\"ls -la\",\"user\":\"root\",\"frequency\":\"* * * * *\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/cron-jobs\/:cronJob_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "cronJob_id",
|
|
"key": "cronJob_id",
|
|
"value": "10",
|
|
"description": "The ID of the cronJob."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete cron job."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "database-users",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all database users."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"xgaylord\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"una37\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\":\"consequuntur\",\"password\":\"fI\\\/i2.O4u&dla?eXvR2\",\"host\":\"%\"}"
|
|
},
|
|
"description": "Create a new database user."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"username\":\"kari.farrell\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "18",
|
|
"description": "The ID of the databaseUser."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a database user by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"username\":\"caterina.mosciski\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "link",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id\/link",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id\/link",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "4",
|
|
"description": "The ID of the databaseUser."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"databases\":\"non\"}"
|
|
},
|
|
"description": "Link to databases"
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"username\":\"kurtis05\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/database-users\/:databaseUser_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "databaseUser_id",
|
|
"key": "databaseUser_id",
|
|
"value": "6",
|
|
"description": "The ID of the databaseUser."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete database user."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "databases",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all databases."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"amalia38\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"troy.rippin\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\":\"et\"}"
|
|
},
|
|
"description": "Create a new database."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"name\":\"harvey.haskell\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "19",
|
|
"description": "The ID of the database."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a database by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"name\":\"ruthie.koepp\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/databases\/:database_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/databases\/:database_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "database_id",
|
|
"key": "database_id",
|
|
"value": "15",
|
|
"description": "The ID of the database."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete database."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "firewall-rules",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all firewall rules."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":38781,\"source\":\"79.116.255.150\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":32141,\"source\":\"52.174.114.251\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\":\"deny\",\"protocol\":\"udp\",\"port\":\"et\",\"source\":\"voluptates\",\"mask\":\"0\"}"
|
|
},
|
|
"description": "Create a new firewall rule."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":47148,\"source\":\"119.182.8.45\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "firewallRule_id",
|
|
"key": "firewallRule_id",
|
|
"value": "29",
|
|
"description": "The ID of the firewallRule."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a firewall rule by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":2317,\"source\":\"44.161.134.114\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "firewallRule_id",
|
|
"key": "firewallRule_id",
|
|
"value": "29",
|
|
"description": "The ID of the firewallRule."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete firewall rule."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "general",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "health-check",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/health",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/health"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "",
|
|
"auth": {
|
|
"type": "noauth"
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [
|
|
{
|
|
"key": "cache-control",
|
|
"value": "no-cache, private"
|
|
},
|
|
{
|
|
"key": "content-type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "x-ratelimit-limit",
|
|
"value": "60"
|
|
},
|
|
{
|
|
"key": "x-ratelimit-remaining",
|
|
"value": "59"
|
|
},
|
|
{
|
|
"key": "access-control-allow-origin",
|
|
"value": "*"
|
|
}
|
|
],
|
|
"code": 200,
|
|
"body": "{\"success\":true,\"version\":\"2.1.0\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "projects",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all projects."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":3,\"name\":\"Jeffry Dickinson\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":4,\"name\":\"Miss Tianna Dietrich PhD\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"quos\"}"
|
|
},
|
|
"description": "Create a new project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Isidro Franecki\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a project by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Rhoda Parisian\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"ullam\"}"
|
|
},
|
|
"description": "Update project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":3,\"name\":\"Mr. Dashawn Jacobson Sr.\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "server-providers",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/server-providers",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"laudantium\",\"provider\":\"vultr\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"aut\",\"provider\":\"aws\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"voluptatem\",\"name\":\"repellat\",\"token\":\"omnis\",\"key\":\"recusandae\",\"secret\":\"in\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"quia\",\"provider\":\"vultr\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "serverProvider_id",
|
|
"key": "serverProvider_id",
|
|
"value": "1",
|
|
"description": "The ID of the serverProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"ab\",\"provider\":\"hetzner\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "update",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "serverProvider_id",
|
|
"key": "serverProvider_id",
|
|
"value": "1",
|
|
"description": "The ID of the serverProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"name\":\"est\",\"global\":true}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"nesciunt\",\"provider\":\"linode\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/server-providers\/:serverProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "serverProvider_id",
|
|
"key": "serverProvider_id",
|
|
"value": "1",
|
|
"description": "The ID of the serverProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "servers",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all servers in a project."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Amina DuBuque\",\"ssh_user\":\"vito\",\"ip\":\"163.77.69.73\",\"local_ip\":\"137.139.200.70\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Floy Cummerata\",\"ssh_user\":\"vito\",\"ip\":\"62.53.140.25\",\"local_ip\":\"34.59.35.195\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"provider\":\"iste\",\"server_provider\":\"custom\",\"region\":\"libero\",\"plan\":\"ut\",\"ip\":\"molestias\",\"port\":\"laudantium\",\"name\":\"illum\",\"os\":\"autem\",\"webserver\":\"none\",\"database\":\"postgresql12\",\"php\":\"7.4\"}"
|
|
},
|
|
"description": "Create a new server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Archibald Nolan\",\"ssh_user\":\"vito\",\"ip\":\"226.168.13.177\",\"local_ip\":\"143.14.43.182\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a server by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Tevin Sipes\",\"ssh_user\":\"vito\",\"ip\":\"61.41.183.152\",\"local_ip\":\"197.160.239.147\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "reboot",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/reboot",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/reboot",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Reboot a server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "upgrade",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/upgrade",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/upgrade",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Upgrade server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "services",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all services."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a service by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"type\":null,\"type_data\":null,\"name\":null,\"version\":null,\"unit\":null,\"status\":null,\"is_default\":null,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "start",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/start",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/start",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Start service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "stop",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/stop",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/stop",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Stop service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "restart",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/restart",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/restart",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Restart service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "enable",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/enable",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/enable",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Enable service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "disable",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/disable",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id\/disable",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Disable service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/services\/:service_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "service_id",
|
|
"key": "service_id",
|
|
"value": "53",
|
|
"description": "The ID of the service."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete service."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "sites",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all sites."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\",\"domain\":\"rem\",\"aliases\":[\"libero\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"dolor\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"vitae\",\"method\":\"ip-hash\"}"
|
|
},
|
|
"description": "Create a new site."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "id",
|
|
"key": "id",
|
|
"value": "26",
|
|
"description": "The ID of the site."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get a site by ID."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"server_id\":null,\"source_control_id\":null,\"type\":\"laravel\",\"type_data\":null,\"domain\":\"test.com\",\"aliases\":null,\"web_directory\":\"\\\/\",\"path\":\"\\\/home\",\"php_version\":\"8.2\",\"repository\":null,\"branch\":\"main\",\"status\":\"ready\",\"port\":null,\"user\":\"vito\",\"progress\":100,\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "26",
|
|
"description": "The ID of the site."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete site."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "load-balancer",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/load-balancer",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/load-balancer",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "site_id",
|
|
"key": "site_id",
|
|
"value": "26",
|
|
"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\":\"least-connections\",\"servers\":[\"deleniti\"]}"
|
|
},
|
|
"description": "Update load balancer."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "source-controls",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/source-controls",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mr. Reuben Schimmel\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Ms. Brandy Mraz V\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"bitbucket\",\"name\":\"dignissimos\",\"token\":\"voluptates\",\"url\":\"https:\\\/\\\/www.hamill.net\\\/culpa-non-qui-suscipit-dolores-id-aliquam\",\"username\":\"nisi\",\"password\":\"W~19Z0\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Harmony Koss DVM\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/source-controls\/:sourceControl_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls\/:sourceControl_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "sourceControl_id",
|
|
"key": "sourceControl_id",
|
|
"value": "1",
|
|
"description": "The ID of the sourceControl."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Martin Welch\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"aut\",\"token\":\"repudiandae\",\"url\":\"http:\\\/\\\/howe.net\\\/eaque-assumenda-voluptatem-quo-libero-eius.html\",\"username\":\"consequatur\",\"password\":\"oX\\\/H\\\"pAIt7R2\\\"\",\"global\":false}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Miss Dulce Nicolas III\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/source-controls\/:sourceControl_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/source-controls\/:sourceControl_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "sourceControl_id",
|
|
"key": "sourceControl_id",
|
|
"value": "1",
|
|
"description": "The ID of the sourceControl."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ssh-keys",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Get all ssh keys."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Godfrey Mills\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Donato Streich\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "create",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"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\":\"numquam\",\"name\":\"alias\",\"public_key\":\"voluptate\"}"
|
|
},
|
|
"description": "Deploy ssh key to server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":null,\"user\":null,\"name\":\"Mr. Stanton Bergnaum\",\"created_at\":null,\"updated_at\":null}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/servers\/:server_id\/ssh-keys\/:sshKey_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/ssh-keys\/:sshKey_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "server_id",
|
|
"key": "server_id",
|
|
"value": "8",
|
|
"description": "The ID of the server."
|
|
},
|
|
{
|
|
"id": "sshKey_id",
|
|
"key": "sshKey_id",
|
|
"value": "1",
|
|
"description": "The ID of the sshKey."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": "Delete ssh key from server."
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "storage-providers",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "list",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/storage-providers",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"dolorem\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"itaque\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.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\":\"alias\",\"name\":\"explicabo\",\"token\":\"ut\",\"key\":\"libero\",\"secret\":\"consequatur\"}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"quos\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "show",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "storageProvider_id",
|
|
"key": "storageProvider_id",
|
|
"value": "3",
|
|
"description": "The ID of the storageProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"id\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "update",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "storageProvider_id",
|
|
"key": "storageProvider_id",
|
|
"value": "3",
|
|
"description": "The ID of the storageProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"name\":\"sequi\",\"global\":false}"
|
|
},
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 200,
|
|
"body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"velit\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}",
|
|
"name": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "delete",
|
|
"request": {
|
|
"url": {
|
|
"host": "{{baseUrl}}",
|
|
"path": "api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"query": [],
|
|
"raw": "{{baseUrl}}\/api\/projects\/:project_id\/storage-providers\/:storageProvider_id",
|
|
"variable": [
|
|
{
|
|
"id": "project_id",
|
|
"key": "project_id",
|
|
"value": "1",
|
|
"description": "The ID of the project."
|
|
},
|
|
{
|
|
"id": "storageProvider_id",
|
|
"key": "storageProvider_id",
|
|
"value": "3",
|
|
"description": "The ID of the storageProvider."
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application\/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application\/json"
|
|
}
|
|
],
|
|
"body": null,
|
|
"description": ""
|
|
},
|
|
"response": [
|
|
{
|
|
"header": [],
|
|
"code": 204,
|
|
"body": null,
|
|
"name": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "key",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
} |