From 2a670146d8301443d925685c91a3fc8e4214125a Mon Sep 17 00:00:00 2001 From: Dimitar Yanakiev Date: Sat, 5 Apr 2025 20:41:52 +0300 Subject: [PATCH] Add endpoint for triggering site deployment (#563) * feat(api): Add endpoint for triggering site deployment - Add POST /api/projects/{project}/servers/{server}/sites/{site}/deploy endpoint - Add feature tests * fix merge issue and generate api docs * fix merge --------- Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com> Co-authored-by: Saeed Vaziry --- .scribe/endpoints.cache/00.yaml | 24 +- .scribe/endpoints.cache/01.yaml | 34 +- .scribe/endpoints.cache/02.yaml | 42 +- .scribe/endpoints.cache/03.yaml | 46 +- .scribe/endpoints.cache/04.yaml | 2 +- .scribe/endpoints.cache/05.yaml | 26 +- .scribe/endpoints.cache/06.yaml | 32 +- .scribe/endpoints.cache/07.yaml | 58 +- .scribe/endpoints.cache/08.yaml | 46 +- .scribe/endpoints.cache/09.yaml | 22 +- .scribe/endpoints.cache/10.yaml | 16 +- .scribe/endpoints.cache/11.yaml | 153 ++- .scribe/endpoints.cache/12.yaml | 58 +- .scribe/endpoints.cache/13.yaml | 42 +- .scribe/endpoints/00.yaml | 24 +- .scribe/endpoints/01.yaml | 34 +- .scribe/endpoints/02.yaml | 42 +- .scribe/endpoints/03.yaml | 46 +- .scribe/endpoints/04.yaml | 2 +- .scribe/endpoints/05.yaml | 26 +- .scribe/endpoints/06.yaml | 32 +- .scribe/endpoints/07.yaml | 58 +- .scribe/endpoints/08.yaml | 46 +- .scribe/endpoints/09.yaml | 22 +- .scribe/endpoints/10.yaml | 16 +- .scribe/endpoints/11.yaml | 153 ++- .scribe/endpoints/12.yaml | 58 +- .scribe/endpoints/13.yaml | 42 +- app/Http/Controllers/API/SiteController.php | 20 + public/api-docs/collection.json | 196 +-- public/api-docs/index.html | 1221 +++++++++++-------- public/api-docs/openapi.yaml | 703 ++++++----- tests/Feature/API/SitesTest.php | 49 + 33 files changed, 1941 insertions(+), 1450 deletions(-) diff --git a/.scribe/endpoints.cache/00.yaml b/.scribe/endpoints.cache/00.yaml index 20534f9..ba97ef5 100644 --- a/.scribe/endpoints.cache/00.yaml +++ b/.scribe/endpoints.cache/00.yaml @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 46fadkVc1vP5Ea8hg3bZeD6' + - 'Bearer Pg1hVfEvc3e5kada68Z6b4D' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: command description: '' required: true - example: sit + example: nisi type: string enumValues: [] exampleWasSpecified: false @@ -123,7 +123,7 @@ endpoints: name: user description: '' required: true - example: root + example: vito type: string enumValues: - root @@ -142,8 +142,8 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - command: sit - user: root + command: nisi + user: vito frequency: '* * * * *' fileParameters: [] responses: @@ -157,7 +157,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eaEVDZ1ka5v4hf6Pgcd386b' + - 'Bearer 5E3Vv4cah8D6bZa1kgPfe6d' controller: null method: null route: null @@ -204,7 +204,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 13 + example: 14 type: integer enumValues: [] exampleWasSpecified: false @@ -213,7 +213,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - cronJob_id: 13 + cronJob_id: 14 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -230,7 +230,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gZkc1Vh568badDefE64vPa3' + - 'Bearer e68fh451vcb6Zd3DEVaaPgk' controller: null method: null route: null @@ -277,7 +277,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 16 + example: 9 type: integer enumValues: [] exampleWasSpecified: false @@ -286,7 +286,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - cronJob_id: 16 + cronJob_id: 9 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer PceD65b61vaV8Eg3a4dkfhZ' + - 'Bearer hEkD1b3a845fVPZg6ecad6v' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/01.yaml b/.scribe/endpoints.cache/01.yaml index 50d7b73..62c4dee 100644 --- a/.scribe/endpoints.cache/01.yaml +++ b/.scribe/endpoints.cache/01.yaml @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"name":"fkrajcik","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"critchie","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"name":"conn.bridget","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"aiden47","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}}' headers: [] description: '' custom: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer aZvgeV364fd8b6a5EDchP1k' + - 'Bearer 5vVfe3hcg1akP6Z8ba64dDE' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: name description: '' required: true - example: esse + example: vel type: string enumValues: [] exampleWasSpecified: false @@ -123,7 +123,7 @@ endpoints: name: charset description: '' required: true - example: ut + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -133,21 +133,21 @@ endpoints: name: collation description: '' required: true - example: labore + example: autem type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: esse - charset: ut - collation: labore + name: vel + charset: qui + collation: autem fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"cory33","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"rodolfo.bradtke","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fVvDPc64eaEk5bd36hgZ18a' + - 'Bearer 3gf6ahcav1kb546DZeE8PdV' controller: null method: null route: null @@ -202,7 +202,7 @@ endpoints: name: id description: 'The ID of the database.' required: true - example: 9 + example: 17 type: integer enumValues: [] exampleWasSpecified: false @@ -211,7 +211,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - id: 9 + id: 17 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -220,7 +220,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"walter.jacey","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"rhane","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer bvcEZgDaPfd564V18ahek63' + - 'Bearer VEvk3dP685Zahcf6a41bgDe' controller: null method: null route: null @@ -275,7 +275,7 @@ endpoints: name: database_id description: 'The ID of the database.' required: true - example: 16 + example: 5 type: integer enumValues: [] exampleWasSpecified: false @@ -284,7 +284,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - database_id: 16 + database_id: 5 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4a68DgeP6vcZbfVkh5a3d1E' + - 'Bearer dPZ8bga4DEh6V16ce35avfk' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/02.yaml b/.scribe/endpoints.cache/02.yaml index 5eadced..cfd1731 100644 --- a/.scribe/endpoints.cache/02.yaml +++ b/.scribe/endpoints.cache/02.yaml @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"username":"imurray","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"raleigh.heidenreich","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"username":"lavina.zemlak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hill.cassidy","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}}' headers: [] description: '' custom: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Ebak4v1cZPe5hd66D8V3gfa' + - 'Bearer a51dvD3akbfE4cV8eP6Zh6g' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: username description: '' required: true - example: ut + example: tempore type: string enumValues: [] exampleWasSpecified: false @@ -123,7 +123,7 @@ endpoints: name: password description: '' required: true - example: "L&1)4X-w>&T=:'Y2#x" + example: '!jUv.BBc]X' type: string enumValues: [] exampleWasSpecified: false @@ -140,14 +140,14 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - username: ut - password: "L&1)4X-w>&T=:'Y2#x" + username: tempore + password: '!jUv.BBc]X' host: '%' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kbernhard","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"irwin45","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer E4kahacZv6VDg81e6f3P5db' + - 'Bearer D5e4ZPadV83k6afbcgE6h1v' controller: null method: null route: null @@ -202,7 +202,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 8 + example: 3 type: integer enumValues: [] exampleWasSpecified: false @@ -211,7 +211,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 8 + databaseUser_id: 3 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -220,7 +220,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"lavada.casper","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"frederic.koss","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3DgPZadcaf6h5bk4Vv8E61e' + - 'Bearer ah1f5d3kvcgaEZ6D4PV68eb' controller: null method: null route: null @@ -275,7 +275,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 3 + example: 12 type: integer enumValues: [] exampleWasSpecified: false @@ -284,7 +284,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 3 + databaseUser_id: 12 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -292,19 +292,19 @@ endpoints: name: databases description: 'Array of database names to link to the user.' required: true - example: laboriosam + example: numquam type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - databases: laboriosam + databases: numquam fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"ojerde","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"georgiana.hand","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -312,7 +312,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Deh4d1aa586ZgckPvE3bV6f' + - 'Bearer ka6g1eVc4avZbPfd85D36hE' controller: null method: null route: null @@ -359,7 +359,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 8 + example: 6 type: integer enumValues: [] exampleWasSpecified: false @@ -368,7 +368,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 8 + databaseUser_id: 6 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -385,7 +385,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pcd366f5egE1hVba8aZk4vD' + - 'Bearer cV4g6dfP3vke5b18ZDa6ahE' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/03.yaml b/.scribe/endpoints.cache/03.yaml index 3ceaba6..a646339 100644 --- a/.scribe/endpoints.cache/03.yaml +++ b/.scribe/endpoints.cache/03.yaml @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"name":"optio","server_id":null,"type":"allow","protocol":"tcp","port":52674,"source":"142.10.115.135","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"dolores","server_id":null,"type":"allow","protocol":"tcp","port":34607,"source":"20.175.64.76","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"name":"sit","server_id":null,"type":"allow","protocol":"tcp","port":59225,"source":"130.41.114.80","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"sequi","server_id":null,"type":"allow","protocol":"tcp","port":17864,"source":"170.103.31.60","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}}' headers: [] description: '' custom: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer vhcgVk5aa8de6fP3Z4E1Db6' + - 'Bearer Vcdk1vfeah3Pba865D64gEZ' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: name description: '' required: true - example: voluptas + example: eum type: string enumValues: [] exampleWasSpecified: false @@ -147,7 +147,7 @@ endpoints: name: port description: '' required: true - example: qui + example: incidunt type: string enumValues: [] exampleWasSpecified: false @@ -157,7 +157,7 @@ endpoints: name: source description: '' required: false - example: amet + example: quisquam type: string enumValues: [] exampleWasSpecified: false @@ -174,17 +174,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: voluptas + name: eum type: deny protocol: udp - port: qui - source: amet + port: incidunt + source: quisquam mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"name":"molestiae","server_id":null,"type":"allow","protocol":"tcp","port":26783,"source":"190.202.255.27","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"consequuntur","server_id":null,"type":"allow","protocol":"tcp","port":50101,"source":"133.245.21.1","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -192,7 +192,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z166cP5kab3eEhgD48Vvafd' + - 'Bearer k4gED56a1Vd8Zfc3Pvheb6a' controller: null method: null route: null @@ -256,7 +256,7 @@ endpoints: name: name description: '' required: true - example: et + example: dolor type: string enumValues: [] exampleWasSpecified: false @@ -266,7 +266,7 @@ endpoints: name: type description: '' required: true - example: allow + example: deny type: string enumValues: - allow @@ -290,7 +290,7 @@ endpoints: name: port description: '' required: true - example: rerum + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -300,7 +300,7 @@ endpoints: name: source description: '' required: false - example: sed + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -317,17 +317,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: et - type: allow + name: dolor + type: deny protocol: tcp - port: rerum - source: sed + port: qui + source: porro mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"name":"labore","server_id":null,"type":"allow","protocol":"tcp","port":29044,"source":"113.132.217.224","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"numquam","server_id":null,"type":"allow","protocol":"tcp","port":52010,"source":"159.227.119.185","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -335,7 +335,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6P31Vc845vhEbkaagZdDfe6' + - 'Bearer ahV8vafbE5dDc4Zk1P36ge6' controller: null method: null route: null @@ -400,7 +400,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"name":"ipsa","server_id":null,"type":"allow","protocol":"tcp","port":50679,"source":"42.114.67.31","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"voluptatem","server_id":null,"type":"allow","protocol":"tcp","port":5812,"source":"122.105.250.56","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -408,7 +408,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer VdDb3eEaagvh68Z1kc5fP46' + - 'Bearer Vc4PfZ6k5hd618age3DEvab' controller: null method: null route: null @@ -481,7 +481,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ak3db6vef1DVEhacZ85g64P' + - 'Bearer Ze61D4Eb5f8vkg6PdhaaV3c' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/04.yaml b/.scribe/endpoints.cache/04.yaml index 7cb5b7e..0b94028 100644 --- a/.scribe/endpoints.cache/04.yaml +++ b/.scribe/endpoints.cache/04.yaml @@ -34,7 +34,7 @@ endpoints: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '58' + x-ratelimit-remaining: '59' access-control-allow-origin: '*' description: null custom: [] diff --git a/.scribe/endpoints.cache/05.yaml b/.scribe/endpoints.cache/05.yaml index 260eeb9..96d74bf 100644 --- a/.scribe/endpoints.cache/05.yaml +++ b/.scribe/endpoints.cache/05.yaml @@ -30,7 +30,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":3,"name":"Kattie Haley","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":4,"name":"Kailyn Kiehn","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"name":"Selina Wintheiser DDS","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"name":"Shanna Deckow","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.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}}' headers: [] description: '' custom: [] @@ -38,7 +38,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6D5kabfhdagZcP61VEe48v3' + - 'Bearer 1D5bhvV64c38gPfad6EkZea' controller: null method: null route: null @@ -69,19 +69,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: excepturi + example: quibusdam type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: excepturi + name: quibusdam fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Dayne White","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Mr. Johathan Koch","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -89,7 +89,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1Vafe4abk6gvZE5dD36h8Pc' + - 'Bearer hVDkvZ3d84aE6cf1ebgaP65' controller: null method: null route: null @@ -132,7 +132,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"name":"Cheyenne Ankunding III","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Jorge Schulist V","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -140,7 +140,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pa3cd5ZeE1gbh68D46vafVk' + - 'Bearer h4c16VZ8D5vkged63aaEbfP' controller: null method: null route: null @@ -182,19 +182,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: mollitia + example: enim type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: mollitia + name: enim fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Susanna Stark","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Annie Windler","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -202,7 +202,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 83Dfg6h4cdPev1abak5ZE6V' + - 'Bearer b8c4k3aPdhZev6a1Df6EVg5' controller: null method: null route: null @@ -253,7 +253,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z84d51aDbhgk36fEPvV6eac' + - 'Bearer bd6cva815EZek3hPfD4aV6g' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/06.yaml b/.scribe/endpoints.cache/06.yaml index 5752b57..c042df7 100644 --- a/.scribe/endpoints.cache/06.yaml +++ b/.scribe/endpoints.cache/06.yaml @@ -45,7 +45,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -54,7 +54,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -63,7 +63,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"error","to":"https:\/\/www.pfannerstill.com\/facere-est-totam-laudantium-in-illo-sequi","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":301,"from":"repellat","to":"http:\/\/gislason.biz\/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"eaque","to":"http:\/\/www.windler.info\/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":308,"from":"neque","to":"http:\/\/raynor.biz\/velit-a-tempore-quas-explicabo-doloremque","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}}' headers: [] description: '' custom: [] @@ -71,7 +71,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pava668DdZfk4cVEg3eb5h1' + - 'Bearer 4fD5a38caEk1vZPdbVh66ge' controller: null method: null route: null @@ -118,7 +118,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -127,7 +127,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -135,7 +135,7 @@ endpoints: name: from description: '' required: true - example: vel + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -145,7 +145,7 @@ endpoints: name: to description: '' required: true - example: ea + example: voluptatum type: string enumValues: [] exampleWasSpecified: false @@ -155,7 +155,7 @@ endpoints: name: mode description: '' required: true - example: 307 + example: 302 type: string enumValues: - 301 @@ -166,9 +166,9 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - from: vel - to: ea - mode: 307 + from: qui + to: voluptatum + mode: 302 fileParameters: [] responses: - @@ -181,7 +181,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 14Vg6Dce6aEh8kPbav5Z3fd' + - 'Bearer haPda6v1be64V8gcf3Dk5EZ' controller: null method: null route: null @@ -228,7 +228,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -247,7 +247,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 redirect_id: 9 queryParameters: [] cleanQueryParameters: [] @@ -265,7 +265,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer vabZDk1c6fV46Ea3edhP8g5' + - 'Bearer DVP8ve46k3dfhga5Z61bcEa' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/07.yaml b/.scribe/endpoints.cache/07.yaml index 04e6025..9148a80 100644 --- a/.scribe/endpoints.cache/07.yaml +++ b/.scribe/endpoints.cache/07.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Consuelo Connelly","ssh_user":"vito","ip":"80.154.83.232","local_ip":"45.31.117.65","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Rodolfo Fadel","ssh_user":"vito","ip":"103.227.79.93","local_ip":"33.49.217.56","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Marcelino Rodriguez","ssh_user":"vito","ip":"128.182.22.13","local_ip":"19.119.134.124","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":"Everardo Conn","ssh_user":"vito","ip":"62.215.59.124","local_ip":"32.153.141.12","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}}' headers: [] description: '' custom: [] @@ -49,7 +49,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4kecVbv5Zaa3dE8D6fgP6h1' + - 'Bearer 8V6gP6cZk143he5EadfbDva' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The server provider type' required: true - example: incidunt + example: ut type: string enumValues: [] exampleWasSpecified: false @@ -116,7 +116,7 @@ endpoints: name: region description: 'Provider region if the provider is not custom' required: true - example: ut + example: consectetur type: string enumValues: [] exampleWasSpecified: false @@ -126,7 +126,7 @@ endpoints: name: plan description: 'Provider plan if the provider is not custom' required: true - example: ullam + example: voluptatum type: string enumValues: [] exampleWasSpecified: false @@ -136,7 +136,7 @@ endpoints: name: ip description: 'SSH IP address if the provider is custom' required: true - example: architecto + example: quisquam type: string enumValues: [] exampleWasSpecified: false @@ -146,7 +146,7 @@ endpoints: name: port description: 'SSH Port if the provider is custom' required: true - example: praesentium + example: sapiente type: string enumValues: [] exampleWasSpecified: false @@ -156,7 +156,7 @@ endpoints: name: name description: 'The name of the server.' required: true - example: facere + example: itaque type: string enumValues: [] exampleWasSpecified: false @@ -166,7 +166,7 @@ endpoints: name: os description: 'The os of the server' required: true - example: illo + example: aut type: string enumValues: [] exampleWasSpecified: false @@ -176,7 +176,7 @@ endpoints: name: webserver description: 'Web server' required: true - example: none + example: nginx type: string enumValues: - none @@ -188,7 +188,7 @@ endpoints: name: database description: Database required: true - example: none + example: postgresql13 type: string enumValues: - none @@ -209,7 +209,7 @@ endpoints: name: php description: 'PHP version' required: true - example: '8.1' + example: '7.4' type: string enumValues: - '7.0' @@ -225,22 +225,22 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - provider: incidunt + provider: ut server_provider: hetzner - region: ut - plan: ullam - ip: architecto - port: praesentium - name: facere - os: illo - webserver: none - database: none - php: '8.1' + region: consectetur + plan: voluptatum + ip: quisquam + port: sapiente + name: itaque + os: aut + webserver: nginx + database: postgresql13 + php: '7.4' fileParameters: [] responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Herbert VonRueden","ssh_user":"vito","ip":"91.154.105.143","local_ip":"62.75.177.7","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Sidney Grant","ssh_user":"vito","ip":"22.232.10.97","local_ip":"107.107.187.150","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}' headers: [] description: '' custom: [] @@ -248,7 +248,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1d43hZc6VagPaEe5bDvf86k' + - 'Bearer Pg86vcedaD3V5EbZh4a61fk' controller: null method: null route: null @@ -302,7 +302,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Connie Simonis","ssh_user":"vito","ip":"202.119.26.253","local_ip":"112.75.79.203","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Maria Zemlak","ssh_user":"vito","ip":"4.166.233.247","local_ip":"92.197.44.184","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}' headers: [] description: '' custom: [] @@ -310,7 +310,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6648eab1kafVPDh5vEcgd3Z' + - 'Bearer ka4ebad163EchfgV6v8ZP5D' controller: null method: null route: null @@ -372,7 +372,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer heE6bdfa18v5Pa6kg4cZVD3' + - 'Bearer VP68EZbe351gf64avDdhkac' controller: null method: null route: null @@ -434,7 +434,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4Ege66vbc1hka8DPaV5Zfd3' + - 'Bearer 64dDea1v3g6aVZc5b8fEkPh' controller: null method: null route: null @@ -496,7 +496,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v3ceb6d6V1aDk584EhgfaZP' + - 'Bearer 5Pg3vec6Zbh1f8VD6Ea4dak' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/08.yaml b/.scribe/endpoints.cache/08.yaml index b26776e..4b545a4 100644 --- a/.scribe/endpoints.cache/08.yaml +++ b/.scribe/endpoints.cache/08.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"id","provider":"custom","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":4,"project_id":null,"global":true,"name":"culpa","provider":"linode","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"ducimus","provider":"digitalocean","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"project_id":null,"global":true,"name":"nesciunt","provider":"hetzner","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.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}}' headers: [] description: '' custom: [] @@ -49,7 +49,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer f1ebaVgEP3vahDk6dc58Z64' + - 'Bearer 6vkc3Ed6ebga48aPVfZ5D1h' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: mollitia + example: sunt type: string enumValues: [] exampleWasSpecified: false @@ -101,7 +101,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: adipisci + example: aut type: string enumValues: [] exampleWasSpecified: false @@ -111,7 +111,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: animi + example: id type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: provident + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -131,23 +131,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: deserunt + example: voluptas type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: mollitia - name: adipisci - token: animi - key: provident - secret: deserunt + provider: sunt + name: aut + token: id + key: porro + secret: voluptas fileParameters: [] responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"vultr","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"nemo","provider":"linode","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer agE4kv6Zc1d36PVhDaf5e8b' + - 'Bearer v634eED6kgab1c5PaVdhZf8' controller: null method: null route: null @@ -209,7 +209,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"ab","provider":"digitalocean","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"ut","provider":"aws","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -217,7 +217,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 815vc6eDEgZVPkah4fdba36' + - 'Bearer ckv4P5E8g663abheVfaZdD1' controller: null method: null route: null @@ -270,7 +270,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: eveniet + example: aliquam type: string enumValues: [] exampleWasSpecified: false @@ -280,7 +280,7 @@ endpoints: name: global description: 'Accessible in all projects' required: true - example: false + example: true type: string enumValues: - true @@ -289,13 +289,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: eveniet - global: false + name: aliquam + global: true fileParameters: [] responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"expedita","provider":"aws","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"digitalocean","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 48kfEV6ahDaP63bgcZ51evd' + - 'Bearer kD53eZ6h8PEvbd1gfcaaV64' controller: null method: null route: null @@ -365,7 +365,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P6g4av8DcaV6fdZ3k1hb5eE' + - 'Bearer ebcf146dDhP3Z5a6vg8kVEa' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/09.yaml b/.scribe/endpoints.cache/09.yaml index daeb9b9..e637e18 100644 --- a/.scribe/endpoints.cache/09.yaml +++ b/.scribe/endpoints.cache/09.yaml @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"user":null,"name":"Dr. Pansy Kunde DVM","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Ms. Maximillia DuBuque Sr.","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"user":null,"name":"Moriah Kemmer","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Delilah Gaylord","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}}' headers: [] description: '' custom: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3Dah456fdP8kVbZ6vEag1ec' + - 'Bearer k6fva48dh5VgP3a61EbceZD' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: key_id description: 'The ID of the key.' required: true - example: debitis + example: id type: string enumValues: [] exampleWasSpecified: false @@ -123,7 +123,7 @@ endpoints: name: name description: 'Key name, required if key_id is not provided.' required: true - example: illum + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -133,21 +133,21 @@ endpoints: name: public_key description: 'Public Key, required if key_id is not provided.' required: true - example: dignissimos + example: vitae type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - key_id: debitis - name: illum - public_key: dignissimos + key_id: id + name: qui + public_key: vitae fileParameters: [] responses: - status: 200 - content: '{"id":null,"user":null,"name":"Uriah Harvey","created_at":null,"updated_at":null}' + content: '{"id":null,"user":null,"name":"Jesse Gleason","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8bkv164ZVPcE5gde3faa6Dh' + - 'Bearer 5D4PZfcbeVkaE61d8h36gav' controller: null method: null route: null @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 18P65Da6Vdh3e4cZgfkvabE' + - 'Bearer 5D1e8gZPbVf63kvhaac46dE' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/10.yaml b/.scribe/endpoints.cache/10.yaml index 3dbaac0..2c5f84b 100644 --- a/.scribe/endpoints.cache/10.yaml +++ b/.scribe/endpoints.cache/10.yaml @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer c4d6561av3ehkVagPfZb8DE' + - 'Bearer 6ab5Ea4gV6d8DPcfvkhZe13' controller: null method: null route: null @@ -133,7 +133,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8ab6dPD5gh1EZfk36vaVe4c' + - 'Bearer cg6Zf84vaDahkE13ePdbV65' controller: null method: null route: null @@ -206,7 +206,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1VDa6ckv35hgZ8d6Eb4Pafe' + - 'Bearer EZbkV6ev83fhPga5164aDdc' controller: null method: null route: null @@ -279,7 +279,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V4d1k6b5hae3fcZDa6g8PvE' + - 'Bearer e6da1Ek63v84hDbVPgaZcf5' controller: null method: null route: null @@ -352,7 +352,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer g84c6eEZP3k5fvV6baD1had' + - 'Bearer efPg36badVZh8451aEvkc6D' controller: null method: null route: null @@ -425,7 +425,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fE4V65h18acdkgbv3Za6PDe' + - 'Bearer kaeaZ6Vh56cgbP38f1dDv4E' controller: null method: null route: null @@ -498,7 +498,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gaEcPZ83ka1v65bVfh4d6eD' + - 'Bearer cDagaEVZ3d4e616kP8fhv5b' controller: null method: null route: null @@ -571,7 +571,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8Va1aEehb5kg3P64ZdvDcf6' + - 'Bearer dPk3D4VaZhv8Eabef5166gc' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/11.yaml b/.scribe/endpoints.cache/11.yaml index 7530e88..756449f 100644 --- a/.scribe/endpoints.cache/11.yaml +++ b/.scribe/endpoints.cache/11.yaml @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer d8Ev3Pce54gkZ6h6faVb1Da' + - 'Bearer veV66fcbdaaEhZg3k5P148D' controller: null method: null route: null @@ -113,7 +113,7 @@ endpoints: name: type description: '' required: true - example: phpmyadmin + example: wordpress type: string enumValues: - php @@ -129,7 +129,7 @@ endpoints: name: domain description: '' required: true - example: tenetur + example: ut type: string enumValues: [] exampleWasSpecified: false @@ -140,7 +140,7 @@ endpoints: description: '' required: true example: - - aut + - vitae type: 'string[]' enumValues: [] exampleWasSpecified: false @@ -170,7 +170,7 @@ endpoints: name: source_control description: 'Source control ID, Required for Sites which support source control' required: true - example: quasi + example: animi type: string enumValues: [] exampleWasSpecified: false @@ -220,7 +220,7 @@ endpoints: name: user description: 'user, to isolate the website under a new user' required: true - example: deleniti + example: est type: string enumValues: [] exampleWasSpecified: false @@ -230,7 +230,7 @@ endpoints: name: method description: 'Load balancer method, Required if the site type is Load balancer' required: true - example: round-robin + example: least-connections type: string enumValues: - round-robin @@ -240,19 +240,19 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: phpmyadmin - domain: tenetur + type: wordpress + domain: ut aliases: - - aut + - vitae php_version: '7.4' web_directory: public - source_control: quasi + source_control: animi repository: organization/repository branch: main composer: true version: 5.2.1 - user: deleniti - method: round-robin + user: est + method: least-connections fileParameters: [] responses: - @@ -265,7 +265,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ge6VPfkE8cah6Dv34bda15Z' + - 'Bearer b1a8cEahVek364vPfD6gdZ5' controller: null method: null route: null @@ -312,7 +312,7 @@ endpoints: name: id description: 'The ID of the site.' required: true - example: 12 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -321,7 +321,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - id: 12 + id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -338,7 +338,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a14kPe3b6fvd6ZgahEVc58D' + - 'Bearer dvh6k4EaV16a3Zefb5c8DPg' controller: null method: null route: null @@ -385,7 +385,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 9 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -394,7 +394,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 9 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -411,7 +411,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cvfD853h4EZae6dab6gVPk1' + - 'Bearer ZVP56aavDg3f8ek1c4E6hdb' controller: null method: null route: null @@ -458,7 +458,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 19 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -467,7 +467,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 19 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -475,7 +475,7 @@ endpoints: name: method description: 'Load balancer method, Required if the site type is Load balancer' required: true - example: ip-hash + example: round-robin type: string enumValues: - round-robin @@ -489,16 +489,16 @@ endpoints: description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)' required: true example: - - dolores + - eaque type: 'string[]' enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - method: ip-hash + method: round-robin servers: - - dolores + - eaque fileParameters: [] responses: - @@ -511,7 +511,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer de5Vka1avb6Zg36fDE8Ph4c' + - 'Bearer ekaVDdgZh1ca58vE34b6P6f' controller: null method: null route: null @@ -558,7 +558,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 16 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -567,7 +567,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 16 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -576,7 +576,7 @@ endpoints: description: 'Array of aliases' required: true example: - - aut + - pariatur type: 'string[]' enumValues: [] exampleWasSpecified: false @@ -584,7 +584,7 @@ endpoints: custom: [] cleanBodyParameters: aliases: - - aut + - pariatur fileParameters: [] responses: - @@ -597,7 +597,80 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6f6kVD153hEgPdZacva4b8e' + - 'Bearer 8gaaebDd641ck6V5vP3fZhE' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - POST + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deploy' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deploy + description: 'Run site deployment script' + authenticated: true + custom: [] + headers: + Authorization: 'Bearer YOUR-API-KEY' + Content-Type: application/json + Accept: application/json + urlParameters: + project_id: + name: project_id + description: 'The ID of the project.' + required: true + example: 1 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + server_id: + name: server_id + description: 'The ID of the server.' + required: true + example: 29 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + site_id: + name: site_id + description: 'The ID of the site.' + required: true + example: 44 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 44 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer ka634ZEfbgdevD56c1aVP8h' controller: null method: null route: null @@ -644,7 +717,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 3 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -653,7 +726,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 3 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -661,14 +734,14 @@ endpoints: name: script description: 'Content of the deployment script' required: true - example: qui + example: culpa type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - script: qui + script: culpa fileParameters: [] responses: - @@ -681,7 +754,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3b6Eh5eaf1d48DZvPgk6cVa' + - 'Bearer 68a6cfD4e1g3dvPVkbEaZh5' controller: null method: null route: null @@ -728,7 +801,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 16 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -737,7 +810,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 16 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -754,7 +827,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v1kEa3hgb664dfD5Z8VePac' + - 'Bearer 568gb3fdca1PDek4vZEVa6h' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/12.yaml b/.scribe/endpoints.cache/12.yaml index abec322..26379f1 100644 --- a/.scribe/endpoints.cache/12.yaml +++ b/.scribe/endpoints.cache/12.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Emil Leannon","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Eleazar Pacocha Sr.","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Dawson Ratke IV","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Miss Caterina Mann DVM","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35: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}}' headers: [] description: '' custom: [] @@ -49,7 +49,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a34dVDE5ak8ceZvfh1Pb66g' + - 'Bearer vVc6ebd865ZkEgf431haDaP' controller: null method: null route: null @@ -104,7 +104,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: aliquam + example: est type: string enumValues: [] exampleWasSpecified: false @@ -114,7 +114,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: voluptatem + example: ea type: string enumValues: [] exampleWasSpecified: false @@ -124,7 +124,7 @@ endpoints: name: url description: 'The URL if the provider is Gitlab and it is self-hosted' required: true - example: 'https://brown.org/placeat-optio-illum-eius-ipsa.html' + example: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam' type: string enumValues: [] exampleWasSpecified: false @@ -134,7 +134,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: a + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -144,7 +144,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: "_/_,9'/6z;9" + example: 'S#AHlt"?l6SDU^b?T6' type: string enumValues: [] exampleWasSpecified: false @@ -152,16 +152,16 @@ endpoints: custom: [] cleanBodyParameters: provider: github - name: aliquam - token: voluptatem - url: 'https://brown.org/placeat-optio-illum-eius-ipsa.html' - username: a - password: "_/_,9'/6z;9" + name: est + token: ea + url: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam' + username: ducimus + password: 'S#AHlt"?l6SDU^b?T6' fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Ahmad Kulas","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Dr. Adella Greenholt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -169,7 +169,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 65dacDVh4kevfZ8P1bEga36' + - 'Bearer geVfZhE85aa4c16Pbk63Dvd' controller: null method: null route: null @@ -223,7 +223,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Mr. Marquis Kunde IV","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Hettie Farrell","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -231,7 +231,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a8hf6adecDkVbEZ6P1g54v3' + - 'Bearer P1kgc5vVaD4ZhE8aed6b36f' controller: null method: null route: null @@ -284,7 +284,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: laudantium + example: sunt type: string enumValues: [] exampleWasSpecified: false @@ -294,7 +294,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: nulla + example: est type: string enumValues: [] exampleWasSpecified: false @@ -304,7 +304,7 @@ endpoints: name: url description: 'The URL if the provider is Gitlab and it is self-hosted' required: true - example: 'http://wiza.com/' + example: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit' type: string enumValues: [] exampleWasSpecified: false @@ -314,7 +314,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: numquam + example: ab type: string enumValues: [] exampleWasSpecified: false @@ -324,7 +324,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: 'MlD,$m:8^A' + example: 'M@-*%?(B(UNE~Ibc#' type: string enumValues: [] exampleWasSpecified: false @@ -343,17 +343,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: laudantium - token: nulla - url: 'http://wiza.com/' - username: numquam - password: 'MlD,$m:8^A' + name: sunt + token: est + url: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit' + username: ab + password: 'M@-*%?(B(UNE~Ibc#' global: false fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Mrs. Arvilla Mitchell","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Jadyn Hyatt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -361,7 +361,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z36EdDbavkeVPch68a1g45f' + - 'Bearer 63kaaDdg5fvVPeEh18b4c6Z' controller: null method: null route: null @@ -423,7 +423,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gaadhb6Ev6Dk8fc4P1eV53Z' + - 'Bearer vb6ZE63ea8Da5fPhdkcVg14' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/13.yaml b/.scribe/endpoints.cache/13.yaml index 1453e82..ab62415 100644 --- a/.scribe/endpoints.cache/13.yaml +++ b/.scribe/endpoints.cache/13.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"autem","provider":"s3","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":6,"project_id":null,"global":true,"name":"nihil","provider":"ftp","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"et","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"sed","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35: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}}' headers: [] description: '' custom: [] @@ -49,7 +49,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer c8gDkZ1563Va4dvb6EaefPh' + - 'Bearer vk63dEVe6PD5af4gZcbh1a8' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: est + example: quia type: string enumValues: [] exampleWasSpecified: false @@ -101,7 +101,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: voluptatem + example: rerum type: string enumValues: [] exampleWasSpecified: false @@ -111,7 +111,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: delectus + example: hic type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: natus + example: repellat type: string enumValues: [] exampleWasSpecified: false @@ -131,23 +131,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: saepe + example: maiores type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: est - name: voluptatem - token: delectus - key: natus - secret: saepe + provider: quia + name: rerum + token: hic + key: repellat + secret: maiores fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"omnis","provider":"local","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"veritatis","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer g8aVh3evPZ5dkDfac14b66E' + - 'Bearer 5ekD6EPbhdvVa84f31aZcg6' controller: null method: null route: null @@ -209,7 +209,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"molestiae","provider":"dropbox","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"fuga","provider":"local","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -217,7 +217,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 184aP6ce6b5VfdZv3hDakEg' + - 'Bearer 3fb86PcgDZadkhV1aEv4e56' controller: null method: null route: null @@ -270,7 +270,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: exercitationem + example: est type: string enumValues: [] exampleWasSpecified: false @@ -289,13 +289,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: exercitationem + name: est global: true fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"dolorum","provider":"s3","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"ut","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer dav4Dh6Pgb35ckEa81f6VZe' + - 'Bearer 8E6g3aDZcafV465bdkPe1vh' controller: null method: null route: null @@ -365,7 +365,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 84vcE35a6dDZgak1ehVP6fb' + - 'Bearer vf34Dch58Va6bZgk61PaeEd' controller: null method: null route: null diff --git a/.scribe/endpoints/00.yaml b/.scribe/endpoints/00.yaml index e9cb6f0..62e650e 100644 --- a/.scribe/endpoints/00.yaml +++ b/.scribe/endpoints/00.yaml @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 46fadkVc1vP5Ea8hg3bZeD6' + - 'Bearer Pg1hVfEvc3e5kada68Z6b4D' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: command description: '' required: true - example: sit + example: nisi type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: user description: '' required: true - example: root + example: vito type: string enumValues: - root @@ -140,8 +140,8 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - command: sit - user: root + command: nisi + user: vito frequency: '* * * * *' fileParameters: [] responses: @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eaEVDZ1ka5v4hf6Pgcd386b' + - 'Bearer 5E3Vv4cah8D6bZa1kgPfe6d' controller: null method: null route: null @@ -202,7 +202,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 13 + example: 14 type: integer enumValues: [] exampleWasSpecified: false @@ -211,7 +211,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - cronJob_id: 13 + cronJob_id: 14 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gZkc1Vh568badDefE64vPa3' + - 'Bearer e68fh451vcb6Zd3DEVaaPgk' controller: null method: null route: null @@ -275,7 +275,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 16 + example: 9 type: integer enumValues: [] exampleWasSpecified: false @@ -284,7 +284,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - cronJob_id: 16 + cronJob_id: 9 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer PceD65b61vaV8Eg3a4dkfhZ' + - 'Bearer hEkD1b3a845fVPZg6ecad6v' controller: null method: null route: null diff --git a/.scribe/endpoints/01.yaml b/.scribe/endpoints/01.yaml index 8c187fe..354af12 100644 --- a/.scribe/endpoints/01.yaml +++ b/.scribe/endpoints/01.yaml @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"name":"fkrajcik","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"critchie","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"name":"conn.bridget","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"aiden47","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}}' headers: [] description: '' custom: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer aZvgeV364fd8b6a5EDchP1k' + - 'Bearer 5vVfe3hcg1akP6Z8ba64dDE' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: name description: '' required: true - example: esse + example: vel type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: charset description: '' required: true - example: ut + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -131,21 +131,21 @@ endpoints: name: collation description: '' required: true - example: labore + example: autem type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: esse - charset: ut - collation: labore + name: vel + charset: qui + collation: autem fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"cory33","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"rodolfo.bradtke","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fVvDPc64eaEk5bd36hgZ18a' + - 'Bearer 3gf6ahcav1kb546DZeE8PdV' controller: null method: null route: null @@ -200,7 +200,7 @@ endpoints: name: id description: 'The ID of the database.' required: true - example: 9 + example: 17 type: integer enumValues: [] exampleWasSpecified: false @@ -209,7 +209,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - id: 9 + id: 17 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -218,7 +218,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"walter.jacey","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"rhane","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -226,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer bvcEZgDaPfd564V18ahek63' + - 'Bearer VEvk3dP685Zahcf6a41bgDe' controller: null method: null route: null @@ -273,7 +273,7 @@ endpoints: name: database_id description: 'The ID of the database.' required: true - example: 16 + example: 5 type: integer enumValues: [] exampleWasSpecified: false @@ -282,7 +282,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - database_id: 16 + database_id: 5 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -299,7 +299,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4a68DgeP6vcZbfVkh5a3d1E' + - 'Bearer dPZ8bga4DEh6V16ce35avfk' controller: null method: null route: null diff --git a/.scribe/endpoints/02.yaml b/.scribe/endpoints/02.yaml index 00f0ad9..76f24b1 100644 --- a/.scribe/endpoints/02.yaml +++ b/.scribe/endpoints/02.yaml @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"username":"imurray","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"raleigh.heidenreich","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"username":"lavina.zemlak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hill.cassidy","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}}' headers: [] description: '' custom: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Ebak4v1cZPe5hd66D8V3gfa' + - 'Bearer a51dvD3akbfE4cV8eP6Zh6g' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: username description: '' required: true - example: ut + example: tempore type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: password description: '' required: true - example: "L&1)4X-w>&T=:'Y2#x" + example: '!jUv.BBc]X' type: string enumValues: [] exampleWasSpecified: false @@ -138,14 +138,14 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - username: ut - password: "L&1)4X-w>&T=:'Y2#x" + username: tempore + password: '!jUv.BBc]X' host: '%' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kbernhard","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"irwin45","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer E4kahacZv6VDg81e6f3P5db' + - 'Bearer D5e4ZPadV83k6afbcgE6h1v' controller: null method: null route: null @@ -200,7 +200,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 8 + example: 3 type: integer enumValues: [] exampleWasSpecified: false @@ -209,7 +209,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 8 + databaseUser_id: 3 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -218,7 +218,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"lavada.casper","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"frederic.koss","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -226,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3DgPZadcaf6h5bk4Vv8E61e' + - 'Bearer ah1f5d3kvcgaEZ6D4PV68eb' controller: null method: null route: null @@ -273,7 +273,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 3 + example: 12 type: integer enumValues: [] exampleWasSpecified: false @@ -282,7 +282,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 3 + databaseUser_id: 12 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -290,19 +290,19 @@ endpoints: name: databases description: 'Array of database names to link to the user.' required: true - example: laboriosam + example: numquam type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - databases: laboriosam + databases: numquam fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"ojerde","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"georgiana.hand","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -310,7 +310,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Deh4d1aa586ZgckPvE3bV6f' + - 'Bearer ka6g1eVc4avZbPfd85D36hE' controller: null method: null route: null @@ -357,7 +357,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 8 + example: 6 type: integer enumValues: [] exampleWasSpecified: false @@ -366,7 +366,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - databaseUser_id: 8 + databaseUser_id: 6 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -383,7 +383,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pcd366f5egE1hVba8aZk4vD' + - 'Bearer cV4g6dfP3vke5b18ZDa6ahE' controller: null method: null route: null diff --git a/.scribe/endpoints/03.yaml b/.scribe/endpoints/03.yaml index af4c5e5..556eed9 100644 --- a/.scribe/endpoints/03.yaml +++ b/.scribe/endpoints/03.yaml @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"name":"optio","server_id":null,"type":"allow","protocol":"tcp","port":52674,"source":"142.10.115.135","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"dolores","server_id":null,"type":"allow","protocol":"tcp","port":34607,"source":"20.175.64.76","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"name":"sit","server_id":null,"type":"allow","protocol":"tcp","port":59225,"source":"130.41.114.80","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"sequi","server_id":null,"type":"allow","protocol":"tcp","port":17864,"source":"170.103.31.60","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}}' headers: [] description: '' custom: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer vhcgVk5aa8de6fP3Z4E1Db6' + - 'Bearer Vcdk1vfeah3Pba865D64gEZ' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: name description: '' required: true - example: voluptas + example: eum type: string enumValues: [] exampleWasSpecified: false @@ -145,7 +145,7 @@ endpoints: name: port description: '' required: true - example: qui + example: incidunt type: string enumValues: [] exampleWasSpecified: false @@ -155,7 +155,7 @@ endpoints: name: source description: '' required: false - example: amet + example: quisquam type: string enumValues: [] exampleWasSpecified: false @@ -172,17 +172,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: voluptas + name: eum type: deny protocol: udp - port: qui - source: amet + port: incidunt + source: quisquam mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"name":"molestiae","server_id":null,"type":"allow","protocol":"tcp","port":26783,"source":"190.202.255.27","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"consequuntur","server_id":null,"type":"allow","protocol":"tcp","port":50101,"source":"133.245.21.1","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -190,7 +190,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z166cP5kab3eEhgD48Vvafd' + - 'Bearer k4gED56a1Vd8Zfc3Pvheb6a' controller: null method: null route: null @@ -254,7 +254,7 @@ endpoints: name: name description: '' required: true - example: et + example: dolor type: string enumValues: [] exampleWasSpecified: false @@ -264,7 +264,7 @@ endpoints: name: type description: '' required: true - example: allow + example: deny type: string enumValues: - allow @@ -288,7 +288,7 @@ endpoints: name: port description: '' required: true - example: rerum + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -298,7 +298,7 @@ endpoints: name: source description: '' required: false - example: sed + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -315,17 +315,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: et - type: allow + name: dolor + type: deny protocol: tcp - port: rerum - source: sed + port: qui + source: porro mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"name":"labore","server_id":null,"type":"allow","protocol":"tcp","port":29044,"source":"113.132.217.224","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"numquam","server_id":null,"type":"allow","protocol":"tcp","port":52010,"source":"159.227.119.185","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -333,7 +333,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6P31Vc845vhEbkaagZdDfe6' + - 'Bearer ahV8vafbE5dDc4Zk1P36ge6' controller: null method: null route: null @@ -398,7 +398,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"name":"ipsa","server_id":null,"type":"allow","protocol":"tcp","port":50679,"source":"42.114.67.31","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"voluptatem","server_id":null,"type":"allow","protocol":"tcp","port":5812,"source":"122.105.250.56","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -406,7 +406,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer VdDb3eEaagvh68Z1kc5fP46' + - 'Bearer Vc4PfZ6k5hd618age3DEvab' controller: null method: null route: null @@ -479,7 +479,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ak3db6vef1DVEhacZ85g64P' + - 'Bearer Ze61D4Eb5f8vkg6PdhaaV3c' controller: null method: null route: null diff --git a/.scribe/endpoints/04.yaml b/.scribe/endpoints/04.yaml index e19980e..c5d9e45 100644 --- a/.scribe/endpoints/04.yaml +++ b/.scribe/endpoints/04.yaml @@ -32,7 +32,7 @@ endpoints: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '58' + x-ratelimit-remaining: '59' access-control-allow-origin: '*' description: null custom: [] diff --git a/.scribe/endpoints/05.yaml b/.scribe/endpoints/05.yaml index 05ce8c0..7e7dcb3 100644 --- a/.scribe/endpoints/05.yaml +++ b/.scribe/endpoints/05.yaml @@ -28,7 +28,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":3,"name":"Kattie Haley","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":4,"name":"Kailyn Kiehn","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"name":"Selina Wintheiser DDS","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"name":"Shanna Deckow","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.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}}' headers: [] description: '' custom: [] @@ -36,7 +36,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6D5kabfhdagZcP61VEe48v3' + - 'Bearer 1D5bhvV64c38gPfad6EkZea' controller: null method: null route: null @@ -67,19 +67,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: excepturi + example: quibusdam type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: excepturi + name: quibusdam fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Dayne White","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Mr. Johathan Koch","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -87,7 +87,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1Vafe4abk6gvZE5dD36h8Pc' + - 'Bearer hVDkvZ3d84aE6cf1ebgaP65' controller: null method: null route: null @@ -130,7 +130,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"name":"Cheyenne Ankunding III","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Jorge Schulist V","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -138,7 +138,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pa3cd5ZeE1gbh68D46vafVk' + - 'Bearer h4c16VZ8D5vkged63aaEbfP' controller: null method: null route: null @@ -180,19 +180,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: mollitia + example: enim type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: mollitia + name: enim fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Susanna Stark","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"name":"Annie Windler","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}' headers: [] description: '' custom: [] @@ -200,7 +200,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 83Dfg6h4cdPev1abak5ZE6V' + - 'Bearer b8c4k3aPdhZev6a1Df6EVg5' controller: null method: null route: null @@ -251,7 +251,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z84d51aDbhgk36fEPvV6eac' + - 'Bearer bd6cva815EZek3hPfD4aV6g' controller: null method: null route: null diff --git a/.scribe/endpoints/06.yaml b/.scribe/endpoints/06.yaml index 0ed8b48..6b43742 100644 --- a/.scribe/endpoints/06.yaml +++ b/.scribe/endpoints/06.yaml @@ -43,7 +43,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -52,7 +52,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -61,7 +61,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"error","to":"https:\/\/www.pfannerstill.com\/facere-est-totam-laudantium-in-illo-sequi","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":301,"from":"repellat","to":"http:\/\/gislason.biz\/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"eaque","to":"http:\/\/www.windler.info\/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":308,"from":"neque","to":"http:\/\/raynor.biz\/velit-a-tempore-quas-explicabo-doloremque","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}}' headers: [] description: '' custom: [] @@ -69,7 +69,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pava668DdZfk4cVEg3eb5h1' + - 'Bearer 4fD5a38caEk1vZPdbVh66ge' controller: null method: null route: null @@ -116,7 +116,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -125,7 +125,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -133,7 +133,7 @@ endpoints: name: from description: '' required: true - example: vel + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -143,7 +143,7 @@ endpoints: name: to description: '' required: true - example: ea + example: voluptatum type: string enumValues: [] exampleWasSpecified: false @@ -153,7 +153,7 @@ endpoints: name: mode description: '' required: true - example: 307 + example: 302 type: string enumValues: - 301 @@ -164,9 +164,9 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - from: vel - to: ea - mode: 307 + from: qui + to: voluptatum + mode: 302 fileParameters: [] responses: - @@ -179,7 +179,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 14Vg6Dce6aEh8kPbav5Z3fd' + - 'Bearer haPda6v1be64V8gcf3Dk5EZ' controller: null method: null route: null @@ -226,7 +226,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 11 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -245,7 +245,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 11 + site_id: 44 redirect_id: 9 queryParameters: [] cleanQueryParameters: [] @@ -263,7 +263,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer vabZDk1c6fV46Ea3edhP8g5' + - 'Bearer DVP8ve46k3dfhga5Z61bcEa' controller: null method: null route: null diff --git a/.scribe/endpoints/07.yaml b/.scribe/endpoints/07.yaml index 8cdedaa..f45c091 100644 --- a/.scribe/endpoints/07.yaml +++ b/.scribe/endpoints/07.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Consuelo Connelly","ssh_user":"vito","ip":"80.154.83.232","local_ip":"45.31.117.65","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Rodolfo Fadel","ssh_user":"vito","ip":"103.227.79.93","local_ip":"33.49.217.56","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Marcelino Rodriguez","ssh_user":"vito","ip":"128.182.22.13","local_ip":"19.119.134.124","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":"Everardo Conn","ssh_user":"vito","ip":"62.215.59.124","local_ip":"32.153.141.12","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}}' headers: [] description: '' custom: [] @@ -47,7 +47,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4kecVbv5Zaa3dE8D6fgP6h1' + - 'Bearer 8V6gP6cZk143he5EadfbDva' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The server provider type' required: true - example: incidunt + example: ut type: string enumValues: [] exampleWasSpecified: false @@ -114,7 +114,7 @@ endpoints: name: region description: 'Provider region if the provider is not custom' required: true - example: ut + example: consectetur type: string enumValues: [] exampleWasSpecified: false @@ -124,7 +124,7 @@ endpoints: name: plan description: 'Provider plan if the provider is not custom' required: true - example: ullam + example: voluptatum type: string enumValues: [] exampleWasSpecified: false @@ -134,7 +134,7 @@ endpoints: name: ip description: 'SSH IP address if the provider is custom' required: true - example: architecto + example: quisquam type: string enumValues: [] exampleWasSpecified: false @@ -144,7 +144,7 @@ endpoints: name: port description: 'SSH Port if the provider is custom' required: true - example: praesentium + example: sapiente type: string enumValues: [] exampleWasSpecified: false @@ -154,7 +154,7 @@ endpoints: name: name description: 'The name of the server.' required: true - example: facere + example: itaque type: string enumValues: [] exampleWasSpecified: false @@ -164,7 +164,7 @@ endpoints: name: os description: 'The os of the server' required: true - example: illo + example: aut type: string enumValues: [] exampleWasSpecified: false @@ -174,7 +174,7 @@ endpoints: name: webserver description: 'Web server' required: true - example: none + example: nginx type: string enumValues: - none @@ -186,7 +186,7 @@ endpoints: name: database description: Database required: true - example: none + example: postgresql13 type: string enumValues: - none @@ -207,7 +207,7 @@ endpoints: name: php description: 'PHP version' required: true - example: '8.1' + example: '7.4' type: string enumValues: - '7.0' @@ -223,22 +223,22 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - provider: incidunt + provider: ut server_provider: hetzner - region: ut - plan: ullam - ip: architecto - port: praesentium - name: facere - os: illo - webserver: none - database: none - php: '8.1' + region: consectetur + plan: voluptatum + ip: quisquam + port: sapiente + name: itaque + os: aut + webserver: nginx + database: postgresql13 + php: '7.4' fileParameters: [] responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Herbert VonRueden","ssh_user":"vito","ip":"91.154.105.143","local_ip":"62.75.177.7","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Sidney Grant","ssh_user":"vito","ip":"22.232.10.97","local_ip":"107.107.187.150","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}' headers: [] description: '' custom: [] @@ -246,7 +246,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1d43hZc6VagPaEe5bDvf86k' + - 'Bearer Pg86vcedaD3V5EbZh4a61fk' controller: null method: null route: null @@ -300,7 +300,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Connie Simonis","ssh_user":"vito","ip":"202.119.26.253","local_ip":"112.75.79.203","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Maria Zemlak","ssh_user":"vito","ip":"4.166.233.247","local_ip":"92.197.44.184","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}' headers: [] description: '' custom: [] @@ -308,7 +308,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6648eab1kafVPDh5vEcgd3Z' + - 'Bearer ka4ebad163EchfgV6v8ZP5D' controller: null method: null route: null @@ -370,7 +370,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer heE6bdfa18v5Pa6kg4cZVD3' + - 'Bearer VP68EZbe351gf64avDdhkac' controller: null method: null route: null @@ -432,7 +432,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 4Ege66vbc1hka8DPaV5Zfd3' + - 'Bearer 64dDea1v3g6aVZc5b8fEkPh' controller: null method: null route: null @@ -494,7 +494,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v3ceb6d6V1aDk584EhgfaZP' + - 'Bearer 5Pg3vec6Zbh1f8VD6Ea4dak' controller: null method: null route: null diff --git a/.scribe/endpoints/08.yaml b/.scribe/endpoints/08.yaml index 5de3e12..19feaf5 100644 --- a/.scribe/endpoints/08.yaml +++ b/.scribe/endpoints/08.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"id","provider":"custom","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":4,"project_id":null,"global":true,"name":"culpa","provider":"linode","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"ducimus","provider":"digitalocean","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"project_id":null,"global":true,"name":"nesciunt","provider":"hetzner","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.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}}' headers: [] description: '' custom: [] @@ -47,7 +47,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer f1ebaVgEP3vahDk6dc58Z64' + - 'Bearer 6vkc3Ed6ebga48aPVfZ5D1h' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: mollitia + example: sunt type: string enumValues: [] exampleWasSpecified: false @@ -99,7 +99,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: adipisci + example: aut type: string enumValues: [] exampleWasSpecified: false @@ -109,7 +109,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: animi + example: id type: string enumValues: [] exampleWasSpecified: false @@ -119,7 +119,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: provident + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -129,23 +129,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: deserunt + example: voluptas type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: mollitia - name: adipisci - token: animi - key: provident - secret: deserunt + provider: sunt + name: aut + token: id + key: porro + secret: voluptas fileParameters: [] responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"vultr","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"nemo","provider":"linode","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer agE4kv6Zc1d36PVhDaf5e8b' + - 'Bearer v634eED6kgab1c5PaVdhZf8' controller: null method: null route: null @@ -207,7 +207,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"ab","provider":"digitalocean","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"ut","provider":"aws","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -215,7 +215,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 815vc6eDEgZVPkah4fdba36' + - 'Bearer ckv4P5E8g663abheVfaZdD1' controller: null method: null route: null @@ -268,7 +268,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: eveniet + example: aliquam type: string enumValues: [] exampleWasSpecified: false @@ -278,7 +278,7 @@ endpoints: name: global description: 'Accessible in all projects' required: true - example: false + example: true type: string enumValues: - true @@ -287,13 +287,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: eveniet - global: false + name: aliquam + global: true fileParameters: [] responses: - status: 200 - content: '{"id":3,"project_id":null,"global":true,"name":"expedita","provider":"aws","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"digitalocean","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 48kfEV6ahDaP63bgcZ51evd' + - 'Bearer kD53eZ6h8PEvbd1gfcaaV64' controller: null method: null route: null @@ -363,7 +363,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P6g4av8DcaV6fdZ3k1hb5eE' + - 'Bearer ebcf146dDhP3Z5a6vg8kVEa' controller: null method: null route: null diff --git a/.scribe/endpoints/09.yaml b/.scribe/endpoints/09.yaml index ad0b53c..26b1ddc 100644 --- a/.scribe/endpoints/09.yaml +++ b/.scribe/endpoints/09.yaml @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"user":null,"name":"Dr. Pansy Kunde DVM","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Ms. Maximillia DuBuque Sr.","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"user":null,"name":"Moriah Kemmer","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Delilah Gaylord","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}}' headers: [] description: '' custom: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3Dah456fdP8kVbZ6vEag1ec' + - 'Bearer k6fva48dh5VgP3a61EbceZD' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: key_id description: 'The ID of the key.' required: true - example: debitis + example: id type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: name description: 'Key name, required if key_id is not provided.' required: true - example: illum + example: qui type: string enumValues: [] exampleWasSpecified: false @@ -131,21 +131,21 @@ endpoints: name: public_key description: 'Public Key, required if key_id is not provided.' required: true - example: dignissimos + example: vitae type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - key_id: debitis - name: illum - public_key: dignissimos + key_id: id + name: qui + public_key: vitae fileParameters: [] responses: - status: 200 - content: '{"id":null,"user":null,"name":"Uriah Harvey","created_at":null,"updated_at":null}' + content: '{"id":null,"user":null,"name":"Jesse Gleason","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8bkv164ZVPcE5gde3faa6Dh' + - 'Bearer 5D4PZfcbeVkaE61d8h36gav' controller: null method: null route: null @@ -226,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 18P65Da6Vdh3e4cZgfkvabE' + - 'Bearer 5D1e8gZPbVf63kvhaac46dE' controller: null method: null route: null diff --git a/.scribe/endpoints/10.yaml b/.scribe/endpoints/10.yaml index ca03b0b..ebe1e11 100644 --- a/.scribe/endpoints/10.yaml +++ b/.scribe/endpoints/10.yaml @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer c4d6561av3ehkVagPfZb8DE' + - 'Bearer 6ab5Ea4gV6d8DPcfvkhZe13' controller: null method: null route: null @@ -131,7 +131,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8ab6dPD5gh1EZfk36vaVe4c' + - 'Bearer cg6Zf84vaDahkE13ePdbV65' controller: null method: null route: null @@ -204,7 +204,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1VDa6ckv35hgZ8d6Eb4Pafe' + - 'Bearer EZbkV6ev83fhPga5164aDdc' controller: null method: null route: null @@ -277,7 +277,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V4d1k6b5hae3fcZDa6g8PvE' + - 'Bearer e6da1Ek63v84hDbVPgaZcf5' controller: null method: null route: null @@ -350,7 +350,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer g84c6eEZP3k5fvV6baD1had' + - 'Bearer efPg36badVZh8451aEvkc6D' controller: null method: null route: null @@ -423,7 +423,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fE4V65h18acdkgbv3Za6PDe' + - 'Bearer kaeaZ6Vh56cgbP38f1dDv4E' controller: null method: null route: null @@ -496,7 +496,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gaEcPZ83ka1v65bVfh4d6eD' + - 'Bearer cDagaEVZ3d4e616kP8fhv5b' controller: null method: null route: null @@ -569,7 +569,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8Va1aEehb5kg3P64ZdvDcf6' + - 'Bearer dPk3D4VaZhv8Eabef5166gc' controller: null method: null route: null diff --git a/.scribe/endpoints/11.yaml b/.scribe/endpoints/11.yaml index 8381bfd..d4f86ed 100644 --- a/.scribe/endpoints/11.yaml +++ b/.scribe/endpoints/11.yaml @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer d8Ev3Pce54gkZ6h6faVb1Da' + - 'Bearer veV66fcbdaaEhZg3k5P148D' controller: null method: null route: null @@ -111,7 +111,7 @@ endpoints: name: type description: '' required: true - example: phpmyadmin + example: wordpress type: string enumValues: - php @@ -127,7 +127,7 @@ endpoints: name: domain description: '' required: true - example: tenetur + example: ut type: string enumValues: [] exampleWasSpecified: false @@ -138,7 +138,7 @@ endpoints: description: '' required: true example: - - aut + - vitae type: 'string[]' enumValues: [] exampleWasSpecified: false @@ -168,7 +168,7 @@ endpoints: name: source_control description: 'Source control ID, Required for Sites which support source control' required: true - example: quasi + example: animi type: string enumValues: [] exampleWasSpecified: false @@ -218,7 +218,7 @@ endpoints: name: user description: 'user, to isolate the website under a new user' required: true - example: deleniti + example: est type: string enumValues: [] exampleWasSpecified: false @@ -228,7 +228,7 @@ endpoints: name: method description: 'Load balancer method, Required if the site type is Load balancer' required: true - example: round-robin + example: least-connections type: string enumValues: - round-robin @@ -238,19 +238,19 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: phpmyadmin - domain: tenetur + type: wordpress + domain: ut aliases: - - aut + - vitae php_version: '7.4' web_directory: public - source_control: quasi + source_control: animi repository: organization/repository branch: main composer: true version: 5.2.1 - user: deleniti - method: round-robin + user: est + method: least-connections fileParameters: [] responses: - @@ -263,7 +263,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ge6VPfkE8cah6Dv34bda15Z' + - 'Bearer b1a8cEahVek364vPfD6gdZ5' controller: null method: null route: null @@ -310,7 +310,7 @@ endpoints: name: id description: 'The ID of the site.' required: true - example: 12 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -319,7 +319,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - id: 12 + id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -336,7 +336,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a14kPe3b6fvd6ZgahEVc58D' + - 'Bearer dvh6k4EaV16a3Zefb5c8DPg' controller: null method: null route: null @@ -383,7 +383,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 9 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -392,7 +392,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 9 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -409,7 +409,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cvfD853h4EZae6dab6gVPk1' + - 'Bearer ZVP56aavDg3f8ek1c4E6hdb' controller: null method: null route: null @@ -456,7 +456,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 19 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -465,7 +465,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 19 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -473,7 +473,7 @@ endpoints: name: method description: 'Load balancer method, Required if the site type is Load balancer' required: true - example: ip-hash + example: round-robin type: string enumValues: - round-robin @@ -487,16 +487,16 @@ endpoints: description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)' required: true example: - - dolores + - eaque type: 'string[]' enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - method: ip-hash + method: round-robin servers: - - dolores + - eaque fileParameters: [] responses: - @@ -509,7 +509,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer de5Vka1avb6Zg36fDE8Ph4c' + - 'Bearer ekaVDdgZh1ca58vE34b6P6f' controller: null method: null route: null @@ -556,7 +556,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 16 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -565,7 +565,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 16 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -574,7 +574,7 @@ endpoints: description: 'Array of aliases' required: true example: - - aut + - pariatur type: 'string[]' enumValues: [] exampleWasSpecified: false @@ -582,7 +582,7 @@ endpoints: custom: [] cleanBodyParameters: aliases: - - aut + - pariatur fileParameters: [] responses: - @@ -595,7 +595,80 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6f6kVD153hEgPdZacva4b8e' + - 'Bearer 8gaaebDd641ck6V5vP3fZhE' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - POST + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deploy' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deploy + description: 'Run site deployment script' + authenticated: true + custom: [] + headers: + Authorization: 'Bearer YOUR-API-KEY' + Content-Type: application/json + Accept: application/json + urlParameters: + project_id: + name: project_id + description: 'The ID of the project.' + required: true + example: 1 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + server_id: + name: server_id + description: 'The ID of the server.' + required: true + example: 29 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + site_id: + name: site_id + description: 'The ID of the site.' + required: true + example: 44 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 44 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer ka634ZEfbgdevD56c1aVP8h' controller: null method: null route: null @@ -642,7 +715,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 3 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -651,7 +724,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 3 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -659,14 +732,14 @@ endpoints: name: script description: 'Content of the deployment script' required: true - example: qui + example: culpa type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - script: qui + script: culpa fileParameters: [] responses: - @@ -679,7 +752,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3b6Eh5eaf1d48DZvPgk6cVa' + - 'Bearer 68a6cfD4e1g3dvPVkbEaZh5' controller: null method: null route: null @@ -726,7 +799,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 16 + example: 44 type: integer enumValues: [] exampleWasSpecified: false @@ -735,7 +808,7 @@ endpoints: cleanUrlParameters: project_id: 1 server_id: 29 - site_id: 16 + site_id: 44 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -752,7 +825,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v1kEa3hgb664dfD5Z8VePac' + - 'Bearer 568gb3fdca1PDek4vZEVa6h' controller: null method: null route: null diff --git a/.scribe/endpoints/12.yaml b/.scribe/endpoints/12.yaml index c0e526d..ed29ca6 100644 --- a/.scribe/endpoints/12.yaml +++ b/.scribe/endpoints/12.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Emil Leannon","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Eleazar Pacocha Sr.","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Dawson Ratke IV","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Miss Caterina Mann DVM","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35: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}}' headers: [] description: '' custom: [] @@ -47,7 +47,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a34dVDE5ak8ceZvfh1Pb66g' + - 'Bearer vVc6ebd865ZkEgf431haDaP' controller: null method: null route: null @@ -102,7 +102,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: aliquam + example: est type: string enumValues: [] exampleWasSpecified: false @@ -112,7 +112,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: voluptatem + example: ea type: string enumValues: [] exampleWasSpecified: false @@ -122,7 +122,7 @@ endpoints: name: url description: 'The URL if the provider is Gitlab and it is self-hosted' required: true - example: 'https://brown.org/placeat-optio-illum-eius-ipsa.html' + example: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam' type: string enumValues: [] exampleWasSpecified: false @@ -132,7 +132,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: a + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -142,7 +142,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: "_/_,9'/6z;9" + example: 'S#AHlt"?l6SDU^b?T6' type: string enumValues: [] exampleWasSpecified: false @@ -150,16 +150,16 @@ endpoints: custom: [] cleanBodyParameters: provider: github - name: aliquam - token: voluptatem - url: 'https://brown.org/placeat-optio-illum-eius-ipsa.html' - username: a - password: "_/_,9'/6z;9" + name: est + token: ea + url: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam' + username: ducimus + password: 'S#AHlt"?l6SDU^b?T6' fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Ahmad Kulas","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Dr. Adella Greenholt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -167,7 +167,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 65dacDVh4kevfZ8P1bEga36' + - 'Bearer geVfZhE85aa4c16Pbk63Dvd' controller: null method: null route: null @@ -221,7 +221,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Mr. Marquis Kunde IV","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Hettie Farrell","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -229,7 +229,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a8hf6adecDkVbEZ6P1g54v3' + - 'Bearer P1kgc5vVaD4ZhE8aed6b36f' controller: null method: null route: null @@ -282,7 +282,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: laudantium + example: sunt type: string enumValues: [] exampleWasSpecified: false @@ -292,7 +292,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: nulla + example: est type: string enumValues: [] exampleWasSpecified: false @@ -302,7 +302,7 @@ endpoints: name: url description: 'The URL if the provider is Gitlab and it is self-hosted' required: true - example: 'http://wiza.com/' + example: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit' type: string enumValues: [] exampleWasSpecified: false @@ -312,7 +312,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: numquam + example: ab type: string enumValues: [] exampleWasSpecified: false @@ -322,7 +322,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: 'MlD,$m:8^A' + example: 'M@-*%?(B(UNE~Ibc#' type: string enumValues: [] exampleWasSpecified: false @@ -341,17 +341,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: laudantium - token: nulla - url: 'http://wiza.com/' - username: numquam - password: 'MlD,$m:8^A' + name: sunt + token: est + url: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit' + username: ab + password: 'M@-*%?(B(UNE~Ibc#' global: false fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Mrs. Arvilla Mitchell","provider":"github","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Jadyn Hyatt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -359,7 +359,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Z36EdDbavkeVPch68a1g45f' + - 'Bearer 63kaaDdg5fvVPeEh18b4c6Z' controller: null method: null route: null @@ -421,7 +421,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer gaadhb6Ev6Dk8fc4P1eV53Z' + - 'Bearer vb6ZE63ea8Da5fPhdkcVg14' controller: null method: null route: null diff --git a/.scribe/endpoints/13.yaml b/.scribe/endpoints/13.yaml index 1f3fae9..75b68d1 100644 --- a/.scribe/endpoints/13.yaml +++ b/.scribe/endpoints/13.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"autem","provider":"s3","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":6,"project_id":null,"global":true,"name":"nihil","provider":"ftp","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"et","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"sed","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35: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}}' headers: [] description: '' custom: [] @@ -47,7 +47,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer c8gDkZ1563Va4dvb6EaefPh' + - 'Bearer vk63dEVe6PD5af4gZcbh1a8' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: est + example: quia type: string enumValues: [] exampleWasSpecified: false @@ -99,7 +99,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: voluptatem + example: rerum type: string enumValues: [] exampleWasSpecified: false @@ -109,7 +109,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: delectus + example: hic type: string enumValues: [] exampleWasSpecified: false @@ -119,7 +119,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: natus + example: repellat type: string enumValues: [] exampleWasSpecified: false @@ -129,23 +129,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: saepe + example: maiores type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: est - name: voluptatem - token: delectus - key: natus - secret: saepe + provider: quia + name: rerum + token: hic + key: repellat + secret: maiores fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"omnis","provider":"local","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"veritatis","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer g8aVh3evPZ5dkDfac14b66E' + - 'Bearer 5ekD6EPbhdvVa84f31aZcg6' controller: null method: null route: null @@ -207,7 +207,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"molestiae","provider":"dropbox","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"fuga","provider":"local","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -215,7 +215,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 184aP6ce6b5VfdZv3hDakEg' + - 'Bearer 3fb86PcgDZadkhV1aEv4e56' controller: null method: null route: null @@ -268,7 +268,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: exercitationem + example: est type: string enumValues: [] exampleWasSpecified: false @@ -287,13 +287,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: exercitationem + name: est global: true fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"dolorum","provider":"s3","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"ut","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}' headers: [] description: '' custom: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer dav4Dh6Pgb35ckEa81f6VZe' + - 'Bearer 8E6g3aDZcafV465bdkPe1vh' controller: null method: null route: null @@ -363,7 +363,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 84vcE35a6dDZgak1ehVP6fb' + - 'Bearer vf34Dch58Va6bZgk61PaeEd' controller: null method: null route: null diff --git a/app/Http/Controllers/API/SiteController.php b/app/Http/Controllers/API/SiteController.php index 2cf85e2..91abd55 100644 --- a/app/Http/Controllers/API/SiteController.php +++ b/app/Http/Controllers/API/SiteController.php @@ -3,11 +3,13 @@ namespace App\Http\Controllers\API; use App\Actions\Site\CreateSite; +use App\Actions\Site\Deploy; use App\Actions\Site\UpdateAliases; use App\Actions\Site\UpdateDeploymentScript; use App\Actions\Site\UpdateLoadBalancer; use App\Enums\LoadBalancerMethod; use App\Enums\SiteType; +use App\Exceptions\DeploymentScriptIsEmptyException; use App\Http\Controllers\Controller; use App\Http\Resources\SiteResource; use App\Models\Project; @@ -133,6 +135,24 @@ public function updateAliases(Request $request, Project $project, Server $server return new SiteResource($site); } + #[Post('{site}/deploy', name: 'api.projects.servers.sites.deploy', middleware: 'ability:write')] + #[Endpoint(title: 'deploy', description: 'Run site deployment script')] + #[Response(status: 200)] + public function deploy(Request $request, Project $project, Server $server, Site $site): SiteResource + { + $this->authorize('update', [$site, $server]); + + $this->validateRoute($project, $server, $site); + + try { + app(Deploy::class)->run($site); + + return new SiteResource($site); + } catch (DeploymentScriptIsEmptyException) { + abort(422, 'Deployment script is empty'); + } + } + #[Put('{site}/deployment-script', name: 'api.projects.servers.sites.deployment-script', middleware: 'ability:write')] #[Endpoint(title: 'deployment-script', description: 'Update site deployment script')] #[BodyParam(name: 'script', type: 'string', description: 'Content of the deployment script')] diff --git a/public/api-docs/collection.json b/public/api-docs/collection.json index cfb9c38..be847ce 100644 --- a/public/api-docs/collection.json +++ b/public/api-docs/collection.json @@ -10,7 +10,7 @@ ], "info": { "name": "API Documentation", - "_postman_id": "89857b10-bb5c-40a2-b503-98e891d9ebef", + "_postman_id": "a3f834cc-c09b-4ca3-8824-6310bbb83f4e", "description": "VitoDeploy's API documentation.", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, @@ -101,7 +101,7 @@ ], "body": { "mode": "raw", - "raw": "{\"command\":\"sit\",\"user\":\"root\",\"frequency\":\"* * * * *\"}" + "raw": "{\"command\":\"nisi\",\"user\":\"vito\",\"frequency\":\"* * * * *\"}" }, "description": "Create a new cron job." }, @@ -138,7 +138,7 @@ { "id": "cronJob_id", "key": "cronJob_id", - "value": "13", + "value": "14", "description": "The ID of the cronJob." } ] @@ -190,7 +190,7 @@ { "id": "cronJob_id", "key": "cronJob_id", - "value": "16", + "value": "9", "description": "The ID of the cronJob." } ] @@ -265,7 +265,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"imurray\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"raleigh.heidenreich\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"lavina.zemlak\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"hill.cassidy\",\"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": "" } ] @@ -306,7 +306,7 @@ ], "body": { "mode": "raw", - "raw": "{\"username\":\"ut\",\"password\":\"L&1)4X-w>&T=:'Y2#x\",\"host\":\"%\"}" + "raw": "{\"username\":\"tempore\",\"password\":\"!jUv.BBc]X\",\"host\":\"%\"}" }, "description": "Create a new database user." }, @@ -314,7 +314,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"kbernhard\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"irwin45\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -343,7 +343,7 @@ { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "8", + "value": "3", "description": "The ID of the databaseUser." } ] @@ -366,7 +366,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"lavada.casper\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"frederic.koss\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -395,7 +395,7 @@ { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "3", + "value": "12", "description": "The ID of the databaseUser." } ] @@ -413,7 +413,7 @@ ], "body": { "mode": "raw", - "raw": "{\"databases\":\"laboriosam\"}" + "raw": "{\"databases\":\"numquam\"}" }, "description": "Link to databases" }, @@ -421,7 +421,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"ojerde\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"georgiana.hand\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -450,7 +450,7 @@ { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "8", + "value": "6", "description": "The ID of the databaseUser." } ] @@ -525,7 +525,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"fkrajcik\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"critchie\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"conn.bridget\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"aiden47\",\"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": "" } ] @@ -566,7 +566,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"esse\",\"charset\":\"ut\",\"collation\":\"labore\"}" + "raw": "{\"name\":\"vel\",\"charset\":\"qui\",\"collation\":\"autem\"}" }, "description": "Create a new database." }, @@ -574,7 +574,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"name\":\"cory33\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"name\":\"rodolfo.bradtke\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -603,7 +603,7 @@ { "id": "id", "key": "id", - "value": "9", + "value": "17", "description": "The ID of the database." } ] @@ -626,7 +626,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"name\":\"walter.jacey\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"name\":\"rhane\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -655,7 +655,7 @@ { "id": "database_id", "key": "database_id", - "value": "16", + "value": "5", "description": "The ID of the database." } ] @@ -730,7 +730,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"name\":\"optio\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":52674,\"source\":\"142.10.115.135\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"name\":\"dolores\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":34607,\"source\":\"20.175.64.76\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"name\":\"sit\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":59225,\"source\":\"130.41.114.80\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"name\":\"sequi\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":17864,\"source\":\"170.103.31.60\",\"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": "" } ] @@ -771,7 +771,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"voluptas\",\"type\":\"deny\",\"protocol\":\"udp\",\"port\":\"qui\",\"source\":\"amet\",\"mask\":\"0\"}" + "raw": "{\"name\":\"eum\",\"type\":\"deny\",\"protocol\":\"udp\",\"port\":\"incidunt\",\"source\":\"quisquam\",\"mask\":\"0\"}" }, "description": "Create a new firewall rule." }, @@ -779,7 +779,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"name\":\"molestiae\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":26783,\"source\":\"190.202.255.27\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"name\":\"consequuntur\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":50101,\"source\":\"133.245.21.1\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -826,7 +826,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"et\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"rerum\",\"source\":\"sed\",\"mask\":\"0\"}" + "raw": "{\"name\":\"dolor\",\"type\":\"deny\",\"protocol\":\"tcp\",\"port\":\"qui\",\"source\":\"porro\",\"mask\":\"0\"}" }, "description": "Update an existing firewall rule." }, @@ -834,7 +834,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"name\":\"labore\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":29044,\"source\":\"113.132.217.224\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"name\":\"numquam\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":52010,\"source\":\"159.227.119.185\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -886,7 +886,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"name\":\"ipsa\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":50679,\"source\":\"42.114.67.31\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"name\":\"voluptatem\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":5812,\"source\":\"122.105.250.56\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -992,7 +992,7 @@ }, { "key": "x-ratelimit-remaining", - "value": "58" + "value": "59" }, { "key": "access-control-allow-origin", @@ -1038,7 +1038,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":3,\"name\":\"Kattie Haley\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":4,\"name\":\"Kailyn Kiehn\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":3,\"name\":\"Selina Wintheiser DDS\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.000000Z\"},{\"id\":4,\"name\":\"Shanna Deckow\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.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": "" } ] @@ -1065,7 +1065,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"excepturi\"}" + "raw": "{\"name\":\"quibusdam\"}" }, "description": "Create a new project." }, @@ -1073,7 +1073,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Dayne White\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Mr. Johathan Koch\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.000000Z\"}", "name": "" } ] @@ -1113,7 +1113,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Cheyenne Ankunding III\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Jorge Schulist V\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.000000Z\"}", "name": "" } ] @@ -1148,7 +1148,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"mollitia\"}" + "raw": "{\"name\":\"enim\"}" }, "description": "Update project." }, @@ -1156,7 +1156,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Susanna Stark\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Annie Windler\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.000000Z\"}", "name": "" } ] @@ -1231,7 +1231,7 @@ { "id": "site_id", "key": "site_id", - "value": "11", + "value": "44", "description": "The ID of the site." } ] @@ -1254,7 +1254,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"site_id\":null,\"mode\":301,\"from\":\"error\",\"to\":\"https:\\\/\\\/www.pfannerstill.com\\\/facere-est-totam-laudantium-in-illo-sequi\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"site_id\":null,\"mode\":301,\"from\":\"repellat\",\"to\":\"http:\\\/\\\/gislason.biz\\\/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"site_id\":null,\"mode\":301,\"from\":\"eaque\",\"to\":\"http:\\\/\\\/www.windler.info\\\/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"site_id\":null,\"mode\":308,\"from\":\"neque\",\"to\":\"http:\\\/\\\/raynor.biz\\\/velit-a-tempore-quas-explicabo-doloremque\",\"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": "" } ] @@ -1283,7 +1283,7 @@ { "id": "site_id", "key": "site_id", - "value": "11", + "value": "44", "description": "The ID of the site." } ] @@ -1301,7 +1301,7 @@ ], "body": { "mode": "raw", - "raw": "{\"from\":\"vel\",\"to\":\"ea\",\"mode\":307}" + "raw": "{\"from\":\"qui\",\"to\":\"voluptatum\",\"mode\":302}" }, "description": "Create a new redirect." }, @@ -1338,7 +1338,7 @@ { "id": "site_id", "key": "site_id", - "value": "11", + "value": "44", "description": "The ID of the site." }, { @@ -1413,7 +1413,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"id\",\"provider\":\"custom\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"culpa\",\"provider\":\"linode\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"ducimus\",\"provider\":\"digitalocean\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.000000Z\"},{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"nesciunt\",\"provider\":\"hetzner\",\"created_at\":\"2025-04-05T17:35:55.000000Z\",\"updated_at\":\"2025-04-05T17:35:55.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": "" } ] @@ -1448,7 +1448,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"mollitia\",\"name\":\"adipisci\",\"token\":\"animi\",\"key\":\"provident\",\"secret\":\"deserunt\"}" + "raw": "{\"provider\":\"sunt\",\"name\":\"aut\",\"token\":\"id\",\"key\":\"porro\",\"secret\":\"voluptas\"}" }, "description": "" }, @@ -1456,7 +1456,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"vultr\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"nemo\",\"provider\":\"linode\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -1502,7 +1502,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"ab\",\"provider\":\"digitalocean\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"ut\",\"provider\":\"aws\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -1543,7 +1543,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"eveniet\",\"global\":false}" + "raw": "{\"name\":\"aliquam\",\"global\":true}" }, "description": "" }, @@ -1551,7 +1551,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"expedita\",\"provider\":\"aws\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"digitalocean\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -1643,7 +1643,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Consuelo Connelly\",\"ssh_user\":\"vito\",\"ip\":\"80.154.83.232\",\"local_ip\":\"45.31.117.65\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Rodolfo Fadel\",\"ssh_user\":\"vito\",\"ip\":\"103.227.79.93\",\"local_ip\":\"33.49.217.56\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Marcelino Rodriguez\",\"ssh_user\":\"vito\",\"ip\":\"128.182.22.13\",\"local_ip\":\"19.119.134.124\",\"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\":\"Everardo Conn\",\"ssh_user\":\"vito\",\"ip\":\"62.215.59.124\",\"local_ip\":\"32.153.141.12\",\"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": "" } ] @@ -1678,7 +1678,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"incidunt\",\"server_provider\":\"hetzner\",\"region\":\"ut\",\"plan\":\"ullam\",\"ip\":\"architecto\",\"port\":\"praesentium\",\"name\":\"facere\",\"os\":\"illo\",\"webserver\":\"none\",\"database\":\"none\",\"php\":\"8.1\"}" + "raw": "{\"provider\":\"ut\",\"server_provider\":\"hetzner\",\"region\":\"consectetur\",\"plan\":\"voluptatum\",\"ip\":\"quisquam\",\"port\":\"sapiente\",\"name\":\"itaque\",\"os\":\"aut\",\"webserver\":\"nginx\",\"database\":\"postgresql13\",\"php\":\"7.4\"}" }, "description": "Create a new server." }, @@ -1686,7 +1686,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Herbert VonRueden\",\"ssh_user\":\"vito\",\"ip\":\"91.154.105.143\",\"local_ip\":\"62.75.177.7\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Sidney Grant\",\"ssh_user\":\"vito\",\"ip\":\"22.232.10.97\",\"local_ip\":\"107.107.187.150\",\"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": "" } ] @@ -1732,7 +1732,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Connie Simonis\",\"ssh_user\":\"vito\",\"ip\":\"202.119.26.253\",\"local_ip\":\"112.75.79.203\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Maria Zemlak\",\"ssh_user\":\"vito\",\"ip\":\"4.166.233.247\",\"local_ip\":\"92.197.44.184\",\"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": "" } ] @@ -2379,7 +2379,7 @@ ], "body": { "mode": "raw", - "raw": "{\"type\":\"phpmyadmin\",\"domain\":\"tenetur\",\"aliases\":[\"aut\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"quasi\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"deleniti\",\"method\":\"round-robin\"}" + "raw": "{\"type\":\"wordpress\",\"domain\":\"ut\",\"aliases\":[\"vitae\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"animi\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"est\",\"method\":\"least-connections\"}" }, "description": "Create a new site." }, @@ -2416,7 +2416,7 @@ { "id": "id", "key": "id", - "value": "12", + "value": "44", "description": "The ID of the site." } ] @@ -2468,7 +2468,7 @@ { "id": "site_id", "key": "site_id", - "value": "9", + "value": "44", "description": "The ID of the site." } ] @@ -2520,7 +2520,7 @@ { "id": "site_id", "key": "site_id", - "value": "19", + "value": "44", "description": "The ID of the site." } ] @@ -2538,7 +2538,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"ip-hash\",\"servers\":[\"dolores\"]}" + "raw": "{\"method\":\"round-robin\",\"servers\":[\"eaque\"]}" }, "description": "Update load balancer." }, @@ -2575,7 +2575,7 @@ { "id": "site_id", "key": "site_id", - "value": "16", + "value": "44", "description": "The ID of the site." } ] @@ -2593,7 +2593,7 @@ ], "body": { "mode": "raw", - "raw": "{\"aliases\":[\"aut\"]}" + "raw": "{\"aliases\":[\"pariatur\"]}" }, "description": "Update aliases." }, @@ -2606,6 +2606,58 @@ } ] }, + { + "name": "deploy", + "request": { + "url": { + "host": "{{baseUrl}}", + "path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deploy", + "query": [], + "raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deploy", + "variable": [ + { + "id": "project_id", + "key": "project_id", + "value": "1", + "description": "The ID of the project." + }, + { + "id": "server_id", + "key": "server_id", + "value": "29", + "description": "The ID of the server." + }, + { + "id": "site_id", + "key": "site_id", + "value": "44", + "description": "The ID of the site." + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application\/json" + }, + { + "key": "Accept", + "value": "application\/json" + } + ], + "body": null, + "description": "Run site deployment script" + }, + "response": [ + { + "header": [], + "code": 200, + "body": null, + "name": "" + } + ] + }, { "name": "deployment-script", "request": { @@ -2630,7 +2682,7 @@ { "id": "site_id", "key": "site_id", - "value": "3", + "value": "44", "description": "The ID of the site." } ] @@ -2648,7 +2700,7 @@ ], "body": { "mode": "raw", - "raw": "{\"script\":\"qui\"}" + "raw": "{\"script\":\"culpa\"}" }, "description": "Update site deployment script" }, @@ -2685,7 +2737,7 @@ { "id": "site_id", "key": "site_id", - "value": "16", + "value": "44", "description": "The ID of the site." } ] @@ -2754,7 +2806,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Emil Leannon\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Eleazar Pacocha Sr.\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Dawson Ratke IV\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Miss Caterina Mann DVM\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35: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": "" } ] @@ -2789,7 +2841,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"github\",\"name\":\"aliquam\",\"token\":\"voluptatem\",\"url\":\"https:\\\/\\\/brown.org\\\/placeat-optio-illum-eius-ipsa.html\",\"username\":\"a\",\"password\":\"_\\\/_,9'\\\/6z;9\"}" + "raw": "{\"provider\":\"github\",\"name\":\"est\",\"token\":\"ea\",\"url\":\"http:\\\/\\\/koepp.info\\\/maiores-nostrum-consequuntur-dicta-iure-ullam\",\"username\":\"ducimus\",\"password\":\"S#AHlt\\\"?l6SDU^b?T6\"}" }, "description": "" }, @@ -2797,7 +2849,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Ahmad Kulas\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Dr. Adella Greenholt\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -2843,7 +2895,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mr. Marquis Kunde IV\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Hettie Farrell\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -2884,7 +2936,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"laudantium\",\"token\":\"nulla\",\"url\":\"http:\\\/\\\/wiza.com\\\/\",\"username\":\"numquam\",\"password\":\"MlD,$m:8^A\",\"global\":false}" + "raw": "{\"name\":\"sunt\",\"token\":\"est\",\"url\":\"http:\\\/\\\/www.fay.com\\\/quisquam-autem-illum-omnis-quo-enim-eligendi-velit\",\"username\":\"ab\",\"password\":\"M@-*%?(B(UNE~Ibc#\",\"global\":false}" }, "description": "" }, @@ -2892,7 +2944,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mrs. Arvilla Mitchell\",\"provider\":\"github\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Jadyn Hyatt\",\"provider\":\"github\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -2990,7 +3042,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Dr. Pansy Kunde DVM\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Ms. Maximillia DuBuque Sr.\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Moriah Kemmer\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Delilah Gaylord\",\"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": "" } ] @@ -3031,7 +3083,7 @@ ], "body": { "mode": "raw", - "raw": "{\"key_id\":\"debitis\",\"name\":\"illum\",\"public_key\":\"dignissimos\"}" + "raw": "{\"key_id\":\"id\",\"name\":\"qui\",\"public_key\":\"vitae\"}" }, "description": "Deploy ssh key to server." }, @@ -3039,7 +3091,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"user\":null,\"name\":\"Uriah Harvey\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"user\":null,\"name\":\"Jesse Gleason\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -3137,7 +3189,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"autem\",\"provider\":\"s3\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"nihil\",\"provider\":\"ftp\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"dropbox\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"sed\",\"provider\":\"dropbox\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35: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": "" } ] @@ -3172,7 +3224,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"est\",\"name\":\"voluptatem\",\"token\":\"delectus\",\"key\":\"natus\",\"secret\":\"saepe\"}" + "raw": "{\"provider\":\"quia\",\"name\":\"rerum\",\"token\":\"hic\",\"key\":\"repellat\",\"secret\":\"maiores\"}" }, "description": "" }, @@ -3180,7 +3232,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"omnis\",\"provider\":\"local\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"veritatis\",\"provider\":\"ftp\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -3226,7 +3278,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"molestiae\",\"provider\":\"dropbox\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"fuga\",\"provider\":\"local\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] @@ -3267,7 +3319,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"exercitationem\",\"global\":true}" + "raw": "{\"name\":\"est\",\"global\":true}" }, "description": "" }, @@ -3275,7 +3327,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"dolorum\",\"provider\":\"s3\",\"created_at\":\"2025-03-31T15:27:17.000000Z\",\"updated_at\":\"2025-03-31T15:27:17.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"ut\",\"provider\":\"ftp\",\"created_at\":\"2025-04-05T17:35:56.000000Z\",\"updated_at\":\"2025-04-05T17:35:56.000000Z\"}", "name": "" } ] diff --git a/public/api-docs/index.html b/public/api-docs/index.html index 0b23495..699f616 100644 --- a/public/api-docs/index.html +++ b/public/api-docs/index.html @@ -298,6 +298,9 @@
  • aliases +
  • +
  • + deploy
  • deployment-script @@ -376,7 +379,7 @@ @@ -644,8 +647,8 @@

    c --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"command\": \"sit\", - \"user\": \"root\", + \"command\": \"nisi\", + \"user\": \"vito\", \"frequency\": \"* * * * *\" }" @@ -663,8 +666,8 @@

    c 'Accept' => 'application/json', ], 'json' => [ - 'command' => 'sit', - 'user' => 'root', + 'command' => 'nisi', + 'user' => 'vito', 'frequency' => '* * * * *', ], ] @@ -685,8 +688,8 @@

    c }; let body = { - "command": "sit", - "user": "root", + "command": "nisi", + "user": "vito", "frequency": "* * * * *" }; @@ -826,10 +829,10 @@

    Body Parameters

     
    -

    Example: sit

    +

    Example: nisi

    user   @@ -837,10 +840,10 @@

    Body Parameters

     
    -

    Example: root

    +

    Example: vito

    Must be one of:
    • root
    • vito
    @@ -871,7 +874,7 @@

    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/cron-jobs/13" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/cron-jobs/14" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -879,7 +882,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/13';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/14';
     $response = $client->get(
         $url,
         [
    @@ -896,7 +899,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/13"
    +    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/14"
     );
     
     const headers = {
    @@ -1039,10 +1042,10 @@ 

    URL Parameters

     
    -

    The ID of the cronJob. Example: 13

    +

    The ID of the cronJob. Example: 14

    @@ -1060,7 +1063,7 @@

    curl --request DELETE \
    -    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/16" \
    +    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/9" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -1068,7 +1071,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/16';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/9';
     $response = $client->delete(
         $url,
         [
    @@ -1085,7 +1088,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/16"
    +    "https://your-vito-url/api/projects/1/servers/29/cron-jobs/9"
     );
     
     const headers = {
    @@ -1218,10 +1221,10 @@ 

    URL Parameters

     
    -

    The ID of the cronJob. Example: 16

    +

    The ID of the cronJob. Example: 9

    @@ -1295,7 +1298,7 @@

    @@ -1491,8 +1494,8 @@

    { "id": null, "server_id": null, - "username": "kbernhard", + "username": "irwin45", "databases": [], "host": "%", "status": null, @@ -1654,10 +1657,10 @@

    Body Parameters

     
    -

    Example: ut

    +

    Example: tempore

    password   @@ -1665,10 +1668,10 @@

    Body Parameters

     
    -

    Example: L&1)4X-w>&T=:'Y2#x

    +

    Example: !jUv.BBc]X

    host   @@ -1697,7 +1700,7 @@

    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/database-users/8" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/database-users/3" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"

    @@ -1705,7 +1708,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/8';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/3';
     $response = $client->get(
         $url,
         [
    @@ -1722,7 +1725,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/database-users/8"
    +    "https://your-vito-url/api/projects/1/servers/29/database-users/3"
     );
     
     const headers = {
    @@ -1747,7 +1750,7 @@ 

    { "id": null, "server_id": null, - "username": "lavada.casper", + "username": "frederic.koss", "databases": [], "host": "%", "status": null, @@ -1865,10 +1868,10 @@

    URL Parameters

     
    -

    The ID of the databaseUser. Example: 8

    +

    The ID of the databaseUser. Example: 3

    @@ -1886,19 +1889,19 @@

    curl --request POST \
    -    "https://your-vito-url/api/projects/1/servers/29/database-users/3/link" \
    +    "https://your-vito-url/api/projects/1/servers/29/database-users/12/link" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json" \
         --data "{
    -    \"databases\": \"laboriosam\"
    +    \"databases\": \"numquam\"
     }"
     
    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/3/link';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/12/link';
     $response = $client->post(
         $url,
         [
    @@ -1908,7 +1911,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/database-users/3/link"
    +    "https://your-vito-url/api/projects/1/servers/29/database-users/12/link"
     );
     
     const headers = {
    @@ -1928,7 +1931,7 @@ 

    { "id": null, "server_id": null, - "username": "ojerde", + "username": "georgiana.hand", "databases": [], "host": "%", "status": null, @@ -2066,10 +2069,10 @@

    URL Parameters

     
    -

    The ID of the databaseUser. Example: 3

    +

    The ID of the databaseUser. Example: 12

    Body Parameters

    @@ -2078,10 +2081,10 @@

    Body Parameters

     
    -

    Array of database names to link to the user. Example: laboriosam

    +

    Array of database names to link to the user. Example: numquam

    @@ -2099,7 +2102,7 @@

    curl --request DELETE \
    -    "https://your-vito-url/api/projects/1/servers/29/database-users/8" \
    +    "https://your-vito-url/api/projects/1/servers/29/database-users/6" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -2107,7 +2110,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/8';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/6';
     $response = $client->delete(
         $url,
         [
    @@ -2124,7 +2127,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/database-users/8"
    +    "https://your-vito-url/api/projects/1/servers/29/database-users/6"
     );
     
     const headers = {
    @@ -2257,10 +2260,10 @@ 

    URL Parameters

     
    -

    The ID of the databaseUser. Example: 8

    +

    The ID of the databaseUser. Example: 6

    @@ -2334,7 +2337,7 @@

    li { "id": null, "server_id": null, - "name": "fkrajcik", + "name": "conn.bridget", "status": "ready", "created_at": null, "updated_at": null @@ -2342,7 +2345,7 @@

    li { "id": null, "server_id": null, - "name": "critchie", + "name": "aiden47", "status": "ready", "created_at": null, "updated_at": null @@ -2507,9 +2510,9 @@

    c --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"name\": \"esse\", - \"charset\": \"ut\", - \"collation\": \"labore\" + \"name\": \"vel\", + \"charset\": \"qui\", + \"collation\": \"autem\" }"

    @@ -2526,9 +2529,9 @@

    c 'Accept' => 'application/json', ], 'json' => [ - 'name' => 'esse', - 'charset' => 'ut', - 'collation' => 'labore', + 'name' => 'vel', + 'charset' => 'qui', + 'collation' => 'autem', ], ] ); @@ -2548,9 +2551,9 @@

    c }; let body = { - "name": "esse", - "charset": "ut", - "collation": "labore" + "name": "vel", + "charset": "qui", + "collation": "autem" }; fetch(url, { @@ -2570,7 +2573,7 @@

    c { "id": null, "server_id": null, - "name": "cory33", + "name": "rodolfo.bradtke", "status": "ready", "created_at": null, "updated_at": null @@ -2687,10 +2690,10 @@

    Body Parameters

     
    -

    Example: esse

    +

    Example: vel

    charset   @@ -2698,10 +2701,10 @@

    Body Parameters

     
    -

    Example: ut

    +

    Example: qui

    collation   @@ -2709,10 +2712,10 @@

    Body Parameters

     
    -

    Example: labore

    +

    Example: autem

    @@ -2730,7 +2733,7 @@

    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/databases/9" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/databases/17" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -2738,7 +2741,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/databases/9';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/databases/17';
     $response = $client->get(
         $url,
         [
    @@ -2755,7 +2758,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/databases/9"
    +    "https://your-vito-url/api/projects/1/servers/29/databases/17"
     );
     
     const headers = {
    @@ -2780,7 +2783,7 @@ 

    { "id": null, "server_id": null, - "name": "walter.jacey", + "name": "rhane", "status": "ready", "created_at": null, "updated_at": null @@ -2896,10 +2899,10 @@

    URL Parameters

     
    -

    The ID of the database. Example: 9

    +

    The ID of the database. Example: 17

    @@ -2917,7 +2920,7 @@

    curl --request DELETE \
    -    "https://your-vito-url/api/projects/1/servers/29/databases/16" \
    +    "https://your-vito-url/api/projects/1/servers/29/databases/5" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -2925,7 +2928,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/databases/16';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/databases/5';
     $response = $client->delete(
         $url,
         [
    @@ -2942,7 +2945,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/databases/16"
    +    "https://your-vito-url/api/projects/1/servers/29/databases/5"
     );
     
     const headers = {
    @@ -3075,10 +3078,10 @@ 

    URL Parameters

     
    -

    The ID of the database. Example: 16

    +

    The ID of the database. Example: 5

    @@ -3151,12 +3154,12 @@

    @@ -3359,11 +3362,11 @@

    { "id": null, - "name": "molestiae", + "name": "consequuntur", "server_id": null, "type": "allow", "protocol": "tcp", - "port": 26783, - "source": "190.202.255.27", + "port": 50101, + "source": "133.245.21.1", "mask": 24, "note": "test", "status": null, @@ -3532,10 +3535,10 @@

    Body Parameters

     
    -

    Example: voluptas

    +

    Example: eum

    type   @@ -3569,10 +3572,10 @@

    Body Parameters

     
    -

    Example: qui

    +

    Example: incidunt

    source   @@ -3580,10 +3583,10 @@

    Body Parameters

    optional  
    -

    Example: amet

    +

    Example: quisquam

    mask   @@ -3617,11 +3620,11 @@

    @@ -3639,11 +3642,11 @@

    { "id": null, - "name": "labore", + "name": "numquam", "server_id": null, "type": "allow", "protocol": "tcp", - "port": 29044, - "source": "113.132.217.224", + "port": 52010, + "source": "159.227.119.185", "mask": 24, "note": "test", "status": null, @@ -3823,10 +3826,10 @@

    Body Parameters

     
    -

    Example: et

    +

    Example: dolor

    type   @@ -3834,10 +3837,10 @@

    Body Parameters

     
    -

    Example: allow

    +

    Example: deny

    Must be one of:
    • allow
    • deny
    @@ -3860,10 +3863,10 @@

    Body Parameters

     
    -

    Example: rerum

    +

    Example: qui

    source   @@ -3871,10 +3874,10 @@

    Body Parameters

    optional  
    -

    Example: sed

    +

    Example: porro

    mask   @@ -3952,12 +3955,12 @@

    { "id": null, - "name": "ipsa", + "name": "voluptatem", "server_id": null, "type": "allow", "protocol": "tcp", - "port": 50679, - "source": "42.114.67.31", + "port": 5812, + "source": "122.105.250.56", "mask": 24, "note": "test", "status": null, @@ -4327,7 +4330,7 @@

    health-check

    cache-control: no-cache, private
     content-type: application/json
     x-ratelimit-limit: 60
    -x-ratelimit-remaining: 58
    +x-ratelimit-remaining: 59
     access-control-allow-origin: *
      
     
    @@ -4477,15 +4480,15 @@ 

    list

    "data": [ { "id": 3, - "name": "Kattie Haley", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "Selina Wintheiser DDS", + "created_at": "2025-04-05T17:35:55.000000Z", + "updated_at": "2025-04-05T17:35:55.000000Z" }, { "id": 4, - "name": "Kailyn Kiehn", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "Shanna Deckow", + "created_at": "2025-04-05T17:35:55.000000Z", + "updated_at": "2025-04-05T17:35:55.000000Z" } ], "links": { @@ -4624,7 +4627,7 @@

    create

    --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"name\": \"excepturi\" + \"name\": \"quibusdam\" }"
    @@ -4641,7 +4644,7 @@

    create

    'Accept' => 'application/json', ], 'json' => [ - 'name' => 'excepturi', + 'name' => 'quibusdam', ], ] ); @@ -4661,7 +4664,7 @@

    create

    }; let body = { - "name": "excepturi" + "name": "quibusdam" }; fetch(url, { @@ -4680,9 +4683,9 @@

    create

    { "id": 3, - "name": "Dayne White", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "Mr. Johathan Koch", + "created_at": "2025-04-05T17:35:55.000000Z", + "updated_at": "2025-04-05T17:35:55.000000Z" }

    @@ -4773,10 +4776,10 @@

    Body Parameters

     
    -

    The name of the project. Example: excepturi

    +

    The name of the project. Example: quibusdam

    @@ -4843,9 +4846,9 @@

    show

    { "id": 3, - "name": "Cheyenne Ankunding III", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "Jorge Schulist V", + "created_at": "2025-04-05T17:35:55.000000Z", + "updated_at": "2025-04-05T17:35:55.000000Z" }

    @@ -4962,7 +4965,7 @@

    update

    --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"name\": \"mollitia\" + \"name\": \"enim\" }"

    @@ -4979,7 +4982,7 @@

    update

    'Accept' => 'application/json', ], 'json' => [ - 'name' => 'mollitia', + 'name' => 'enim', ], ] ); @@ -4999,7 +5002,7 @@

    update

    }; let body = { - "name": "mollitia" + "name": "enim" }; fetch(url, { @@ -5018,9 +5021,9 @@

    update

    { "id": 3, - "name": "Susanna Stark", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "Annie Windler", + "created_at": "2025-04-05T17:35:55.000000Z", + "updated_at": "2025-04-05T17:35:55.000000Z" }

    @@ -5123,10 +5126,10 @@

    Body Parameters

     
    -

    The name of the project. Example: mollitia

    +

    The name of the project. Example: enim

    @@ -5305,7 +5308,7 @@

    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -5313,7 +5316,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/11/redirects';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/redirects';
     $response = $client->get(
         $url,
         [
    @@ -5330,7 +5333,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects"
     );
     
     const headers = {
    @@ -5358,8 +5361,8 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 11

    +

    The ID of the site. Example: 44

    @@ -5540,21 +5543,21 @@

    curl --request POST \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json" \
         --data "{
    -    \"from\": \"vel\",
    -    \"to\": \"ea\",
    -    \"mode\": 307
    +    \"from\": \"qui\",
    +    \"to\": \"voluptatum\",
    +    \"mode\": 302
     }"
     
    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/11/redirects';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/redirects';
     $response = $client->post(
         $url,
         [
    @@ -5564,9 +5567,9 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects"
     );
     
     const headers = {
    @@ -5586,9 +5589,9 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 11

    +

    The ID of the site. Example: 44

    Body Parameters

    @@ -5729,10 +5732,10 @@

    Body Parameters

     
    -

    Example: vel

    +

    Example: qui

    to   @@ -5740,10 +5743,10 @@

    Body Parameters

     
    -

    Example: ea

    +

    Example: voluptatum

    mode   @@ -5751,10 +5754,10 @@

    Body Parameters

     
    -

    Example: 307

    +

    Example: 302

    Must be one of:
    • 301
    • 302
    • 307
    • 308
    @@ -5774,7 +5777,7 @@

    curl --request DELETE \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects/9" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects/9" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -5782,7 +5785,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/11/redirects/9';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/redirects/9';
     $response = $client->delete(
         $url,
         [
    @@ -5799,7 +5802,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/11/redirects/9"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/redirects/9"
     );
     
     const headers = {
    @@ -5932,10 +5935,10 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 11

    +

    The ID of the site. Example: 44

    redirect_id   @@ -6021,19 +6024,19 @@

    list

    create< --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"provider\": \"mollitia\", - \"name\": \"adipisci\", - \"token\": \"animi\", - \"key\": \"provident\", - \"secret\": \"deserunt\" + \"provider\": \"sunt\", + \"name\": \"aut\", + \"token\": \"id\", + \"key\": \"porro\", + \"secret\": \"voluptas\" }"
    @@ -6205,11 +6208,11 @@

    create< 'Accept' => 'application/json', ], 'json' => [ - 'provider' => 'mollitia', - 'name' => 'adipisci', - 'token' => 'animi', - 'key' => 'provident', - 'secret' => 'deserunt', + 'provider' => 'sunt', + 'name' => 'aut', + 'token' => 'id', + 'key' => 'porro', + 'secret' => 'voluptas', ], ] ); @@ -6229,11 +6232,11 @@

    create< }; let body = { - "provider": "mollitia", - "name": "adipisci", - "token": "animi", - "key": "provident", - "secret": "deserunt" + "provider": "sunt", + "name": "aut", + "token": "id", + "key": "porro", + "secret": "voluptas" }; fetch(url, { @@ -6254,10 +6257,10 @@

    create< "id": 3, "project_id": null, "global": true, - "name": "et", - "provider": "vultr", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "nemo", + "provider": "linode", + "created_at": "2025-04-05T17:35:56.000000Z", + "updated_at": "2025-04-05T17:35:56.000000Z" }

    @@ -6360,10 +6363,10 @@

    Body Parameters

     
    -

    The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: mollitia

    +

    The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: sunt

    name   @@ -6371,10 +6374,10 @@

    Body Parameters

     
    -

    The name of the server provider. Example: adipisci

    +

    The name of the server provider. Example: aut

    token   @@ -6382,10 +6385,10 @@

    Body Parameters

     
    -

    The token if provider requires api token Example: animi

    +

    The token if provider requires api token Example: id

    key   @@ -6393,10 +6396,10 @@

    Body Parameters

     
    -

    The key if provider requires key Example: provident

    +

    The key if provider requires key Example: porro

    secret   @@ -6404,10 +6407,10 @@

    Body Parameters

     
    -

    The secret if provider requires key Example: deserunt

    +

    The secret if provider requires key Example: voluptas

    @@ -6476,10 +6479,10 @@

    @@ -6625,8 +6628,8 @@

    Body Parameters

     
    -

    The name of the server provider. Example: eveniet

    +

    The name of the server provider. Example: aliquam

    global   @@ -6799,7 +6802,7 @@

    Body Parameters

    value="" data-component="body">
    -

    Accessible in all projects Example: false

    +

    Accessible in all projects Example: true

    Must be one of:
    • 1
    @@ -7045,10 +7048,10 @@

    list

    "project_id": null, "user_id": null, "provider_id": null, - "name": "Consuelo Connelly", + "name": "Marcelino Rodriguez", "ssh_user": "vito", - "ip": "80.154.83.232", - "local_ip": "45.31.117.65", + "ip": "128.182.22.13", + "local_ip": "19.119.134.124", "port": 22, "os": "ubuntu_22", "type": "regular", @@ -7072,10 +7075,10 @@

    list

    "project_id": null, "user_id": null, "provider_id": null, - "name": "Rodolfo Fadel", + "name": "Everardo Conn", "ssh_user": "vito", - "ip": "103.227.79.93", - "local_ip": "33.49.217.56", + "ip": "62.215.59.124", + "local_ip": "32.153.141.12", "port": 22, "os": "ubuntu_22", "type": "regular", @@ -7243,17 +7246,17 @@

    create

    --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"provider\": \"incidunt\", + \"provider\": \"ut\", \"server_provider\": \"hetzner\", - \"region\": \"ut\", - \"plan\": \"ullam\", - \"ip\": \"architecto\", - \"port\": \"praesentium\", - \"name\": \"facere\", - \"os\": \"illo\", - \"webserver\": \"none\", - \"database\": \"none\", - \"php\": \"8.1\" + \"region\": \"consectetur\", + \"plan\": \"voluptatum\", + \"ip\": \"quisquam\", + \"port\": \"sapiente\", + \"name\": \"itaque\", + \"os\": \"aut\", + \"webserver\": \"nginx\", + \"database\": \"postgresql13\", + \"php\": \"7.4\" }"

    @@ -7270,17 +7273,17 @@

    create

    'Accept' => 'application/json', ], 'json' => [ - 'provider' => 'incidunt', + 'provider' => 'ut', 'server_provider' => 'hetzner', - 'region' => 'ut', - 'plan' => 'ullam', - 'ip' => 'architecto', - 'port' => 'praesentium', - 'name' => 'facere', - 'os' => 'illo', - 'webserver' => 'none', - 'database' => 'none', - 'php' => '8.1', + 'region' => 'consectetur', + 'plan' => 'voluptatum', + 'ip' => 'quisquam', + 'port' => 'sapiente', + 'name' => 'itaque', + 'os' => 'aut', + 'webserver' => 'nginx', + 'database' => 'postgresql13', + 'php' => '7.4', ], ] ); @@ -7300,17 +7303,17 @@

    create

    }; let body = { - "provider": "incidunt", + "provider": "ut", "server_provider": "hetzner", - "region": "ut", - "plan": "ullam", - "ip": "architecto", - "port": "praesentium", - "name": "facere", - "os": "illo", - "webserver": "none", - "database": "none", - "php": "8.1" + "region": "consectetur", + "plan": "voluptatum", + "ip": "quisquam", + "port": "sapiente", + "name": "itaque", + "os": "aut", + "webserver": "nginx", + "database": "postgresql13", + "php": "7.4" }; fetch(url, { @@ -7332,10 +7335,10 @@

    create

    "project_id": null, "user_id": null, "provider_id": null, - "name": "Herbert VonRueden", + "name": "Sidney Grant", "ssh_user": "vito", - "ip": "91.154.105.143", - "local_ip": "62.75.177.7", + "ip": "22.232.10.97", + "local_ip": "107.107.187.150", "port": 22, "os": "ubuntu_22", "type": "regular", @@ -7455,10 +7458,10 @@

    Body Parameters

     
    -

    The server provider type Example: incidunt

    +

    The server provider type Example: ut

    server_provider   @@ -7479,10 +7482,10 @@

    Body Parameters

     
    -

    Provider region if the provider is not custom Example: ut

    +

    Provider region if the provider is not custom Example: consectetur

    plan   @@ -7490,10 +7493,10 @@

    Body Parameters

     
    -

    Provider plan if the provider is not custom Example: ullam

    +

    Provider plan if the provider is not custom Example: voluptatum

    ip   @@ -7501,10 +7504,10 @@

    Body Parameters

     
    -

    SSH IP address if the provider is custom Example: architecto

    +

    SSH IP address if the provider is custom Example: quisquam

    port   @@ -7512,10 +7515,10 @@

    Body Parameters

     
    -

    SSH Port if the provider is custom Example: praesentium

    +

    SSH Port if the provider is custom Example: sapiente

    name   @@ -7523,10 +7526,10 @@

    Body Parameters

     
    -

    The name of the server. Example: facere

    +

    The name of the server. Example: itaque

    os   @@ -7534,10 +7537,10 @@

    Body Parameters

     
    -

    The os of the server Example: illo

    +

    The os of the server Example: aut

    webserver   @@ -7545,10 +7548,10 @@

    Body Parameters

     
    -

    Web server Example: none

    +

    Web server Example: nginx

    Must be one of:
    • none
    • nginx
    @@ -7558,10 +7561,10 @@

    Body Parameters

     
    -

    Database Example: none

    +

    Database Example: postgresql13

    Must be one of:
    • none
    • mysql57
    • mysql80
    • mariadb103
    • mariadb104
    • mariadb103
    • postgresql12
    • postgresql13
    • postgresql14
    • postgresql15
    • postgresql16
    @@ -7571,10 +7574,10 @@

    Body Parameters

     
    -

    PHP version Example: 8.1

    +

    PHP version Example: 7.4

    Must be one of:
    • 7.0
    • 7.1
    • 7.2
    • 7.3
    • 7.4
    • 8.0
    • 8.1
    • 8.2
    • 8.3
    @@ -7646,10 +7649,10 @@

    show

    "project_id": null, "user_id": null, "provider_id": null, - "name": "Connie Simonis", + "name": "Maria Zemlak", "ssh_user": "vito", - "ip": "202.119.26.253", - "local_ip": "112.75.79.203", + "ip": "4.166.233.247", + "local_ip": "92.197.44.184", "port": 22, "os": "ubuntu_22", "type": "regular", @@ -10046,20 +10049,20 @@

    create

    @@ -10076,20 +10079,20 @@

    createcreateBody Parameters

     
    -

    Example: phpmyadmin

    +

    Example: wordpress

    Must be one of:
    • php
    • php-blank
    • phpmyadmin
    • laravel
    • wordpress
    • load-balancer
    @@ -10284,10 +10287,10 @@

    Body Parameters

     
    -

    Example: tenetur

    +

    Example: ut

    aliases   @@ -10330,10 +10333,10 @@

    Body Parameters

     
    -

    Source control ID, Required for Sites which support source control Example: quasi

    +

    Source control ID, Required for Sites which support source control Example: animi

    repository   @@ -10395,10 +10398,10 @@

    Body Parameters

     
    -

    user, to isolate the website under a new user Example: deleniti

    +

    user, to isolate the website under a new user Example: est

    method   @@ -10406,10 +10409,10 @@

    Body Parameters

     
    -

    Load balancer method, Required if the site type is Load balancer Example: round-robin

    +

    Load balancer method, Required if the site type is Load balancer Example: least-connections

    Must be one of:
    • round-robin
    • least-connections
    • ip-hash
    @@ -10429,7 +10432,7 @@

    show<
    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/sites/12" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/sites/44" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -10437,7 +10440,7 @@

    show<
    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/12';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44';
     $response = $client->get(
         $url,
         [
    @@ -10454,7 +10457,7 @@ 

    show<
    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/12"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44"
     );
     
     const headers = {
    @@ -10607,10 +10610,10 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 12

    +

    The ID of the site. Example: 44

    @@ -10628,7 +10631,7 @@

    curl --request DELETE \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/9" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"

    @@ -10636,7 +10639,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/9';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44';
     $response = $client->delete(
         $url,
         [
    @@ -10653,7 +10656,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/9"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44"
     );
     
     const headers = {
    @@ -10786,10 +10789,10 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 9

    +

    The ID of the site. Example: 44

    @@ -10807,14 +10810,14 @@

    curl --request POST \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/19/load-balancer" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/load-balancer" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json" \
         --data "{
    -    \"method\": \"ip-hash\",
    +    \"method\": \"round-robin\",
         \"servers\": [
    -        \"dolores\"
    +        \"eaque\"
         ]
     }"
     
    @@ -10822,7 +10825,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/19/load-balancer';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/load-balancer';
     $response = $client->post(
         $url,
         [
    @@ -10832,9 +10835,9 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/19/load-balancer"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/load-balancer"
     );
     
     const headers = {
    @@ -10855,9 +10858,9 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 19

    +

    The ID of the site. Example: 44

    Body Parameters

    @@ -10999,10 +11002,10 @@

    Body Parameters

     
    -

    Load balancer method, Required if the site type is Load balancer Example: ip-hash

    +

    Load balancer method, Required if the site type is Load balancer Example: round-robin

    Must be one of:
    • round-robin
    • least-connections
    • ip-hash
    @@ -11035,13 +11038,13 @@

    curl --request PUT \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/16/aliases" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/aliases" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json" \
         --data "{
         \"aliases\": [
    -        \"aut\"
    +        \"pariatur\"
         ]
     }"
     
    @@ -11049,7 +11052,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/16/aliases';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/aliases';
     $response = $client->put(
         $url,
         [
    @@ -11060,7 +11063,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/16/aliases"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/aliases"
     );
     
     const headers = {
    @@ -11082,7 +11085,7 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 16

    +

    The ID of the site. Example: 44

    Body Parameters

    @@ -11233,6 +11236,186 @@

    Body Parameters

    +

    deploy

    + +

    +requires authentication +

    + +

    Run site deployment script

    + + +
    Example request:
    + + +
    +
    curl --request POST \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/deploy" \
    +    --header "Authorization: Bearer YOUR-API-KEY" \
    +    --header "Content-Type: application/json" \
    +    --header "Accept: application/json"
    + + +
    +
    $client = new \GuzzleHttp\Client();
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/deploy';
    +$response = $client->post(
    +    $url,
    +    [
    +        'headers' => [
    +            'Authorization' => 'Bearer YOUR-API-KEY',
    +            'Content-Type' => 'application/json',
    +            'Accept' => 'application/json',
    +        ],
    +    ]
    +);
    +$body = $response->getBody();
    +print_r(json_decode((string) $body));
    + + +
    +
    const url = new URL(
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/deploy"
    +);
    +
    +const headers = {
    +    "Authorization": "Bearer YOUR-API-KEY",
    +    "Content-Type": "application/json",
    +    "Accept": "application/json",
    +};
    +
    +fetch(url, {
    +    method: "POST",
    +    headers,
    +}).then(response => response.json());
    + +
    + + +
    +

    Example response (200):

    +
    +
    +
    +
    + 
    +
    + + +
    +

    + Request    + +    + +

    +

    + POST + api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deploy +

    +

    Headers

    +
    + Authorization   +  +   + +
    +

    Example: Bearer YOUR-API-KEY

    +
    +
    + Content-Type   +  +   + +
    +

    Example: application/json

    +
    +
    + Accept   +  +   + +
    +

    Example: application/json

    +
    +

    URL Parameters

    +
    + project_id   +integer  +   + +
    +

    The ID of the project. Example: 1

    +
    +
    + server_id   +integer  +   + +
    +

    The ID of the server. Example: 29

    +
    +
    + site_id   +integer  +   + +
    +

    The ID of the site. Example: 44

    +
    +
    +

    deployment-script

    @@ -11247,19 +11430,19 @@

    curl --request PUT \
    -    "https://your-vito-url/api/projects/1/servers/29/sites/3/deployment-script" \
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json" \
         --data "{
    -    \"script\": \"qui\"
    +    \"script\": \"culpa\"
     }"
     
    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/3/deployment-script';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script';
     $response = $client->put(
         $url,
         [
    @@ -11269,7 +11452,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/3/deployment-script"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script"
     );
     
     const headers = {
    @@ -11289,7 +11472,7 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 3

    +

    The ID of the site. Example: 44

    Body Parameters

    @@ -11429,10 +11612,10 @@

    Body Parameters

     
    -

    Content of the deployment script Example: qui

    +

    Content of the deployment script Example: culpa

    @@ -11450,7 +11633,7 @@

    curl --request GET \
    -    --get "https://your-vito-url/api/projects/1/servers/29/sites/16/deployment-script" \
    +    --get "https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script" \
         --header "Authorization: Bearer YOUR-API-KEY" \
         --header "Content-Type: application/json" \
         --header "Accept: application/json"
    @@ -11458,7 +11641,7 @@

    $client = new \GuzzleHttp\Client();
    -$url = 'https://your-vito-url/api/projects/1/servers/29/sites/16/deployment-script';
    +$url = 'https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script';
     $response = $client->get(
         $url,
         [
    @@ -11475,7 +11658,7 @@ 

    const url = new URL(
    -    "https://your-vito-url/api/projects/1/servers/29/sites/16/deployment-script"
    +    "https://your-vito-url/api/projects/1/servers/29/sites/44/deployment-script"
     );
     
     const headers = {
    @@ -11609,10 +11792,10 @@ 

    URL Parameters

     
    -

    The ID of the site. Example: 16

    +

    The ID of the site. Example: 44

    @@ -11687,19 +11870,19 @@

    list

    "id": 5, "project_id": null, "global": true, - "name": "Emil Leannon", + "name": "Dawson Ratke IV", "provider": "github", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "created_at": "2025-04-05T17:35:56.000000Z", + "updated_at": "2025-04-05T17:35:56.000000Z" }, { "id": 6, "project_id": null, "global": true, - "name": "Eleazar Pacocha Sr.", + "name": "Miss Caterina Mann DVM", "provider": "github", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "created_at": "2025-04-05T17:35:56.000000Z", + "updated_at": "2025-04-05T17:35:56.000000Z" } ], "links": { @@ -11851,11 +12034,11 @@

    create

    @@ -11873,11 +12056,11 @@

    createcreatecreate

    @@ -12042,10 +12225,10 @@

    Body Parameters

     
    -

    The name of the storage provider. Example: aliquam

    +

    The name of the storage provider. Example: est

    token   @@ -12053,10 +12236,10 @@

    Body Parameters

     
    -

    The token if provider requires api token Example: voluptatem

    +

    The token if provider requires api token Example: ea

    url   @@ -12064,10 +12247,10 @@

    Body Parameters

     
    -

    The URL if the provider is Gitlab and it is self-hosted Example: https://brown.org/placeat-optio-illum-eius-ipsa.html

    +

    The URL if the provider is Gitlab and it is self-hosted Example: http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam

    username   @@ -12075,10 +12258,10 @@

    Body Parameters

     
    -

    The username if the provider is Bitbucket Example: a

    +

    The username if the provider is Bitbucket Example: ducimus

    password   @@ -12086,10 +12269,10 @@

    Body Parameters

     
    -

    The password if the provider is Bitbucket Example: _/_,9'/6z;9

    +

    The password if the provider is Bitbucket Example: S#AHlt"?l6SDU^b?T6

    @@ -12158,10 +12341,10 @@

    @@ -12311,11 +12494,11 @@

    Body Parameters

     
    -

    The name of the storage provider. Example: laudantium

    +

    The name of the storage provider. Example: sunt

    token   @@ -12490,10 +12673,10 @@

    Body Parameters

     
    -

    The token if provider requires api token Example: nulla

    +

    The token if provider requires api token Example: est

    url   @@ -12501,10 +12684,10 @@

    Body Parameters

     
    -

    The URL if the provider is Gitlab and it is self-hosted Example: http://wiza.com/

    +

    The URL if the provider is Gitlab and it is self-hosted Example: http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit

    username   @@ -12512,10 +12695,10 @@

    Body Parameters

     
    -

    The username if the provider is Bitbucket Example: numquam

    +

    The username if the provider is Bitbucket Example: ab

    password   @@ -12523,10 +12706,10 @@

    Body Parameters

     
    -

    The password if the provider is Bitbucket Example: MlD,$m:8^A

    +

    The password if the provider is Bitbucket Example: M@-*%?(B(UNE~Ibc#

    global   @@ -12781,14 +12964,14 @@

    list { "id": null, "user": null, - "name": "Dr. Pansy Kunde DVM", + "name": "Moriah Kemmer", "created_at": null, "updated_at": null }, { "id": null, "user": null, - "name": "Ms. Maximillia DuBuque Sr.", + "name": "Delilah Gaylord", "created_at": null, "updated_at": null } @@ -12952,9 +13135,9 @@

    cre --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"key_id\": \"debitis\", - \"name\": \"illum\", - \"public_key\": \"dignissimos\" + \"key_id\": \"id\", + \"name\": \"qui\", + \"public_key\": \"vitae\" }"

    @@ -12971,9 +13154,9 @@

    cre 'Accept' => 'application/json', ], 'json' => [ - 'key_id' => 'debitis', - 'name' => 'illum', - 'public_key' => 'dignissimos', + 'key_id' => 'id', + 'name' => 'qui', + 'public_key' => 'vitae', ], ] ); @@ -12993,9 +13176,9 @@

    cre }; let body = { - "key_id": "debitis", - "name": "illum", - "public_key": "dignissimos" + "key_id": "id", + "name": "qui", + "public_key": "vitae" }; fetch(url, { @@ -13015,7 +13198,7 @@

    cre { "id": null, "user": null, - "name": "Uriah Harvey", + "name": "Jesse Gleason", "created_at": null, "updated_at": null } @@ -13131,10 +13314,10 @@

    Body Parameters

     
    -

    The ID of the key. Example: debitis

    +

    The ID of the key. Example: id

    name   @@ -13142,10 +13325,10 @@

    Body Parameters

     
    -

    Key name, required if key_id is not provided. Example: illum

    +

    Key name, required if key_id is not provided. Example: qui

    public_key   @@ -13153,10 +13336,10 @@

    Body Parameters

     
    -

    Public Key, required if key_id is not provided. Example: dignissimos

    +

    Public Key, required if key_id is not provided. Example: vitae

    @@ -13410,19 +13593,19 @@

    listcreat --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ - \"provider\": \"est\", - \"name\": \"voluptatem\", - \"token\": \"delectus\", - \"key\": \"natus\", - \"secret\": \"saepe\" + \"provider\": \"quia\", + \"name\": \"rerum\", + \"token\": \"hic\", + \"key\": \"repellat\", + \"secret\": \"maiores\" }"

    @@ -13594,11 +13777,11 @@

    creat 'Accept' => 'application/json', ], 'json' => [ - 'provider' => 'est', - 'name' => 'voluptatem', - 'token' => 'delectus', - 'key' => 'natus', - 'secret' => 'saepe', + 'provider' => 'quia', + 'name' => 'rerum', + 'token' => 'hic', + 'key' => 'repellat', + 'secret' => 'maiores', ], ] ); @@ -13618,11 +13801,11 @@

    creat }; let body = { - "provider": "est", - "name": "voluptatem", - "token": "delectus", - "key": "natus", - "secret": "saepe" + "provider": "quia", + "name": "rerum", + "token": "hic", + "key": "repellat", + "secret": "maiores" }; fetch(url, { @@ -13643,10 +13826,10 @@

    creat "id": 5, "project_id": null, "global": true, - "name": "omnis", - "provider": "local", - "created_at": "2025-03-31T15:27:17.000000Z", - "updated_at": "2025-03-31T15:27:17.000000Z" + "name": "veritatis", + "provider": "ftp", + "created_at": "2025-04-05T17:35:56.000000Z", + "updated_at": "2025-04-05T17:35:56.000000Z" }

    @@ -13749,10 +13932,10 @@

    Body Parameters

     
    -

    The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: est

    +

    The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: quia

    name   @@ -13760,10 +13943,10 @@

    Body Parameters

     
    -

    The name of the storage provider. Example: voluptatem

    +

    The name of the storage provider. Example: rerum

    token   @@ -13771,10 +13954,10 @@

    Body Parameters

     
    -

    The token if provider requires api token Example: delectus

    +

    The token if provider requires api token Example: hic

    key   @@ -13782,10 +13965,10 @@

    Body Parameters

     
    -

    The key if provider requires key Example: natus

    +

    The key if provider requires key Example: repellat

    secret   @@ -13793,10 +13976,10 @@

    Body Parameters

     
    -

    The secret if provider requires key Example: saepe

    +

    The secret if provider requires key Example: maiores

    @@ -13865,10 +14048,10 @@

    @@ -14014,7 +14197,7 @@

    Body Parameters

     
    -

    The name of the storage provider. Example: exercitationem

    +

    The name of the storage provider. Example: est

    global   diff --git a/public/api-docs/openapi.yaml b/public/api-docs/openapi.yaml index 00a57f2..f1c897c 100644 --- a/public/api-docs/openapi.yaml +++ b/public/api-docs/openapi.yaml @@ -241,12 +241,12 @@ paths: command: type: string description: '' - example: sit + example: nisi nullable: false user: type: string description: '' - example: root + example: vito nullable: false enum: - root @@ -357,7 +357,7 @@ paths: in: path name: cronJob_id description: 'The ID of the cronJob.' - example: 13 + example: 14 required: true schema: type: integer @@ -379,7 +379,7 @@ paths: - id: null server_id: null - username: imurray + username: lavina.zemlak databases: [] host: '%' status: null @@ -388,7 +388,7 @@ paths: - id: null server_id: null - username: raleigh.heidenreich + username: hill.cassidy databases: [] host: '%' status: null @@ -427,7 +427,7 @@ paths: - id: null server_id: null - username: imurray + username: lavina.zemlak databases: [] host: '%' status: null @@ -436,7 +436,7 @@ paths: - id: null server_id: null - username: raleigh.heidenreich + username: hill.cassidy databases: [] host: '%' status: null @@ -453,7 +453,7 @@ paths: example: null username: type: string - example: imurray + example: lavina.zemlak databases: type: array example: [] @@ -552,7 +552,7 @@ paths: example: id: null server_id: null - username: kbernhard + username: irwin45 databases: [] host: '%' status: null @@ -567,7 +567,7 @@ paths: example: null username: type: string - example: kbernhard + example: irwin45 databases: type: array example: [] @@ -595,12 +595,12 @@ paths: username: type: string description: '' - example: ut + example: tempore nullable: false password: type: string description: '' - example: "L&1)4X-w>&T=:'Y2#x" + example: '!jUv.BBc]X' nullable: false host: type: string @@ -644,7 +644,7 @@ paths: example: id: null server_id: null - username: lavada.casper + username: frederic.koss databases: [] host: '%' status: null @@ -659,7 +659,7 @@ paths: example: null username: type: string - example: lavada.casper + example: frederic.koss databases: type: array example: [] @@ -708,7 +708,7 @@ paths: in: path name: databaseUser_id description: 'The ID of the databaseUser.' - example: 8 + example: 3 required: true schema: type: integer @@ -728,7 +728,7 @@ paths: example: id: null server_id: null - username: ojerde + username: georgiana.hand databases: [] host: '%' status: null @@ -743,7 +743,7 @@ paths: example: null username: type: string - example: ojerde + example: georgiana.hand databases: type: array example: [] @@ -771,7 +771,7 @@ paths: databases: type: string description: 'Array of database names to link to the user.' - example: laboriosam + example: numquam nullable: false required: - databases @@ -796,7 +796,7 @@ paths: in: path name: databaseUser_id description: 'The ID of the databaseUser.' - example: 3 + example: 12 required: true schema: type: integer @@ -818,14 +818,14 @@ paths: - id: null server_id: null - name: fkrajcik + name: conn.bridget status: ready created_at: null updated_at: null - id: null server_id: null - name: critchie + name: aiden47 status: ready created_at: null updated_at: null @@ -862,14 +862,14 @@ paths: - id: null server_id: null - name: fkrajcik + name: conn.bridget status: ready created_at: null updated_at: null - id: null server_id: null - name: critchie + name: aiden47 status: ready created_at: null updated_at: null @@ -884,7 +884,7 @@ paths: example: null name: type: string - example: fkrajcik + example: conn.bridget status: type: string example: ready @@ -977,7 +977,7 @@ paths: example: id: null server_id: null - name: cory33 + name: rodolfo.bradtke status: ready created_at: null updated_at: null @@ -990,7 +990,7 @@ paths: example: null name: type: string - example: cory33 + example: rodolfo.bradtke status: type: string example: ready @@ -1012,17 +1012,17 @@ paths: name: type: string description: '' - example: esse + example: vel nullable: false charset: type: string description: '' - example: ut + example: qui nullable: false collation: type: string description: '' - example: labore + example: autem nullable: false required: - name @@ -1061,7 +1061,7 @@ paths: example: id: null server_id: null - name: walter.jacey + name: rhane status: ready created_at: null updated_at: null @@ -1074,7 +1074,7 @@ paths: example: null name: type: string - example: walter.jacey + example: rhane status: type: string example: ready @@ -1107,7 +1107,7 @@ paths: in: path name: id description: 'The ID of the database.' - example: 9 + example: 17 required: true schema: type: integer @@ -1143,7 +1143,7 @@ paths: in: path name: database_id description: 'The ID of the database.' - example: 16 + example: 5 required: true schema: type: integer @@ -1164,12 +1164,12 @@ paths: data: - id: null - name: optio + name: sit server_id: null type: allow protocol: tcp - port: 52674 - source: 142.10.115.135 + port: 59225 + source: 130.41.114.80 mask: 24 note: test status: null @@ -1177,12 +1177,12 @@ paths: updated_at: null - id: null - name: dolores + name: sequi server_id: null type: allow protocol: tcp - port: 34607 - source: 20.175.64.76 + port: 17864 + source: 170.103.31.60 mask: 24 note: test status: null @@ -1220,12 +1220,12 @@ paths: example: - id: null - name: optio + name: sit server_id: null type: allow protocol: tcp - port: 52674 - source: 142.10.115.135 + port: 59225 + source: 130.41.114.80 mask: 24 note: test status: null @@ -1233,12 +1233,12 @@ paths: updated_at: null - id: null - name: dolores + name: sequi server_id: null type: allow protocol: tcp - port: 34607 - source: 20.175.64.76 + port: 17864 + source: 170.103.31.60 mask: 24 note: test status: null @@ -1252,7 +1252,7 @@ paths: example: null name: type: string - example: optio + example: sit server_id: type: string example: null @@ -1264,10 +1264,10 @@ paths: example: tcp port: type: integer - example: 52674 + example: 59225 source: type: string - example: 142.10.115.135 + example: 130.41.114.80 mask: type: integer example: 24 @@ -1365,12 +1365,12 @@ paths: type: object example: id: null - name: molestiae + name: consequuntur server_id: null type: allow protocol: tcp - port: 26783 - source: 190.202.255.27 + port: 50101 + source: 133.245.21.1 mask: 24 note: test status: null @@ -1382,7 +1382,7 @@ paths: example: null name: type: string - example: molestiae + example: consequuntur server_id: type: string example: null @@ -1394,10 +1394,10 @@ paths: example: tcp port: type: integer - example: 26783 + example: 50101 source: type: string - example: 190.202.255.27 + example: 133.245.21.1 mask: type: integer example: 24 @@ -1425,7 +1425,7 @@ paths: name: type: string description: '' - example: voluptas + example: eum nullable: false type: type: string @@ -1446,12 +1446,12 @@ paths: port: type: string description: '' - example: qui + example: incidunt nullable: false source: type: string description: '' - example: amet + example: quisquam nullable: false mask: type: string @@ -1496,12 +1496,12 @@ paths: type: object example: id: null - name: labore + name: numquam server_id: null type: allow protocol: tcp - port: 29044 - source: 113.132.217.224 + port: 52010 + source: 159.227.119.185 mask: 24 note: test status: null @@ -1513,7 +1513,7 @@ paths: example: null name: type: string - example: labore + example: numquam server_id: type: string example: null @@ -1525,10 +1525,10 @@ paths: example: tcp port: type: integer - example: 29044 + example: 52010 source: type: string - example: 113.132.217.224 + example: 159.227.119.185 mask: type: integer example: 24 @@ -1556,12 +1556,12 @@ paths: name: type: string description: '' - example: et + example: dolor nullable: false type: type: string description: '' - example: allow + example: deny nullable: false enum: - allow @@ -1577,12 +1577,12 @@ paths: port: type: string description: '' - example: rerum + example: qui nullable: false source: type: string description: '' - example: sed + example: porro nullable: false mask: type: string @@ -1609,12 +1609,12 @@ paths: type: object example: id: null - name: ipsa + name: voluptatem server_id: null type: allow protocol: tcp - port: 50679 - source: 42.114.67.31 + port: 5812 + source: 122.105.250.56 mask: 24 note: test status: null @@ -1626,7 +1626,7 @@ paths: example: null name: type: string - example: ipsa + example: voluptatem server_id: type: string example: null @@ -1638,10 +1638,10 @@ paths: example: tcp port: type: integer - example: 50679 + example: 5812 source: type: string - example: 42.114.67.31 + example: 122.105.250.56 mask: type: integer example: 24 @@ -1737,14 +1737,14 @@ paths: data: - id: 3 - name: 'Kattie Haley' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Selina Wintheiser DDS' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' - id: 4 - name: 'Kailyn Kiehn' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Shanna Deckow' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' links: first: '/?page=1' last: '/?page=1' @@ -1777,14 +1777,14 @@ paths: example: - id: 3 - name: 'Kattie Haley' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Selina Wintheiser DDS' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' - id: 4 - name: 'Kailyn Kiehn' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Shanna Deckow' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' items: type: object properties: @@ -1793,13 +1793,13 @@ paths: example: 3 name: type: string - example: 'Kattie Haley' + example: 'Selina Wintheiser DDS' created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' links: type: object properties: @@ -1882,22 +1882,22 @@ paths: type: object example: id: 3 - name: 'Dayne White' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Mr. Johathan Koch' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' properties: id: type: integer example: 3 name: type: string - example: 'Dayne White' + example: 'Mr. Johathan Koch' created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' tags: - projects requestBody: @@ -1910,7 +1910,7 @@ paths: name: type: string description: 'The name of the project.' - example: excepturi + example: quibusdam nullable: false required: - name @@ -1929,22 +1929,22 @@ paths: type: object example: id: 3 - name: 'Cheyenne Ankunding III' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Jorge Schulist V' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' properties: id: type: integer example: 3 name: type: string - example: 'Cheyenne Ankunding III' + example: 'Jorge Schulist V' created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' tags: - projects put: @@ -1961,22 +1961,22 @@ paths: type: object example: id: 3 - name: 'Susanna Stark' - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: 'Annie Windler' + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' properties: id: type: integer example: 3 name: type: string - example: 'Susanna Stark' + example: 'Annie Windler' created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' tags: - projects requestBody: @@ -1989,7 +1989,7 @@ paths: name: type: string description: 'The name of the project.' - example: mollitia + example: enim nullable: false required: - name @@ -2041,17 +2041,17 @@ paths: id: null site_id: null mode: 301 - from: error - to: 'https://www.pfannerstill.com/facere-est-totam-laudantium-in-illo-sequi' + from: eaque + to: 'http://www.windler.info/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html' status: ready created_at: null updated_at: null - id: null site_id: null - mode: 301 - from: repellat - to: 'http://gislason.biz/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html' + mode: 308 + from: neque + to: 'http://raynor.biz/velit-a-tempore-quas-explicabo-doloremque' status: ready created_at: null updated_at: null @@ -2089,17 +2089,17 @@ paths: id: null site_id: null mode: 301 - from: error - to: 'https://www.pfannerstill.com/facere-est-totam-laudantium-in-illo-sequi' + from: eaque + to: 'http://www.windler.info/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html' status: ready created_at: null updated_at: null - id: null site_id: null - mode: 301 - from: repellat - to: 'http://gislason.biz/sed-corrupti-et-id-earum-qui-consequatur-quis-voluptas.html' + mode: 308 + from: neque + to: 'http://raynor.biz/velit-a-tempore-quas-explicabo-doloremque' status: ready created_at: null updated_at: null @@ -2117,10 +2117,10 @@ paths: example: 301 from: type: string - example: error + example: eaque to: type: string - example: 'https://www.pfannerstill.com/facere-est-totam-laudantium-in-illo-sequi' + example: 'http://www.windler.info/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html' status: type: string example: ready @@ -2223,17 +2223,17 @@ paths: from: type: string description: '' - example: vel + example: qui nullable: false to: type: string description: '' - example: ea + example: voluptatum nullable: false mode: type: string description: '' - example: 307 + example: 302 nullable: false enum: - 301 @@ -2265,7 +2265,7 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 11 + example: 44 required: true schema: type: integer @@ -2301,7 +2301,7 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 11 + example: 44 required: true schema: type: integer @@ -2332,18 +2332,18 @@ paths: id: 3 project_id: null global: true - name: id - provider: custom - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: ducimus + provider: digitalocean + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' - id: 4 project_id: null global: true - name: culpa - provider: linode - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: nesciunt + provider: hetzner + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' links: first: '/?page=1' last: '/?page=1' @@ -2378,18 +2378,18 @@ paths: id: 3 project_id: null global: true - name: id - provider: custom - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: ducimus + provider: digitalocean + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' - id: 4 project_id: null global: true - name: culpa - provider: linode - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: nesciunt + provider: hetzner + created_at: '2025-04-05T17:35:55.000000Z' + updated_at: '2025-04-05T17:35:55.000000Z' items: type: object properties: @@ -2404,16 +2404,16 @@ paths: example: true name: type: string - example: id + example: ducimus provider: type: string - example: custom + example: digitalocean created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:55.000000Z' links: type: object properties: @@ -2498,10 +2498,10 @@ paths: id: 3 project_id: null global: true - name: et - provider: vultr - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: nemo + provider: linode + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -2514,16 +2514,16 @@ paths: example: true name: type: string - example: et + example: nemo provider: type: string - example: vultr + example: linode created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - server-providers requestBody: @@ -2536,27 +2536,27 @@ paths: provider: type: string description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' - example: mollitia + example: sunt nullable: false name: type: string description: 'The name of the server provider.' - example: adipisci + example: aut nullable: false token: type: string description: 'The token if provider requires api token' - example: animi + example: id nullable: false key: type: string description: 'The key if provider requires key' - example: provident + example: porro nullable: false secret: type: string description: 'The secret if provider requires key' - example: deserunt + example: voluptas nullable: false required: - provider @@ -2590,10 +2590,10 @@ paths: id: 3 project_id: null global: true - name: ab - provider: digitalocean - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: ut + provider: aws + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -2606,16 +2606,16 @@ paths: example: true name: type: string - example: ab + example: ut provider: type: string - example: digitalocean + example: aws created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - server-providers put: @@ -2634,10 +2634,10 @@ paths: id: 3 project_id: null global: true - name: expedita - provider: aws - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: et + provider: digitalocean + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -2650,16 +2650,16 @@ paths: example: true name: type: string - example: expedita + example: et provider: type: string - example: aws + example: digitalocean created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - server-providers requestBody: @@ -2672,12 +2672,12 @@ paths: name: type: string description: 'The name of the server provider.' - example: eveniet + example: aliquam nullable: false global: type: string description: 'Accessible in all projects' - example: false + example: true nullable: false enum: - true @@ -2732,10 +2732,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Consuelo Connelly' + name: 'Marcelino Rodriguez' ssh_user: vito - ip: 80.154.83.232 - local_ip: 45.31.117.65 + ip: 128.182.22.13 + local_ip: 19.119.134.124 port: 22 os: ubuntu_22 type: regular @@ -2758,10 +2758,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Rodolfo Fadel' + name: 'Everardo Conn' ssh_user: vito - ip: 103.227.79.93 - local_ip: 33.49.217.56 + ip: 62.215.59.124 + local_ip: 32.153.141.12 port: 22 os: ubuntu_22 type: regular @@ -2814,10 +2814,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Consuelo Connelly' + name: 'Marcelino Rodriguez' ssh_user: vito - ip: 80.154.83.232 - local_ip: 45.31.117.65 + ip: 128.182.22.13 + local_ip: 19.119.134.124 port: 22 os: ubuntu_22 type: regular @@ -2840,10 +2840,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Rodolfo Fadel' + name: 'Everardo Conn' ssh_user: vito - ip: 103.227.79.93 - local_ip: 33.49.217.56 + ip: 62.215.59.124 + local_ip: 32.153.141.12 port: 22 os: ubuntu_22 type: regular @@ -2878,16 +2878,16 @@ paths: example: null name: type: string - example: 'Consuelo Connelly' + example: 'Marcelino Rodriguez' ssh_user: type: string example: vito ip: type: string - example: 80.154.83.232 + example: 128.182.22.13 local_ip: type: string - example: 45.31.117.65 + example: 19.119.134.124 port: type: integer example: 22 @@ -3024,10 +3024,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Herbert VonRueden' + name: 'Sidney Grant' ssh_user: vito - ip: 91.154.105.143 - local_ip: 62.75.177.7 + ip: 22.232.10.97 + local_ip: 107.107.187.150 port: 22 os: ubuntu_22 type: regular @@ -3060,16 +3060,16 @@ paths: example: null name: type: string - example: 'Herbert VonRueden' + example: 'Sidney Grant' ssh_user: type: string example: vito ip: type: string - example: 91.154.105.143 + example: 22.232.10.97 local_ip: type: string - example: 62.75.177.7 + example: 107.107.187.150 port: type: integer example: 22 @@ -3133,7 +3133,7 @@ paths: provider: type: string description: 'The server provider type' - example: incidunt + example: ut nullable: false server_provider: type: string @@ -3149,37 +3149,37 @@ paths: region: type: string description: 'Provider region if the provider is not custom' - example: ut + example: consectetur nullable: false plan: type: string description: 'Provider plan if the provider is not custom' - example: ullam + example: voluptatum nullable: false ip: type: string description: 'SSH IP address if the provider is custom' - example: architecto + example: quisquam nullable: false port: type: string description: 'SSH Port if the provider is custom' - example: praesentium + example: sapiente nullable: false name: type: string description: 'The name of the server.' - example: facere + example: itaque nullable: false os: type: string description: 'The os of the server' - example: illo + example: aut nullable: false webserver: type: string description: 'Web server' - example: none + example: nginx nullable: false enum: - none @@ -3187,7 +3187,7 @@ paths: database: type: string description: Database - example: none + example: postgresql13 nullable: false enum: - none @@ -3204,7 +3204,7 @@ paths: php: type: string description: 'PHP version' - example: '8.1' + example: '7.4' nullable: false enum: - '7.0' @@ -3255,10 +3255,10 @@ paths: project_id: null user_id: null provider_id: null - name: 'Connie Simonis' + name: 'Maria Zemlak' ssh_user: vito - ip: 202.119.26.253 - local_ip: 112.75.79.203 + ip: 4.166.233.247 + local_ip: 92.197.44.184 port: 22 os: ubuntu_22 type: regular @@ -3291,16 +3291,16 @@ paths: example: null name: type: string - example: 'Connie Simonis' + example: 'Maria Zemlak' ssh_user: type: string example: vito ip: type: string - example: 202.119.26.253 + example: 4.166.233.247 local_ip: type: string - example: 112.75.79.203 + example: 92.197.44.184 port: type: integer example: 22 @@ -4315,7 +4315,7 @@ paths: type: type: string description: '' - example: phpmyadmin + example: wordpress nullable: false enum: - php @@ -4327,13 +4327,13 @@ paths: domain: type: string description: '' - example: tenetur + example: ut nullable: false aliases: type: array description: '' example: - - aut + - vitae items: type: string php_version: @@ -4349,7 +4349,7 @@ paths: source_control: type: string description: 'Source control ID, Required for Sites which support source control' - example: quasi + example: animi nullable: false repository: type: string @@ -4374,12 +4374,12 @@ paths: user: type: string description: 'user, to isolate the website under a new user' - example: deleniti + example: est nullable: false method: type: string description: 'Load balancer method, Required if the site type is Load balancer' - example: round-robin + example: least-connections nullable: false enum: - round-robin @@ -4525,7 +4525,7 @@ paths: in: path name: id description: 'The ID of the site.' - example: 12 + example: 44 required: true schema: type: integer @@ -4561,7 +4561,7 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 9 + example: 44 required: true schema: type: integer @@ -4591,7 +4591,7 @@ paths: method: type: string description: 'Load balancer method, Required if the site type is Load balancer' - example: ip-hash + example: round-robin nullable: false enum: - round-robin @@ -4601,7 +4601,7 @@ paths: type: array description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)' example: - - dolores + - eaque items: type: string required: @@ -4628,7 +4628,7 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 19 + example: 44 required: true schema: type: integer @@ -4659,7 +4659,7 @@ paths: type: array description: 'Array of aliases' example: - - aut + - pariatur items: type: string required: @@ -4685,7 +4685,48 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 16 + example: 44 + required: true + schema: + type: integer + '/api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deploy': + post: + summary: deploy + operationId: deploy + description: 'Run site deployment script' + parameters: [] + responses: + 200: + description: '' + content: + application/json: + schema: + type: object + nullable: true + tags: + - sites + parameters: + - + in: path + name: project_id + description: 'The ID of the project.' + example: 1 + required: true + schema: + type: integer + - + in: path + name: server_id + description: 'The ID of the server.' + example: 29 + required: true + schema: + type: integer + - + in: path + name: site_id + description: 'The ID of the site.' + example: 44 required: true schema: type: integer @@ -4710,7 +4751,7 @@ paths: script: type: string description: 'Content of the deployment script' - example: qui + example: culpa nullable: false required: - script @@ -4750,7 +4791,7 @@ paths: in: path name: site_id description: 'The ID of the site.' - example: 3 + example: 44 required: true schema: type: integer @@ -4773,18 +4814,18 @@ paths: id: 5 project_id: null global: true - name: 'Emil Leannon' + name: 'Dawson Ratke IV' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' - id: 6 project_id: null global: true - name: 'Eleazar Pacocha Sr.' + name: 'Miss Caterina Mann DVM' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' links: first: '/?page=1' last: '/?page=1' @@ -4819,18 +4860,18 @@ paths: id: 5 project_id: null global: true - name: 'Emil Leannon' + name: 'Dawson Ratke IV' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' - id: 6 project_id: null global: true - name: 'Eleazar Pacocha Sr.' + name: 'Miss Caterina Mann DVM' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' items: type: object properties: @@ -4845,16 +4886,16 @@ paths: example: true name: type: string - example: 'Emil Leannon' + example: 'Dawson Ratke IV' provider: type: string example: github created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' links: type: object properties: @@ -4939,10 +4980,10 @@ paths: id: 5 project_id: null global: true - name: 'Ahmad Kulas' + name: 'Dr. Adella Greenholt' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -4955,16 +4996,16 @@ paths: example: true name: type: string - example: 'Ahmad Kulas' + example: 'Dr. Adella Greenholt' provider: type: string example: github created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - source-controls requestBody: @@ -4986,27 +5027,27 @@ paths: name: type: string description: 'The name of the storage provider.' - example: aliquam + example: est nullable: false token: type: string description: 'The token if provider requires api token' - example: voluptatem + example: ea nullable: false url: type: string description: 'The URL if the provider is Gitlab and it is self-hosted' - example: 'https://brown.org/placeat-optio-illum-eius-ipsa.html' + example: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam' nullable: false username: type: string description: 'The username if the provider is Bitbucket' - example: a + example: ducimus nullable: false password: type: string description: 'The password if the provider is Bitbucket' - example: "_/_,9'/6z;9" + example: 'S#AHlt"?l6SDU^b?T6' nullable: false required: - provider @@ -5041,10 +5082,10 @@ paths: id: 5 project_id: null global: true - name: 'Mr. Marquis Kunde IV' + name: 'Hettie Farrell' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -5057,16 +5098,16 @@ paths: example: true name: type: string - example: 'Mr. Marquis Kunde IV' + example: 'Hettie Farrell' provider: type: string example: github created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - source-controls put: @@ -5085,10 +5126,10 @@ paths: id: 5 project_id: null global: true - name: 'Mrs. Arvilla Mitchell' + name: 'Jadyn Hyatt' provider: github - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -5101,16 +5142,16 @@ paths: example: true name: type: string - example: 'Mrs. Arvilla Mitchell' + example: 'Jadyn Hyatt' provider: type: string example: github created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - source-controls requestBody: @@ -5123,27 +5164,27 @@ paths: name: type: string description: 'The name of the storage provider.' - example: laudantium + example: sunt nullable: false token: type: string description: 'The token if provider requires api token' - example: nulla + example: est nullable: false url: type: string description: 'The URL if the provider is Gitlab and it is self-hosted' - example: 'http://wiza.com/' + example: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit' nullable: false username: type: string description: 'The username if the provider is Bitbucket' - example: numquam + example: ab nullable: false password: type: string description: 'The password if the provider is Bitbucket' - example: 'MlD,$m:8^A' + example: 'M@-*%?(B(UNE~Ibc#' nullable: false global: type: string @@ -5205,13 +5246,13 @@ paths: - id: null user: null - name: 'Dr. Pansy Kunde DVM' + name: 'Moriah Kemmer' created_at: null updated_at: null - id: null user: null - name: 'Ms. Maximillia DuBuque Sr.' + name: 'Delilah Gaylord' created_at: null updated_at: null links: @@ -5247,13 +5288,13 @@ paths: - id: null user: null - name: 'Dr. Pansy Kunde DVM' + name: 'Moriah Kemmer' created_at: null updated_at: null - id: null user: null - name: 'Ms. Maximillia DuBuque Sr.' + name: 'Delilah Gaylord' created_at: null updated_at: null items: @@ -5267,7 +5308,7 @@ paths: example: null name: type: string - example: 'Dr. Pansy Kunde DVM' + example: 'Moriah Kemmer' created_at: type: string example: null @@ -5357,7 +5398,7 @@ paths: example: id: null user: null - name: 'Uriah Harvey' + name: 'Jesse Gleason' created_at: null updated_at: null properties: @@ -5369,7 +5410,7 @@ paths: example: null name: type: string - example: 'Uriah Harvey' + example: 'Jesse Gleason' created_at: type: string example: null @@ -5388,17 +5429,17 @@ paths: key_id: type: string description: 'The ID of the key.' - example: debitis + example: id nullable: false name: type: string description: 'Key name, required if key_id is not provided.' - example: illum + example: qui nullable: false public_key: type: string description: 'Public Key, required if key_id is not provided.' - example: dignissimos + example: vitae nullable: false required: - key_id @@ -5476,18 +5517,18 @@ paths: id: 5 project_id: null global: true - name: autem - provider: s3 - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: et + provider: dropbox + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' - id: 6 project_id: null global: true - name: nihil - provider: ftp - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: sed + provider: dropbox + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' links: first: '/?page=1' last: '/?page=1' @@ -5522,18 +5563,18 @@ paths: id: 5 project_id: null global: true - name: autem - provider: s3 - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: et + provider: dropbox + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' - id: 6 project_id: null global: true - name: nihil - provider: ftp - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: sed + provider: dropbox + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' items: type: object properties: @@ -5548,16 +5589,16 @@ paths: example: true name: type: string - example: autem + example: et provider: type: string - example: s3 + example: dropbox created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' links: type: object properties: @@ -5642,10 +5683,10 @@ paths: id: 5 project_id: null global: true - name: omnis - provider: local - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: veritatis + provider: ftp + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -5658,16 +5699,16 @@ paths: example: true name: type: string - example: omnis + example: veritatis provider: type: string - example: local + example: ftp created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - storage-providers requestBody: @@ -5680,27 +5721,27 @@ paths: provider: type: string description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' - example: est + example: quia nullable: false name: type: string description: 'The name of the storage provider.' - example: voluptatem + example: rerum nullable: false token: type: string description: 'The token if provider requires api token' - example: delectus + example: hic nullable: false key: type: string description: 'The key if provider requires key' - example: natus + example: repellat nullable: false secret: type: string description: 'The secret if provider requires key' - example: saepe + example: maiores nullable: false required: - provider @@ -5734,10 +5775,10 @@ paths: id: 5 project_id: null global: true - name: molestiae - provider: dropbox - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: fuga + provider: local + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -5750,16 +5791,16 @@ paths: example: true name: type: string - example: molestiae + example: fuga provider: type: string - example: dropbox + example: local created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - storage-providers put: @@ -5778,10 +5819,10 @@ paths: id: 5 project_id: null global: true - name: dolorum - provider: s3 - created_at: '2025-03-31T15:27:17.000000Z' - updated_at: '2025-03-31T15:27:17.000000Z' + name: ut + provider: ftp + created_at: '2025-04-05T17:35:56.000000Z' + updated_at: '2025-04-05T17:35:56.000000Z' properties: id: type: integer @@ -5794,16 +5835,16 @@ paths: example: true name: type: string - example: dolorum + example: ut provider: type: string - example: s3 + example: ftp created_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' updated_at: type: string - example: '2025-03-31T15:27:17.000000Z' + example: '2025-04-05T17:35:56.000000Z' tags: - storage-providers requestBody: @@ -5816,7 +5857,7 @@ paths: name: type: string description: 'The name of the storage provider.' - example: exercitationem + example: est nullable: false global: type: string diff --git a/tests/Feature/API/SitesTest.php b/tests/Feature/API/SitesTest.php index 9464140..c9a43eb 100644 --- a/tests/Feature/API/SitesTest.php +++ b/tests/Feature/API/SitesTest.php @@ -2,6 +2,7 @@ namespace Tests\Feature\API; +use App\Enums\DeploymentStatus; use App\Enums\LoadBalancerMethod; use App\Enums\SourceControl; use App\Facades\SSH; @@ -190,6 +191,54 @@ public function test_update_load_balancer(): void ]); } + public function test_deploy_site(): void + { + SSH::fake(); + + Http::fake([ + 'https://api.github.com/repos/*' => Http::response([ + 'commit' => [ + 'sha' => 'abc123', + 'commit' => [ + 'message' => 'Test commit', + 'author' => [ + 'name' => 'Test Author', + 'email' => 'test@example.com', + 'date' => now()->toIso8601String(), + ], + ], + ], + ], 200), + ]); + + Sanctum::actingAs($this->user, ['read', 'write']); + + /** @var Site $site */ + $site = Site::factory()->create([ + 'server_id' => $this->server->id, + ]); + + $script = $site->deploymentScript; + $script->content = 'git pull'; + $script->save(); + + $this->json('POST', route('api.projects.servers.sites.deploy', [ + 'project' => $this->server->project, + 'server' => $this->server, + 'site' => $site, + ])) + ->assertSuccessful() + ->assertJsonStructure([ + 'id', + 'status', + ]); + + $this->assertDatabaseHas('deployments', [ + 'site_id' => $site->id, + 'status' => DeploymentStatus::FINISHED, + ]); + } + public function test_update_deployment_script(): void { SSH::fake();