diff --git a/.scribe/endpoints.cache/00.yaml b/.scribe/endpoints.cache/00.yaml index f61b9b4..0b6feab 100644 --- a/.scribe/endpoints.cache/00.yaml +++ b/.scribe/endpoints.cache/00.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ge6ZVa4kfD86hdv5a31EcbP' + - 'Bearer PahVdEb56Z3f14kDgc68aev' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -113,7 +113,7 @@ endpoints: name: command description: '' required: true - example: itaque + example: qui 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: itaque - user: root + command: qui + user: vito frequency: '* * * * *' fileParameters: [] responses: @@ -157,7 +157,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cdh5bD8gVPkf34e1ZEva6a6' + - 'Bearer agkPEVc3h6D1d6a8evfZb54' controller: null method: null route: null @@ -194,7 +194,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -204,7 +204,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 18 + example: 17 type: integer enumValues: [] exampleWasSpecified: false @@ -212,8 +212,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - cronJob_id: 18 + server_id: 29 + cronJob_id: 17 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -230,7 +230,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fa5VgdkaD8cZ6vh34Pb16eE' + - 'Bearer b518EePkVcdhDvZaf6643ga' controller: null method: null route: null @@ -267,7 +267,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -277,7 +277,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 10 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -285,8 +285,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - cronJob_id: 10 + server_id: 29 + cronJob_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P8hkva3ZD4fgb166adEVce5' + - 'Bearer 3cak566dDhPvV8eZafg4bE1' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/01.yaml b/.scribe/endpoints.cache/01.yaml index 63ad01e..60739f4 100644 --- a/.scribe/endpoints.cache/01.yaml +++ b/.scribe/endpoints.cache/01.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"name":"amalia38","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"troy.rippin","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"name":"joyce53","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"eric55","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 Z641ebPacDV6f38kEgdah5v' + - 'Bearer vegcPa1dk6f435E68ZbhaVD' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -113,19 +113,41 @@ endpoints: name: name description: '' required: true - example: et + example: debitis + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + charset: + name: charset + description: '' + required: true + example: maxime + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + collation: + name: collation + description: '' + required: true + example: sed type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: et + name: debitis + charset: maxime + collation: sed fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"harvey.haskell","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"brekke.isabell","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -133,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer d4gbv56caV3aZ8D1h6kfEPe' + - 'Bearer Vk1fhea8caEg4dvD35PbZ66' controller: null method: null route: null @@ -170,7 +192,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -180,7 +202,7 @@ endpoints: name: id description: 'The ID of the database.' required: true - example: 19 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -188,8 +210,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 19 + server_id: 29 + id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -198,7 +220,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"ruthie.koepp","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"vandervort.emmalee","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -206,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P68VgDcaEZvk63f4b5aed1h' + - 'Bearer av45D6PehEdbZVgc381akf6' controller: null method: null route: null @@ -243,7 +265,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -253,7 +275,7 @@ endpoints: name: database_id description: 'The ID of the database.' required: true - example: 15 + example: 5 type: integer enumValues: [] exampleWasSpecified: false @@ -261,8 +283,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - database_id: 15 + server_id: 29 + database_id: 5 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -279,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DkPc6d1heEv5a8fb4V63agZ' + - 'Bearer hDa6EdgkP84fcV61baZ3v5e' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/02.yaml b/.scribe/endpoints.cache/02.yaml index 99b00e4..18a4b15 100644 --- a/.scribe/endpoints.cache/02.yaml +++ b/.scribe/endpoints.cache/02.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"username":"xgaylord","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"una37","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"username":"lehner.eloy","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"rlowe","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 P4gD36fZeckvVh5ab86Ead1' + - 'Bearer 3Da5E66PfZgdb81vkceah4V' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -113,7 +113,7 @@ endpoints: name: username description: '' required: true - example: consequuntur + example: voluptas type: string enumValues: [] exampleWasSpecified: false @@ -123,7 +123,7 @@ endpoints: name: password description: '' required: true - example: 'fI/i2.O4u&dla?eXvR2' + example: ':D+e=/;H,' type: string enumValues: [] exampleWasSpecified: false @@ -140,14 +140,14 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - username: consequuntur - password: 'fI/i2.O4u&dla?eXvR2' + username: voluptas + password: ':D+e=/;H,' host: '%' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kari.farrell","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"fahey.joseph","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5k8Vced1baaE6f4ZvDPgh36' + - 'Bearer DvPa3c6f5Edbagh8kVe41Z6' controller: null method: null route: null @@ -192,7 +192,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -202,7 +202,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 18 + example: 19 type: integer enumValues: [] exampleWasSpecified: false @@ -210,8 +210,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 18 + server_id: 29 + databaseUser_id: 19 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -220,7 +220,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"caterina.mosciski","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"szboncak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3kDveP5V8a6dghfa4E16cbZ' + - 'Bearer VvDgd431cbE68heZ5fa6kaP' controller: null method: null route: null @@ -265,7 +265,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -275,7 +275,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 4 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -283,8 +283,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 4 + server_id: 29 + databaseUser_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -292,19 +292,19 @@ endpoints: name: databases description: 'Array of database names to link to the user.' required: true - example: non + example: accusantium type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - databases: non + databases: accusantium fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kurtis05","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"smith.liliana","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -312,7 +312,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DgPea43EvV51a866dfbZckh' + - 'Bearer 1ZaahDcVeEvf6kd58P346gb' controller: null method: null route: null @@ -349,7 +349,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -359,7 +359,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 6 + example: 18 type: integer enumValues: [] exampleWasSpecified: false @@ -367,8 +367,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 6 + server_id: 29 + databaseUser_id: 18 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -385,7 +385,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6ackVP8hEZd3164gD5evafb' + - 'Bearer 6g31ZcdV68bDfEaak54vePh' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/03.yaml b/.scribe/endpoints.cache/03.yaml index ea51adb..6c1754d 100644 --- a/.scribe/endpoints.cache/03.yaml +++ b/.scribe/endpoints.cache/03.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":38781,"source":"79.116.255.150","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":32141,"source":"52.174.114.251","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"name":"ea","server_id":null,"type":"allow","protocol":"tcp","port":41910,"source":"202.183.211.242","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"iusto","server_id":null,"type":"allow","protocol":"tcp","port":60689,"source":"227.149.61.57","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 h3P5gD8E4dkeZ6abac6vfV1' + - 'Bearer 8g15h66aPf3ZdvkEab4ceVD' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,15 +105,25 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: + name: + name: name + description: '' + required: true + example: autem + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] type: name: type description: '' required: true - example: deny + example: allow type: string enumValues: - allow @@ -125,7 +135,7 @@ endpoints: name: protocol description: '' required: true - example: udp + example: tcp type: string enumValues: - tcp @@ -137,7 +147,7 @@ endpoints: name: port description: '' required: true - example: et + example: quas type: string enumValues: [] exampleWasSpecified: false @@ -146,8 +156,8 @@ endpoints: source: name: source description: '' - required: true - example: voluptates + required: false + example: blanditiis type: string enumValues: [] exampleWasSpecified: false @@ -164,16 +174,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: deny - protocol: udp - port: et - source: voluptates + name: autem + type: allow + protocol: tcp + port: quas + source: blanditiis mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":47148,"source":"119.182.8.45","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"in","server_id":null,"type":"allow","protocol":"tcp","port":13253,"source":"245.228.81.208","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -181,7 +192,150 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6a8DVv5k3gZfEe6hb1daPc4' + - 'Bearer 8dhcE436Zbk6fgVDP1aa5ev' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/firewall-rules/{firewallRule_id}' + metadata: + groupName: firewall-rules + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: edit + description: 'Update an existing firewall rule.' + 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: [] + firewallRule_id: + name: firewallRule_id + description: 'The ID of the firewallRule.' + required: true + example: 85 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + firewallRule_id: 85 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + name: + name: name + description: '' + required: true + example: earum + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + type: + name: type + description: '' + required: true + example: allow + type: string + enumValues: + - allow + - deny + exampleWasSpecified: false + nullable: false + custom: [] + protocol: + name: protocol + description: '' + required: true + example: tcp + type: string + enumValues: + - tcp + - udp + exampleWasSpecified: false + nullable: false + custom: [] + port: + name: port + description: '' + required: true + example: ab + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + source: + name: source + description: '' + required: false + example: possimus + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + mask: + name: mask + description: 'Mask for source IP.' + required: true + example: '0' + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + name: earum + type: allow + protocol: tcp + port: ab + source: possimus + mask: '0' + fileParameters: [] + responses: + - + status: 200 + content: '{"id":null,"name":"repudiandae","server_id":null,"type":"allow","protocol":"tcp","port":44250,"source":"243.200.88.169","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer ag6ebf3456hVkd8ca1PvEDZ' controller: null method: null route: null @@ -218,7 +372,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -228,7 +382,7 @@ endpoints: name: firewallRule_id description: 'The ID of the firewallRule.' required: true - example: 29 + example: 85 type: integer enumValues: [] exampleWasSpecified: false @@ -236,8 +390,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - firewallRule_id: 29 + server_id: 29 + firewallRule_id: 85 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -246,7 +400,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":2317,"source":"44.161.134.114","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"quam","server_id":null,"type":"allow","protocol":"tcp","port":62505,"source":"73.254.77.244","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -254,7 +408,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P4bZdV1geED3kfh568aa6cv' + - 'Bearer Paagd6D6fV5v4kZ31ebc8hE' controller: null method: null route: null @@ -291,7 +445,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -301,7 +455,7 @@ endpoints: name: firewallRule_id description: 'The ID of the firewallRule.' required: true - example: 29 + example: 85 type: integer enumValues: [] exampleWasSpecified: false @@ -309,8 +463,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - firewallRule_id: 29 + server_id: 29 + firewallRule_id: 85 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -327,7 +481,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Dh3kcaafdg6E5ZvV46ePb81' + - 'Bearer avf16Vhb43dacPZge6D5k8E' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/04.yaml b/.scribe/endpoints.cache/04.yaml index 0165538..0b94028 100644 --- a/.scribe/endpoints.cache/04.yaml +++ b/.scribe/endpoints.cache/04.yaml @@ -29,7 +29,7 @@ endpoints: responses: - status: 200 - content: '{"success":true,"version":"2.1.0"}' + content: '{"success":true,"version":"2.4.0"}' headers: cache-control: 'no-cache, private' content-type: application/json diff --git a/.scribe/endpoints.cache/05.yaml b/.scribe/endpoints.cache/05.yaml index 5ef4b6a..a6f4c95 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":"Jeffry Dickinson","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":4,"name":"Miss Tianna Dietrich PhD","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"name":"Amara Jaskolski","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":4,"name":"Christy Kohler","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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: [] @@ -38,7 +38,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5DaveP3d6b6khEZVcg4fa18' + - 'Bearer 5v83ePa1dah4bcE6VgfZDk6' controller: null method: null route: null @@ -69,19 +69,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: quos + example: temporibus type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: quos + name: temporibus fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Isidro Franecki","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Prof. Enrico Wehner Sr.","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -89,7 +89,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a6P53EvkcZV6D4ghad1efb8' + - 'Bearer Zk61vE43aagDbc5V68edhPf' controller: null method: null route: null @@ -132,7 +132,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"name":"Rhoda Parisian","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Zoie Feest","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -140,7 +140,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v48Ve5ZghdcbE1akP66fD3a' + - 'Bearer 6vfDgb435d8cPeV1EZa6hak' controller: null method: null route: null @@ -182,19 +182,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: ullam + example: sit type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: ullam + name: sit fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Mr. Dashawn Jacobson Sr.","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Mr. Jayme Kuhlman DVM","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -202,7 +202,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fvEdh3Vgbk56Z4a61eP8caD' + - 'Bearer 6gkaZVh3P5b81cf6ev4EdDa' controller: null method: null route: null @@ -253,7 +253,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eg4c3vZ1Dhaa68d6PEfk5bV' + - 'Bearer bfeg4DZ566cvdP813kVhEaa' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/06.yaml b/.scribe/endpoints.cache/06.yaml index ea05e00..ea2cd18 100644 --- a/.scribe/endpoints.cache/06.yaml +++ b/.scribe/endpoints.cache/06.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Amina DuBuque","ssh_user":"vito","ip":"163.77.69.73","local_ip":"137.139.200.70","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Floy Cummerata","ssh_user":"vito","ip":"62.53.140.25","local_ip":"34.59.35.195","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Prof. Wyatt Powlowski IV","ssh_user":"vito","ip":"33.53.217.82","local_ip":"227.155.11.76","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":"Guiseppe D''Amore","ssh_user":"vito","ip":"41.138.98.159","local_ip":"78.178.81.109","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 E81avahec6365dbZfgD4kPV' + - 'Bearer aaEkbd3D8gZ6f5v1ePhcV46' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The server provider type' required: true - example: iste + example: vel type: string enumValues: [] exampleWasSpecified: false @@ -101,7 +101,7 @@ endpoints: name: server_provider description: 'If the provider is not custom, the ID of the server provider profile' required: true - example: custom + example: hetzner type: string enumValues: - custom @@ -116,7 +116,7 @@ endpoints: name: region description: 'Provider region if the provider is not custom' required: true - example: libero + example: voluptatibus type: string enumValues: [] exampleWasSpecified: false @@ -126,7 +126,7 @@ endpoints: name: plan description: 'Provider plan if the provider is not custom' required: true - example: ut + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -136,7 +136,7 @@ endpoints: name: ip description: 'SSH IP address if the provider is custom' required: true - example: molestias + example: dolores type: string enumValues: [] exampleWasSpecified: false @@ -146,7 +146,7 @@ endpoints: name: port description: 'SSH Port if the provider is custom' required: true - example: laudantium + example: ratione type: string enumValues: [] exampleWasSpecified: false @@ -156,7 +156,7 @@ endpoints: name: name description: 'The name of the server.' required: true - example: illum + example: in type: string enumValues: [] exampleWasSpecified: false @@ -166,7 +166,7 @@ endpoints: name: os description: 'The os of the server' required: true - example: autem + example: cumque 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: postgresql12 + example: mysql80 type: string enumValues: - none @@ -225,22 +225,22 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - provider: iste - server_provider: custom - region: libero - plan: ut - ip: molestias - port: laudantium - name: illum - os: autem - webserver: none - database: postgresql12 + provider: vel + server_provider: hetzner + region: voluptatibus + plan: ducimus + ip: dolores + port: ratione + name: in + os: cumque + webserver: nginx + database: mysql80 php: '7.4' fileParameters: [] responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Archibald Nolan","ssh_user":"vito","ip":"226.168.13.177","local_ip":"143.14.43.182","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Anissa McDermott","ssh_user":"vito","ip":"212.15.34.173","local_ip":"142.201.95.242","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 aad3Pvc4e65DghZVEk8f1b6' + - 'Bearer 6cgZPdbVD4fvae15khaE638' controller: null method: null route: null @@ -285,7 +285,7 @@ endpoints: name: id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -293,7 +293,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - id: 8 + id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -302,7 +302,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Tevin Sipes","ssh_user":"vito","ip":"61.41.183.152","local_ip":"197.160.239.147","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Prof. Newton Wintheiser Jr.","ssh_user":"vito","ip":"243.154.251.36","local_ip":"198.224.194.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}' headers: [] description: '' custom: [] @@ -310,7 +310,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5EhD3v6Z8Vdakfg46eP1cab' + - 'Bearer d5Ebc1ZeDv8aPk466aV3gfh' controller: null method: null route: null @@ -347,7 +347,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -355,7 +355,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -372,7 +372,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pc5Da6Vhdk1vag6fE84e3Zb' + - 'Bearer Vav31kZcfg86bdE6ha5DeP4' controller: null method: null route: null @@ -409,7 +409,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -417,7 +417,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -434,7 +434,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a61v48DfkeEbcg3a6hd5PZV' + - 'Bearer 14bV3dgZhD6cvEefkPa586a' controller: null method: null route: null @@ -471,7 +471,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -479,7 +479,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -496,7 +496,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer haE8D6Z6gePk1vadVb53c4f' + - 'Bearer Vv6EbPh186eg3D5fadackZ4' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/07.yaml b/.scribe/endpoints.cache/07.yaml index 171502e..016a975 100644 --- a/.scribe/endpoints.cache/07.yaml +++ b/.scribe/endpoints.cache/07.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":2,"project_id":null,"global":true,"name":"laudantium","provider":"vultr","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":3,"project_id":null,"global":true,"name":"aut","provider":"aws","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"quaerat","provider":"aws","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":4,"project_id":null,"global":true,"name":"quas","provider":"vultr","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 Df16eda8Pa345EkgbZ6cvhV' + - 'Bearer aVP8e63k5D6ab1vdgEc4Zhf' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: voluptatem + example: exercitationem type: string enumValues: [] exampleWasSpecified: false @@ -101,7 +101,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: repellat + example: similique type: string enumValues: [] exampleWasSpecified: false @@ -111,7 +111,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: omnis + example: nisi type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: recusandae + example: tempora type: string enumValues: [] exampleWasSpecified: false @@ -131,23 +131,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: in + example: earum type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: voluptatem - name: repellat - token: omnis - key: recusandae - secret: in + provider: exercitationem + name: similique + token: nisi + key: tempora + secret: earum fileParameters: [] responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"quia","provider":"vultr","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"iure","provider":"hetzner","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8fbgDV6vdhakE1c64e3P5aZ' + - 'Bearer b6DZavf4c3gk8PEda1e5hV6' controller: null method: null route: null @@ -209,7 +209,7 @@ endpoints: responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"ab","provider":"hetzner","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"vultr","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -217,7 +217,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eVE816Pc4ak3bdfahDZv6g5' + - 'Bearer 6b6aVEPkfvZ81c3dD5ea4hg' controller: null method: null route: null @@ -270,7 +270,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: est + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -280,7 +280,7 @@ endpoints: name: global description: 'Accessible in all projects' required: true - example: true + example: false type: string enumValues: - true @@ -289,13 +289,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: est - global: true + name: porro + global: false fileParameters: [] responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"nesciunt","provider":"linode","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"aliquam","provider":"hetzner","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer va86keaPDdh3b16Z54EgfcV' + - 'Bearer fgVkbe8ZhPa1c4v5E6Da36d' controller: null method: null route: null @@ -365,7 +365,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer abv13ag8h5fZ4EPVDe6dc6k' + - 'Bearer 66Pfb5hE8gDVaZvkd1ec43a' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/08.yaml b/.scribe/endpoints.cache/08.yaml index 4f6802c..e1411c3 100644 --- a/.scribe/endpoints.cache/08.yaml +++ b/.scribe/endpoints.cache/08.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -52,7 +52,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"user":null,"name":"Godfrey Mills","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Donato Streich","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"user":null,"name":"Dr. Virgie Reilly","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Horace Gutmann","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 1gEva8Z6e6abPDhk453fdVc' + - 'Bearer vPhZkafdEa8b665e134cgVD' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -113,7 +113,7 @@ endpoints: name: key_id description: 'The ID of the key.' required: true - example: numquam + example: et 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: alias + example: provident 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: voluptate + example: incidunt type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - key_id: numquam - name: alias - public_key: voluptate + key_id: et + name: provident + public_key: incidunt fileParameters: [] responses: - status: 200 - content: '{"id":null,"user":null,"name":"Mr. Stanton Bergnaum","created_at":null,"updated_at":null}' + content: '{"id":null,"user":null,"name":"Miss Penelope Sipes IV","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V64Z86fEdbavh1PgackDe53' + - 'Bearer 5aah3b6PdVkc4efv6Eg81ZD' controller: null method: null route: null @@ -192,7 +192,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -210,7 +210,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 sshKey_id: 1 queryParameters: [] cleanQueryParameters: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3deg1vc65k8D6abahfZVPE4' + - 'Bearer Dh8a1gacZ366k5Pev4fbEdV' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/09.yaml b/.scribe/endpoints.cache/09.yaml index 7579ebf..ffcab4e 100644 --- a/.scribe/endpoints.cache/09.yaml +++ b/.scribe/endpoints.cache/09.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cdhb5VevgkZ6DafP6184a3E' + - 'Bearer Dbcd346g8EfZ5aheaVvkP16' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -107,7 +107,7 @@ endpoints: name: id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -115,8 +115,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 53 + server_id: 29 + id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -133,7 +133,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3vDaE6Pc51Zg8kbheadVf64' + - 'Bearer hd8bE5aD6v4Vc16af3kgPeZ' controller: null method: null route: null @@ -170,7 +170,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -180,7 +180,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -188,8 +188,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -206,7 +206,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a6e6Db5VcP314EgZdka8vhf' + - 'Bearer agcvkPdfe56aZ14EV6b8D3h' controller: null method: null route: null @@ -243,7 +243,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -253,7 +253,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -261,8 +261,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -279,7 +279,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer kefg56PEc4a18aDdvVZb3h6' + - 'Bearer bvVga83Dh1f6ackP46e5ZdE' controller: null method: null route: null @@ -316,7 +316,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -326,7 +326,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -334,8 +334,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -352,7 +352,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer edhaE164avZ6gbVDPf3k8c5' + - 'Bearer 8PD5cVdfv3a1bh46e6EZagk' controller: null method: null route: null @@ -389,7 +389,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -399,7 +399,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -407,8 +407,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -425,7 +425,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer D4c1hbfV6Pad68v3gEkaeZ5' + - 'Bearer a485achPEDe63bgVk16vZdf' controller: null method: null route: null @@ -462,7 +462,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -472,7 +472,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -480,8 +480,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -498,7 +498,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer be41fvh6a8d5PkDVEgZ36ca' + - 'Bearer 6ZePf1dc346k8h5DvaEbaVg' controller: null method: null route: null @@ -535,7 +535,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -545,7 +545,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -553,8 +553,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -571,7 +571,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer dcb68hg634P1DaZvef5VakE' + - 'Bearer 48fP63b1hckda6vaZEVeg5D' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/10.yaml b/.scribe/endpoints.cache/10.yaml index d41b986..5106657 100644 --- a/.scribe/endpoints.cache/10.yaml +++ b/.scribe/endpoints.cache/10.yaml @@ -35,7 +35,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -43,7 +43,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -60,7 +60,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3gE54ahkea166PfvbVD8Zdc' + - 'Bearer 3V64fhkdgEvD5Z1cP6aea8b' controller: null method: null route: null @@ -97,7 +97,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -113,7 +113,7 @@ endpoints: name: type description: '' required: true - example: php + example: php-blank type: string enumValues: - php @@ -129,7 +129,7 @@ endpoints: name: domain description: '' required: true - example: rem + example: harum type: string enumValues: [] exampleWasSpecified: false @@ -140,7 +140,7 @@ endpoints: description: '' required: true example: - - libero + - voluptatem 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: dolor + example: amet 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: vitae + example: et 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: ip-hash + example: least-connections type: string enumValues: - round-robin @@ -240,19 +240,19 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: php - domain: rem + type: php-blank + domain: harum aliases: - - libero + - voluptatem php_version: '7.4' web_directory: public - source_control: dolor + source_control: amet repository: organization/repository branch: main composer: true version: 5.2.1 - user: vitae - method: ip-hash + user: et + method: least-connections fileParameters: [] responses: - @@ -265,7 +265,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer e1V4ga3Pavk6ch6b5E8fZdD' + - 'Bearer EVDP3fa1vga8Zk5cd466ebh' controller: null method: null route: null @@ -302,7 +302,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -312,7 +312,7 @@ endpoints: name: id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -320,8 +320,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 26 + server_id: 29 + id: 43 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -338,7 +338,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8gZkEaehfd4v3bac615DVP6' + - 'Bearer b3h4Zegva1kEcdVfD8P5a66' controller: null method: null route: null @@ -375,7 +375,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -385,7 +385,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -393,8 +393,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - site_id: 26 + server_id: 29 + site_id: 43 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -411,7 +411,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer aadb1h6f6kD4V8vePZgcE35' + - 'Bearer cDe1b4f6a63EagP5vkdZ8Vh' controller: null method: null route: null @@ -448,7 +448,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -458,7 +458,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -466,8 +466,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - site_id: 26 + server_id: 29 + site_id: 43 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: least-connections + example: ip-hash 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: - - deleniti + - accusantium type: 'string[]' enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - method: least-connections + method: ip-hash servers: - - deleniti + - accusantium fileParameters: [] responses: - @@ -511,7 +511,250 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5E6hZa64bka1cV3Pdvf8Deg' + - 'Bearer e65dDaaP6V4E3Zcf8hgvkb1' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/aliases' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: aliases + description: 'Update aliases.' + 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + aliases: + name: aliases + description: 'Array of aliases' + required: true + example: + - ut + type: 'string[]' + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + aliases: + - ut + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer aedPZ4ah68c3Ef1kDVbvg65' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deployment-script' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deployment-script + description: 'Update 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + script: + name: script + description: 'Content of the deployment script' + required: true + example: culpa + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + script: culpa + fileParameters: [] + responses: + - + status: 204 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer fhVea1a3cPdk6g5Ev468DZb' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - GET + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deployment-script' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deployment-script + description: 'Get site deployment script content' + 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer 1g3bfhd6c8aPV6aZD45eEvk' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/11.yaml b/.scribe/endpoints.cache/11.yaml index 8b57db2..f1a0174 100644 --- a/.scribe/endpoints.cache/11.yaml +++ b/.scribe/endpoints.cache/11.yaml @@ -41,7 +41,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Mr. Reuben Schimmel","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Ms. Brandy Mraz V","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Amya Jones","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Jerry Donnelly","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 g4kDa1vV6cdfPe3baZ8h5E6' + - 'Bearer Pvgec6k58a4fZa6D1Vd3hEb' controller: null method: null route: null @@ -104,7 +104,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: dignissimos + example: eligendi type: string enumValues: [] exampleWasSpecified: false @@ -114,7 +114,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: voluptates + example: debitis 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://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam' + example: 'http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum' type: string enumValues: [] exampleWasSpecified: false @@ -134,7 +134,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: nisi + example: rerum type: string enumValues: [] exampleWasSpecified: false @@ -144,7 +144,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: W~19Z0 + example: 'wBK}NHxV:x' type: string enumValues: [] exampleWasSpecified: false @@ -152,16 +152,16 @@ endpoints: custom: [] cleanBodyParameters: provider: bitbucket - name: dignissimos - token: voluptates - url: 'https://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam' - username: nisi - password: W~19Z0 + name: eligendi + token: debitis + url: 'http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum' + username: rerum + password: 'wBK}NHxV:x' fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Harmony Koss DVM","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Dr. Janae Tremblay PhD","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -169,7 +169,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fhEkg836V6cbd5ZPva4Dae1' + - 'Bearer eaD3hgavbcE61f46VdkZP58' controller: null method: null route: null @@ -223,7 +223,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Martin Welch","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Marguerite Aufderhar","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -231,7 +231,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 458gPbv6deEfkcZ13ahaD6V' + - 'Bearer g653Ph4VaebdE1Z6cakfDv8' controller: null method: null route: null @@ -284,7 +284,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: aut + example: blanditiis type: string enumValues: [] exampleWasSpecified: false @@ -294,7 +294,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: repudiandae + example: non 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://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html' + example: 'https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam' type: string enumValues: [] exampleWasSpecified: false @@ -314,7 +314,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: consequatur + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -324,7 +324,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: 'oX/H"pAIt7R2"' + example: '>BW~{`#d,}=U!XxC!t]' type: string enumValues: [] exampleWasSpecified: false @@ -343,17 +343,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: aut - token: repudiandae - url: 'http://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html' - username: consequatur - password: 'oX/H"pAIt7R2"' + name: blanditiis + token: non + url: 'https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam' + username: porro + password: '>BW~{`#d,}=U!XxC!t]' global: false fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Miss Dulce Nicolas III","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Johan Crooks","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -361,7 +361,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer De1a4dEaV5v3Zgh8fPk66bc' + - 'Bearer 1g3ZV5haeEa8dD6kcv6bf4P' controller: null method: null route: null @@ -423,7 +423,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer EZhd63eafgcV4a651PvkDb8' + - 'Bearer de684Vav1kf3PbaDg6hEZc5' controller: null method: null route: null diff --git a/.scribe/endpoints.cache/12.yaml b/.scribe/endpoints.cache/12.yaml index 9b815fb..e5d2c9f 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":"dolorem","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":6,"project_id":null,"global":true,"name":"itaque","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"sit","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"repudiandae","provider":"local","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 D16Vg58E6Pfkh3Zveab4dca' + - 'Bearer EbkDP1Z3aVav8g6ef6dc5h4' controller: null method: null route: null @@ -91,7 +91,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: alias + example: est type: string enumValues: [] exampleWasSpecified: false @@ -101,7 +101,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: explicabo + example: id type: string enumValues: [] exampleWasSpecified: false @@ -111,7 +111,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: ut + example: repellendus type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: libero + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -131,23 +131,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: consequatur + example: possimus type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: alias - name: explicabo - token: ut - key: libero - secret: consequatur + provider: est + name: id + token: repellendus + key: ducimus + secret: possimus fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"quos","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"sequi","provider":"dropbox","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DaZ6d6Eck1bhVe3g4aP85vf' + - 'Bearer 45kVPD6ec6hvga83bfa1dEZ' controller: null method: null route: null @@ -209,7 +209,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"id","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"alias","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -217,7 +217,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1dekD4gva56bc683VPEhZfa' + - 'Bearer ahb6gDd8fv3P1ak6cEe4V5Z' controller: null method: null route: null @@ -270,7 +270,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: sequi + example: ullam 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: sequi - global: false + name: ullam + global: true fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"velit","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"at","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -303,7 +303,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V65g18Pca4v3hDEkbZfe6da' + - 'Bearer a8Vgfvh5abkd616eDZ43cPE' controller: null method: null route: null @@ -365,7 +365,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1v6a6efgch3DbZ4aVE5d8kP' + - 'Bearer kDheaPEvb61Va564dZc8f3g' controller: null method: null route: null diff --git a/.scribe/endpoints/00.yaml b/.scribe/endpoints/00.yaml index 88bcfcf..95471b6 100644 --- a/.scribe/endpoints/00.yaml +++ b/.scribe/endpoints/00.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer ge6ZVa4kfD86hdv5a31EcbP' + - 'Bearer PahVdEb56Z3f14kDgc68aev' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,7 +103,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -111,7 +111,7 @@ endpoints: name: command description: '' required: true - example: itaque + example: qui 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: itaque - user: root + command: qui + user: vito frequency: '* * * * *' fileParameters: [] responses: @@ -155,7 +155,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cdh5bD8gVPkf34e1ZEva6a6' + - 'Bearer agkPEVc3h6D1d6a8evfZb54' controller: null method: null route: null @@ -192,7 +192,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -202,7 +202,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 18 + example: 17 type: integer enumValues: [] exampleWasSpecified: false @@ -210,8 +210,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - cronJob_id: 18 + server_id: 29 + cronJob_id: 17 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -228,7 +228,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fa5VgdkaD8cZ6vh34Pb16eE' + - 'Bearer b518EePkVcdhDvZaf6643ga' controller: null method: null route: null @@ -265,7 +265,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -275,7 +275,7 @@ endpoints: name: cronJob_id description: 'The ID of the cronJob.' required: true - example: 10 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -283,8 +283,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - cronJob_id: 10 + server_id: 29 + cronJob_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P8hkva3ZD4fgb166adEVce5' + - 'Bearer 3cak566dDhPvV8eZafg4bE1' controller: null method: null route: null diff --git a/.scribe/endpoints/01.yaml b/.scribe/endpoints/01.yaml index be0a107..bea3338 100644 --- a/.scribe/endpoints/01.yaml +++ b/.scribe/endpoints/01.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"name":"amalia38","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"troy.rippin","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"name":"joyce53","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"eric55","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 Z641ebPacDV6f38kEgdah5v' + - 'Bearer vegcPa1dk6f435E68ZbhaVD' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,7 +103,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -111,19 +111,41 @@ endpoints: name: name description: '' required: true - example: et + example: debitis + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + charset: + name: charset + description: '' + required: true + example: maxime + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + collation: + name: collation + description: '' + required: true + example: sed type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: et + name: debitis + charset: maxime + collation: sed fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"harvey.haskell","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"brekke.isabell","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -131,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer d4gbv56caV3aZ8D1h6kfEPe' + - 'Bearer Vk1fhea8caEg4dvD35PbZ66' controller: null method: null route: null @@ -168,7 +190,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -178,7 +200,7 @@ endpoints: name: id description: 'The ID of the database.' required: true - example: 19 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -186,8 +208,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 19 + server_id: 29 + id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -196,7 +218,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"name":"ruthie.koepp","status":"ready","created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"name":"vandervort.emmalee","status":"ready","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -204,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P68VgDcaEZvk63f4b5aed1h' + - 'Bearer av45D6PehEdbZVgc381akf6' controller: null method: null route: null @@ -241,7 +263,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -251,7 +273,7 @@ endpoints: name: database_id description: 'The ID of the database.' required: true - example: 15 + example: 5 type: integer enumValues: [] exampleWasSpecified: false @@ -259,8 +281,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - database_id: 15 + server_id: 29 + database_id: 5 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -277,7 +299,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DkPc6d1heEv5a8fb4V63agZ' + - 'Bearer hDa6EdgkP84fcV61baZ3v5e' controller: null method: null route: null diff --git a/.scribe/endpoints/02.yaml b/.scribe/endpoints/02.yaml index fa53cc5..43cef99 100644 --- a/.scribe/endpoints/02.yaml +++ b/.scribe/endpoints/02.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"username":"xgaylord","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"una37","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"server_id":null,"username":"lehner.eloy","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"rlowe","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 P4gD36fZeckvVh5ab86Ead1' + - 'Bearer 3Da5E66PfZgdb81vkceah4V' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,7 +103,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -111,7 +111,7 @@ endpoints: name: username description: '' required: true - example: consequuntur + example: voluptas type: string enumValues: [] exampleWasSpecified: false @@ -121,7 +121,7 @@ endpoints: name: password description: '' required: true - example: 'fI/i2.O4u&dla?eXvR2' + example: ':D+e=/;H,' type: string enumValues: [] exampleWasSpecified: false @@ -138,14 +138,14 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - username: consequuntur - password: 'fI/i2.O4u&dla?eXvR2' + username: voluptas + password: ':D+e=/;H,' host: '%' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kari.farrell","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"fahey.joseph","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5k8Vced1baaE6f4ZvDPgh36' + - 'Bearer DvPa3c6f5Edbagh8kVe41Z6' controller: null method: null route: null @@ -190,7 +190,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -200,7 +200,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 18 + example: 19 type: integer enumValues: [] exampleWasSpecified: false @@ -208,8 +208,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 18 + server_id: 29 + databaseUser_id: 19 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -218,7 +218,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"caterina.mosciski","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"szboncak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -226,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3kDveP5V8a6dghfa4E16cbZ' + - 'Bearer VvDgd431cbE68heZ5fa6kaP' controller: null method: null route: null @@ -263,7 +263,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -273,7 +273,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 4 + example: 11 type: integer enumValues: [] exampleWasSpecified: false @@ -281,8 +281,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 4 + server_id: 29 + databaseUser_id: 11 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -290,19 +290,19 @@ endpoints: name: databases description: 'Array of database names to link to the user.' required: true - example: non + example: accusantium type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - databases: non + databases: accusantium fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"username":"kurtis05","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"server_id":null,"username":"smith.liliana","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -310,7 +310,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DgPea43EvV51a866dfbZckh' + - 'Bearer 1ZaahDcVeEvf6kd58P346gb' controller: null method: null route: null @@ -347,7 +347,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -357,7 +357,7 @@ endpoints: name: databaseUser_id description: 'The ID of the databaseUser.' required: true - example: 6 + example: 18 type: integer enumValues: [] exampleWasSpecified: false @@ -365,8 +365,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - databaseUser_id: 6 + server_id: 29 + databaseUser_id: 18 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -383,7 +383,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6ackVP8hEZd3164gD5evafb' + - 'Bearer 6g31ZcdV68bDfEaak54vePh' controller: null method: null route: null diff --git a/.scribe/endpoints/03.yaml b/.scribe/endpoints/03.yaml index 315a923..419d4cd 100644 --- a/.scribe/endpoints/03.yaml +++ b/.scribe/endpoints/03.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":38781,"source":"79.116.255.150","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":32141,"source":"52.174.114.251","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"name":"ea","server_id":null,"type":"allow","protocol":"tcp","port":41910,"source":"202.183.211.242","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"iusto","server_id":null,"type":"allow","protocol":"tcp","port":60689,"source":"227.149.61.57","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 h3P5gD8E4dkeZ6abac6vfV1' + - 'Bearer 8g15h66aPf3ZdvkEab4ceVD' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,15 +103,25 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: + name: + name: name + description: '' + required: true + example: autem + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] type: name: type description: '' required: true - example: deny + example: allow type: string enumValues: - allow @@ -123,7 +133,7 @@ endpoints: name: protocol description: '' required: true - example: udp + example: tcp type: string enumValues: - tcp @@ -135,7 +145,7 @@ endpoints: name: port description: '' required: true - example: et + example: quas type: string enumValues: [] exampleWasSpecified: false @@ -144,8 +154,8 @@ endpoints: source: name: source description: '' - required: true - example: voluptates + required: false + example: blanditiis type: string enumValues: [] exampleWasSpecified: false @@ -162,16 +172,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: deny - protocol: udp - port: et - source: voluptates + name: autem + type: allow + protocol: tcp + port: quas + source: blanditiis mask: '0' fileParameters: [] responses: - status: 200 - content: '{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":47148,"source":"119.182.8.45","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"in","server_id":null,"type":"allow","protocol":"tcp","port":13253,"source":"245.228.81.208","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -179,7 +190,150 @@ endpoints: auth: - headers - Authorization - - 'Bearer 6a8DVv5k3gZfEe6hb1daPc4' + - 'Bearer 8dhcE436Zbk6fgVDP1aa5ev' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/firewall-rules/{firewallRule_id}' + metadata: + groupName: firewall-rules + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: edit + description: 'Update an existing firewall rule.' + 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: [] + firewallRule_id: + name: firewallRule_id + description: 'The ID of the firewallRule.' + required: true + example: 85 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + firewallRule_id: 85 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + name: + name: name + description: '' + required: true + example: earum + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + type: + name: type + description: '' + required: true + example: allow + type: string + enumValues: + - allow + - deny + exampleWasSpecified: false + nullable: false + custom: [] + protocol: + name: protocol + description: '' + required: true + example: tcp + type: string + enumValues: + - tcp + - udp + exampleWasSpecified: false + nullable: false + custom: [] + port: + name: port + description: '' + required: true + example: ab + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + source: + name: source + description: '' + required: false + example: possimus + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + mask: + name: mask + description: 'Mask for source IP.' + required: true + example: '0' + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + name: earum + type: allow + protocol: tcp + port: ab + source: possimus + mask: '0' + fileParameters: [] + responses: + - + status: 200 + content: '{"id":null,"name":"repudiandae","server_id":null,"type":"allow","protocol":"tcp","port":44250,"source":"243.200.88.169","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer ag6ebf3456hVkd8ca1PvEDZ' controller: null method: null route: null @@ -216,7 +370,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -226,7 +380,7 @@ endpoints: name: firewallRule_id description: 'The ID of the firewallRule.' required: true - example: 29 + example: 85 type: integer enumValues: [] exampleWasSpecified: false @@ -234,8 +388,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - firewallRule_id: 29 + server_id: 29 + firewallRule_id: 85 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -244,7 +398,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"server_id":null,"type":"allow","protocol":"tcp","port":2317,"source":"44.161.134.114","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"name":"quam","server_id":null,"type":"allow","protocol":"tcp","port":62505,"source":"73.254.77.244","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -252,7 +406,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer P4bZdV1geED3kfh568aa6cv' + - 'Bearer Paagd6D6fV5v4kZ31ebc8hE' controller: null method: null route: null @@ -289,7 +443,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -299,7 +453,7 @@ endpoints: name: firewallRule_id description: 'The ID of the firewallRule.' required: true - example: 29 + example: 85 type: integer enumValues: [] exampleWasSpecified: false @@ -307,8 +461,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - firewallRule_id: 29 + server_id: 29 + firewallRule_id: 85 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -325,7 +479,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Dh3kcaafdg6E5ZvV46ePb81' + - 'Bearer avf16Vhb43dacPZge6D5k8E' controller: null method: null route: null diff --git a/.scribe/endpoints/04.yaml b/.scribe/endpoints/04.yaml index 601f95e..c5d9e45 100644 --- a/.scribe/endpoints/04.yaml +++ b/.scribe/endpoints/04.yaml @@ -27,7 +27,7 @@ endpoints: responses: - status: 200 - content: '{"success":true,"version":"2.1.0"}' + content: '{"success":true,"version":"2.4.0"}' headers: cache-control: 'no-cache, private' content-type: application/json diff --git a/.scribe/endpoints/05.yaml b/.scribe/endpoints/05.yaml index 4736657..4c4d897 100644 --- a/.scribe/endpoints/05.yaml +++ b/.scribe/endpoints/05.yaml @@ -28,7 +28,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":3,"name":"Jeffry Dickinson","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":4,"name":"Miss Tianna Dietrich PhD","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"name":"Amara Jaskolski","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":4,"name":"Christy Kohler","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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: [] @@ -36,7 +36,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5DaveP3d6b6khEZVcg4fa18' + - 'Bearer 5v83ePa1dah4bcE6VgfZDk6' controller: null method: null route: null @@ -67,19 +67,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: quos + example: temporibus type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: quos + name: temporibus fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Isidro Franecki","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Prof. Enrico Wehner Sr.","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -87,7 +87,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a6P53EvkcZV6D4ghad1efb8' + - 'Bearer Zk61vE43aagDbc5V68edhPf' controller: null method: null route: null @@ -130,7 +130,7 @@ endpoints: responses: - status: 200 - content: '{"id":3,"name":"Rhoda Parisian","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Zoie Feest","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -138,7 +138,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer v48Ve5ZghdcbE1akP66fD3a' + - 'Bearer 6vfDgb435d8cPeV1EZa6hak' controller: null method: null route: null @@ -180,19 +180,19 @@ endpoints: name: name description: 'The name of the project.' required: true - example: ullam + example: sit type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - name: ullam + name: sit fileParameters: [] responses: - status: 200 - content: '{"id":3,"name":"Mr. Dashawn Jacobson Sr.","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"name":"Mr. Jayme Kuhlman DVM","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -200,7 +200,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fvEdh3Vgbk56Z4a61eP8caD' + - 'Bearer 6gkaZVh3P5b81cf6ev4EdDa' controller: null method: null route: null @@ -251,7 +251,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eg4c3vZ1Dhaa68d6PEfk5bV' + - 'Bearer bfeg4DZ566cvdP813kVhEaa' controller: null method: null route: null diff --git a/.scribe/endpoints/06.yaml b/.scribe/endpoints/06.yaml index 9d76857..3bf185b 100644 --- a/.scribe/endpoints/06.yaml +++ b/.scribe/endpoints/06.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Amina DuBuque","ssh_user":"vito","ip":"163.77.69.73","local_ip":"137.139.200.70","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Floy Cummerata","ssh_user":"vito","ip":"62.53.140.25","local_ip":"34.59.35.195","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Prof. Wyatt Powlowski IV","ssh_user":"vito","ip":"33.53.217.82","local_ip":"227.155.11.76","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":"Guiseppe D''Amore","ssh_user":"vito","ip":"41.138.98.159","local_ip":"78.178.81.109","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 E81avahec6365dbZfgD4kPV' + - 'Bearer aaEkbd3D8gZ6f5v1ePhcV46' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The server provider type' required: true - example: iste + example: vel type: string enumValues: [] exampleWasSpecified: false @@ -99,7 +99,7 @@ endpoints: name: server_provider description: 'If the provider is not custom, the ID of the server provider profile' required: true - example: custom + example: hetzner type: string enumValues: - custom @@ -114,7 +114,7 @@ endpoints: name: region description: 'Provider region if the provider is not custom' required: true - example: libero + example: voluptatibus type: string enumValues: [] exampleWasSpecified: false @@ -124,7 +124,7 @@ endpoints: name: plan description: 'Provider plan if the provider is not custom' required: true - example: ut + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -134,7 +134,7 @@ endpoints: name: ip description: 'SSH IP address if the provider is custom' required: true - example: molestias + example: dolores type: string enumValues: [] exampleWasSpecified: false @@ -144,7 +144,7 @@ endpoints: name: port description: 'SSH Port if the provider is custom' required: true - example: laudantium + example: ratione type: string enumValues: [] exampleWasSpecified: false @@ -154,7 +154,7 @@ endpoints: name: name description: 'The name of the server.' required: true - example: illum + example: in type: string enumValues: [] exampleWasSpecified: false @@ -164,7 +164,7 @@ endpoints: name: os description: 'The os of the server' required: true - example: autem + example: cumque 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: postgresql12 + example: mysql80 type: string enumValues: - none @@ -223,22 +223,22 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - provider: iste - server_provider: custom - region: libero - plan: ut - ip: molestias - port: laudantium - name: illum - os: autem - webserver: none - database: postgresql12 + provider: vel + server_provider: hetzner + region: voluptatibus + plan: ducimus + ip: dolores + port: ratione + name: in + os: cumque + webserver: nginx + database: mysql80 php: '7.4' fileParameters: [] responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Archibald Nolan","ssh_user":"vito","ip":"226.168.13.177","local_ip":"143.14.43.182","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Anissa McDermott","ssh_user":"vito","ip":"212.15.34.173","local_ip":"142.201.95.242","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 aad3Pvc4e65DghZVEk8f1b6' + - 'Bearer 6cgZPdbVD4fvae15khaE638' controller: null method: null route: null @@ -283,7 +283,7 @@ endpoints: name: id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -291,7 +291,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - id: 8 + id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -300,7 +300,7 @@ endpoints: responses: - status: 200 - content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Tevin Sipes","ssh_user":"vito","ip":"61.41.183.152","local_ip":"197.160.239.147","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}' + content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Prof. Newton Wintheiser Jr.","ssh_user":"vito","ip":"243.154.251.36","local_ip":"198.224.194.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}' headers: [] description: '' custom: [] @@ -308,7 +308,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5EhD3v6Z8Vdakfg46eP1cab' + - 'Bearer d5Ebc1ZeDv8aPk466aV3gfh' controller: null method: null route: null @@ -345,7 +345,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -353,7 +353,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -370,7 +370,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer Pc5Da6Vhdk1vag6fE84e3Zb' + - 'Bearer Vav31kZcfg86bdE6ha5DeP4' controller: null method: null route: null @@ -407,7 +407,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -415,7 +415,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -432,7 +432,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a61v48DfkeEbcg3a6hd5PZV' + - 'Bearer 14bV3dgZhD6cvEefkPa586a' controller: null method: null route: null @@ -469,7 +469,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -477,7 +477,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -494,7 +494,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer haE8D6Z6gePk1vadVb53c4f' + - 'Bearer Vv6EbPh186eg3D5fadackZ4' controller: null method: null route: null diff --git a/.scribe/endpoints/07.yaml b/.scribe/endpoints/07.yaml index 67173a8..b730b4a 100644 --- a/.scribe/endpoints/07.yaml +++ b/.scribe/endpoints/07.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":2,"project_id":null,"global":true,"name":"laudantium","provider":"vultr","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":3,"project_id":null,"global":true,"name":"aut","provider":"aws","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"quaerat","provider":"aws","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":4,"project_id":null,"global":true,"name":"quas","provider":"vultr","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 Df16eda8Pa345EkgbZ6cvhV' + - 'Bearer aVP8e63k5D6ab1vdgEc4Zhf' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: voluptatem + example: exercitationem type: string enumValues: [] exampleWasSpecified: false @@ -99,7 +99,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: repellat + example: similique type: string enumValues: [] exampleWasSpecified: false @@ -109,7 +109,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: omnis + example: nisi type: string enumValues: [] exampleWasSpecified: false @@ -119,7 +119,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: recusandae + example: tempora type: string enumValues: [] exampleWasSpecified: false @@ -129,23 +129,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: in + example: earum type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: voluptatem - name: repellat - token: omnis - key: recusandae - secret: in + provider: exercitationem + name: similique + token: nisi + key: tempora + secret: earum fileParameters: [] responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"quia","provider":"vultr","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"iure","provider":"hetzner","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8fbgDV6vdhakE1c64e3P5aZ' + - 'Bearer b6DZavf4c3gk8PEda1e5hV6' controller: null method: null route: null @@ -207,7 +207,7 @@ endpoints: responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"ab","provider":"hetzner","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"vultr","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -215,7 +215,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer eVE816Pc4ak3bdfahDZv6g5' + - 'Bearer 6b6aVEPkfvZ81c3dD5ea4hg' controller: null method: null route: null @@ -268,7 +268,7 @@ endpoints: name: name description: 'The name of the server provider.' required: true - example: est + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -278,7 +278,7 @@ endpoints: name: global description: 'Accessible in all projects' required: true - example: true + example: false type: string enumValues: - true @@ -287,13 +287,13 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: est - global: true + name: porro + global: false fileParameters: [] responses: - status: 200 - content: '{"id":2,"project_id":null,"global":true,"name":"nesciunt","provider":"linode","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":3,"project_id":null,"global":true,"name":"aliquam","provider":"hetzner","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer va86keaPDdh3b16Z54EgfcV' + - 'Bearer fgVkbe8ZhPa1c4v5E6Da36d' controller: null method: null route: null @@ -363,7 +363,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer abv13ag8h5fZ4EPVDe6dc6k' + - 'Bearer 66Pfb5hE8gDVaZvkd1ec43a' controller: null method: null route: null diff --git a/.scribe/endpoints/08.yaml b/.scribe/endpoints/08.yaml index 4e35b56..fc7f309 100644 --- a/.scribe/endpoints/08.yaml +++ b/.scribe/endpoints/08.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -50,7 +50,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":null,"user":null,"name":"Godfrey Mills","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Donato Streich","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":null,"user":null,"name":"Dr. Virgie Reilly","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Horace Gutmann","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 1gEva8Z6e6abPDhk453fdVc' + - 'Bearer vPhZkafdEa8b665e134cgVD' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,7 +103,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -111,7 +111,7 @@ endpoints: name: key_id description: 'The ID of the key.' required: true - example: numquam + example: et 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: alias + example: provident 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: voluptate + example: incidunt type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - key_id: numquam - name: alias - public_key: voluptate + key_id: et + name: provident + public_key: incidunt fileParameters: [] responses: - status: 200 - content: '{"id":null,"user":null,"name":"Mr. Stanton Bergnaum","created_at":null,"updated_at":null}' + content: '{"id":null,"user":null,"name":"Miss Penelope Sipes IV","created_at":null,"updated_at":null}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V64Z86fEdbavh1PgackDe53' + - 'Bearer 5aah3b6PdVkc4efv6Eg81ZD' controller: null method: null route: null @@ -190,7 +190,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -208,7 +208,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 sshKey_id: 1 queryParameters: [] cleanQueryParameters: [] @@ -226,7 +226,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3deg1vc65k8D6abahfZVPE4' + - 'Bearer Dh8a1gacZ366k5Pev4fbEdV' controller: null method: null route: null diff --git a/.scribe/endpoints/09.yaml b/.scribe/endpoints/09.yaml index 4e76b2f..ffafe1b 100644 --- a/.scribe/endpoints/09.yaml +++ b/.scribe/endpoints/09.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer cdhb5VevgkZ6DafP6184a3E' + - 'Bearer Dbcd346g8EfZ5aheaVvkP16' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -105,7 +105,7 @@ endpoints: name: id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -113,8 +113,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 53 + server_id: 29 + id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -131,7 +131,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3vDaE6Pc51Zg8kbheadVf64' + - 'Bearer hd8bE5aD6v4Vc16af3kgPeZ' controller: null method: null route: null @@ -168,7 +168,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -178,7 +178,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -186,8 +186,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -204,7 +204,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer a6e6Db5VcP314EgZdka8vhf' + - 'Bearer agcvkPdfe56aZ14EV6b8D3h' controller: null method: null route: null @@ -241,7 +241,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -251,7 +251,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -259,8 +259,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -277,7 +277,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer kefg56PEc4a18aDdvVZb3h6' + - 'Bearer bvVga83Dh1f6ackP46e5ZdE' controller: null method: null route: null @@ -314,7 +314,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -324,7 +324,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -332,8 +332,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -350,7 +350,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer edhaE164avZ6gbVDPf3k8c5' + - 'Bearer 8PD5cVdfv3a1bh46e6EZagk' controller: null method: null route: null @@ -387,7 +387,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -397,7 +397,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -405,8 +405,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -423,7 +423,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer D4c1hbfV6Pad68v3gEkaeZ5' + - 'Bearer a485achPEDe63bgVk16vZdf' controller: null method: null route: null @@ -460,7 +460,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -470,7 +470,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -478,8 +478,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -496,7 +496,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer be41fvh6a8d5PkDVEgZ36ca' + - 'Bearer 6ZePf1dc346k8h5DvaEbaVg' controller: null method: null route: null @@ -533,7 +533,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -543,7 +543,7 @@ endpoints: name: service_id description: 'The ID of the service.' required: true - example: 53 + example: 169 type: integer enumValues: [] exampleWasSpecified: false @@ -551,8 +551,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - service_id: 53 + server_id: 29 + service_id: 169 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -569,7 +569,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer dcb68hg634P1DaZvef5VakE' + - 'Bearer 48fP63b1hckda6vaZEVeg5D' controller: null method: null route: null diff --git a/.scribe/endpoints/10.yaml b/.scribe/endpoints/10.yaml index 8d756c8..101be82 100644 --- a/.scribe/endpoints/10.yaml +++ b/.scribe/endpoints/10.yaml @@ -33,7 +33,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -41,7 +41,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -58,7 +58,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 3gE54ahkea166PfvbVD8Zdc' + - 'Bearer 3V64fhkdgEvD5Z1cP6aea8b' controller: null method: null route: null @@ -95,7 +95,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -103,7 +103,7 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 + server_id: 29 queryParameters: [] cleanQueryParameters: [] bodyParameters: @@ -111,7 +111,7 @@ endpoints: name: type description: '' required: true - example: php + example: php-blank type: string enumValues: - php @@ -127,7 +127,7 @@ endpoints: name: domain description: '' required: true - example: rem + example: harum type: string enumValues: [] exampleWasSpecified: false @@ -138,7 +138,7 @@ endpoints: description: '' required: true example: - - libero + - voluptatem 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: dolor + example: amet 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: vitae + example: et 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: ip-hash + example: least-connections type: string enumValues: - round-robin @@ -238,19 +238,19 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - type: php - domain: rem + type: php-blank + domain: harum aliases: - - libero + - voluptatem php_version: '7.4' web_directory: public - source_control: dolor + source_control: amet repository: organization/repository branch: main composer: true version: 5.2.1 - user: vitae - method: ip-hash + user: et + method: least-connections fileParameters: [] responses: - @@ -263,7 +263,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer e1V4ga3Pavk6ch6b5E8fZdD' + - 'Bearer EVDP3fa1vga8Zk5cd466ebh' controller: null method: null route: null @@ -300,7 +300,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -310,7 +310,7 @@ endpoints: name: id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -318,8 +318,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - id: 26 + server_id: 29 + id: 43 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -336,7 +336,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 8gZkEaehfd4v3bac615DVP6' + - 'Bearer b3h4Zegva1kEcdVfD8P5a66' controller: null method: null route: null @@ -373,7 +373,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -383,7 +383,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -391,8 +391,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - site_id: 26 + server_id: 29 + site_id: 43 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] @@ -409,7 +409,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer aadb1h6f6kD4V8vePZgcE35' + - 'Bearer cDe1b4f6a63EagP5vkdZ8Vh' controller: null method: null route: null @@ -446,7 +446,7 @@ endpoints: name: server_id description: 'The ID of the server.' required: true - example: 8 + example: 29 type: integer enumValues: [] exampleWasSpecified: false @@ -456,7 +456,7 @@ endpoints: name: site_id description: 'The ID of the site.' required: true - example: 26 + example: 43 type: integer enumValues: [] exampleWasSpecified: false @@ -464,8 +464,8 @@ endpoints: custom: [] cleanUrlParameters: project_id: 1 - server_id: 8 - site_id: 26 + server_id: 29 + site_id: 43 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: least-connections + example: ip-hash 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: - - deleniti + - accusantium type: 'string[]' enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - method: least-connections + method: ip-hash servers: - - deleniti + - accusantium fileParameters: [] responses: - @@ -509,7 +509,250 @@ endpoints: auth: - headers - Authorization - - 'Bearer 5E6hZa64bka1cV3Pdvf8Deg' + - 'Bearer e65dDaaP6V4E3Zcf8hgvkb1' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/aliases' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: aliases + description: 'Update aliases.' + 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + aliases: + name: aliases + description: 'Array of aliases' + required: true + example: + - ut + type: 'string[]' + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + aliases: + - ut + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer aedPZ4ah68c3Ef1kDVbvg65' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - PUT + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deployment-script' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deployment-script + description: 'Update 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: + script: + name: script + description: 'Content of the deployment script' + required: true + example: culpa + type: string + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanBodyParameters: + script: culpa + fileParameters: [] + responses: + - + status: 204 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer fhVea1a3cPdk6g5Ev468DZb' + controller: null + method: null + route: null + custom: [] + - + httpMethods: + - GET + uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deployment-script' + metadata: + groupName: sites + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: deployment-script + description: 'Get site deployment script content' + 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: 43 + type: integer + enumValues: [] + exampleWasSpecified: false + nullable: false + custom: [] + cleanUrlParameters: + project_id: 1 + server_id: 29 + site_id: 43 + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + status: 200 + content: null + headers: [] + description: '' + custom: [] + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer 1g3bfhd6c8aPV6aZD45eEvk' controller: null method: null route: null diff --git a/.scribe/endpoints/11.yaml b/.scribe/endpoints/11.yaml index 735c4de..a0823c7 100644 --- a/.scribe/endpoints/11.yaml +++ b/.scribe/endpoints/11.yaml @@ -39,7 +39,7 @@ endpoints: responses: - status: 200 - content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Mr. Reuben Schimmel","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Ms. Brandy Mraz V","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Amya Jones","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Jerry Donnelly","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 g4kDa1vV6cdfPe3baZ8h5E6' + - 'Bearer Pvgec6k58a4fZa6D1Vd3hEb' controller: null method: null route: null @@ -102,7 +102,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: dignissimos + example: eligendi type: string enumValues: [] exampleWasSpecified: false @@ -112,7 +112,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: voluptates + example: debitis 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://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam' + example: 'http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum' type: string enumValues: [] exampleWasSpecified: false @@ -132,7 +132,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: nisi + example: rerum type: string enumValues: [] exampleWasSpecified: false @@ -142,7 +142,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: W~19Z0 + example: 'wBK}NHxV:x' type: string enumValues: [] exampleWasSpecified: false @@ -150,16 +150,16 @@ endpoints: custom: [] cleanBodyParameters: provider: bitbucket - name: dignissimos - token: voluptates - url: 'https://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam' - username: nisi - password: W~19Z0 + name: eligendi + token: debitis + url: 'http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum' + username: rerum + password: 'wBK}NHxV:x' fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Harmony Koss DVM","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Dr. Janae Tremblay PhD","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -167,7 +167,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer fhEkg836V6cbd5ZPva4Dae1' + - 'Bearer eaD3hgavbcE61f46VdkZP58' controller: null method: null route: null @@ -221,7 +221,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Martin Welch","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Marguerite Aufderhar","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -229,7 +229,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 458gPbv6deEfkcZ13ahaD6V' + - 'Bearer g653Ph4VaebdE1Z6cakfDv8' controller: null method: null route: null @@ -282,7 +282,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: aut + example: blanditiis type: string enumValues: [] exampleWasSpecified: false @@ -292,7 +292,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: repudiandae + example: non 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://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html' + example: 'https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam' type: string enumValues: [] exampleWasSpecified: false @@ -312,7 +312,7 @@ endpoints: name: username description: 'The username if the provider is Bitbucket' required: true - example: consequatur + example: porro type: string enumValues: [] exampleWasSpecified: false @@ -322,7 +322,7 @@ endpoints: name: password description: 'The password if the provider is Bitbucket' required: true - example: 'oX/H"pAIt7R2"' + example: '>BW~{`#d,}=U!XxC!t]' type: string enumValues: [] exampleWasSpecified: false @@ -341,17 +341,17 @@ endpoints: nullable: false custom: [] cleanBodyParameters: - name: aut - token: repudiandae - url: 'http://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html' - username: consequatur - password: 'oX/H"pAIt7R2"' + name: blanditiis + token: non + url: 'https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam' + username: porro + password: '>BW~{`#d,}=U!XxC!t]' global: false fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"Miss Dulce Nicolas III","provider":"github","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"Johan Crooks","provider":"github","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -359,7 +359,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer De1a4dEaV5v3Zgh8fPk66bc' + - 'Bearer 1g3ZV5haeEa8dD6kcv6bf4P' controller: null method: null route: null @@ -421,7 +421,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer EZhd63eafgcV4a651PvkDb8' + - 'Bearer de684Vav1kf3PbaDg6hEZc5' controller: null method: null route: null diff --git a/.scribe/endpoints/12.yaml b/.scribe/endpoints/12.yaml index 1e497a2..e6a8429 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":"dolorem","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"},{"id":6,"project_id":null,"global":true,"name":"itaque","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}' + content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"sit","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"repudiandae","provider":"local","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43: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 D16Vg58E6Pfkh3Zveab4dca' + - 'Bearer EbkDP1Z3aVav8g6ef6dc5h4' controller: null method: null route: null @@ -89,7 +89,7 @@ endpoints: name: provider description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)' required: true - example: alias + example: est type: string enumValues: [] exampleWasSpecified: false @@ -99,7 +99,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: explicabo + example: id type: string enumValues: [] exampleWasSpecified: false @@ -109,7 +109,7 @@ endpoints: name: token description: 'The token if provider requires api token' required: true - example: ut + example: repellendus type: string enumValues: [] exampleWasSpecified: false @@ -119,7 +119,7 @@ endpoints: name: key description: 'The key if provider requires key' required: true - example: libero + example: ducimus type: string enumValues: [] exampleWasSpecified: false @@ -129,23 +129,23 @@ endpoints: name: secret description: 'The secret if provider requires key' required: true - example: consequatur + example: possimus type: string enumValues: [] exampleWasSpecified: false nullable: false custom: [] cleanBodyParameters: - provider: alias - name: explicabo - token: ut - key: libero - secret: consequatur + provider: est + name: id + token: repellendus + key: ducimus + secret: possimus fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"quos","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"sequi","provider":"dropbox","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -153,7 +153,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer DaZ6d6Eck1bhVe3g4aP85vf' + - 'Bearer 45kVPD6ec6hvga83bfa1dEZ' controller: null method: null route: null @@ -207,7 +207,7 @@ endpoints: responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"id","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"alias","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -215,7 +215,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1dekD4gva56bc683VPEhZfa' + - 'Bearer ahb6gDd8fv3P1ak6cEe4V5Z' controller: null method: null route: null @@ -268,7 +268,7 @@ endpoints: name: name description: 'The name of the storage provider.' required: true - example: sequi + example: ullam 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: sequi - global: false + name: ullam + global: true fileParameters: [] responses: - status: 200 - content: '{"id":5,"project_id":null,"global":true,"name":"velit","provider":"s3","created_at":"2025-01-30T22:42:49.000000Z","updated_at":"2025-01-30T22:42:49.000000Z"}' + content: '{"id":5,"project_id":null,"global":true,"name":"at","provider":"ftp","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}' headers: [] description: '' custom: [] @@ -301,7 +301,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer V65g18Pca4v3hDEkbZfe6da' + - 'Bearer a8Vgfvh5abkd616eDZ43cPE' controller: null method: null route: null @@ -363,7 +363,7 @@ endpoints: auth: - headers - Authorization - - 'Bearer 1v6a6efgch3DbZ4aVE5d8kP' + - 'Bearer kDheaPEvb61Va564dZc8f3g' controller: null method: null route: null diff --git a/app/Http/Controllers/API/SiteController.php b/app/Http/Controllers/API/SiteController.php index ea0e46b..2cf85e2 100644 --- a/app/Http/Controllers/API/SiteController.php +++ b/app/Http/Controllers/API/SiteController.php @@ -4,6 +4,7 @@ use App\Actions\Site\CreateSite; use App\Actions\Site\UpdateAliases; +use App\Actions\Site\UpdateDeploymentScript; use App\Actions\Site\UpdateLoadBalancer; use App\Enums\LoadBalancerMethod; use App\Enums\SiteType; @@ -132,6 +133,37 @@ public function updateAliases(Request $request, Project $project, Server $server return new SiteResource($site); } + #[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')] + #[Response(status: 204)] + public function updateDeploymentScript(Request $request, Project $project, Server $server, Site $site): \Illuminate\Http\Response + { + $this->authorize('update', [$site, $server]); + + $this->validateRoute($project, $server, $site); + + $this->validate($request, UpdateDeploymentScript::rules()); + + app(UpdateDeploymentScript::class)->update($site, $request->all()); + + return response()->noContent(); + } + + #[Get('{site}/deployment-script', name: 'api.projects.servers.sites.deployment-script.show', middleware: 'ability:read')] + #[Endpoint(title: 'deployment-script', description: 'Get site deployment script content')] + #[Response(status: 200)] + public function showDeploymentScript(Project $project, Server $server, Site $site): \Illuminate\Http\JsonResponse + { + $this->authorize('view', [$site, $server]); + + $this->validateRoute($project, $server, $site); + + return response()->json([ + 'script' => $site->deploymentScript?->content, + ]); + } + private function validateRoute(Project $project, Server $server, ?Site $site = null): void { if ($project->id !== $server->project_id) { diff --git a/public/api-docs/collection.json b/public/api-docs/collection.json index 9837de7..eb7ff9f 100644 --- a/public/api-docs/collection.json +++ b/public/api-docs/collection.json @@ -10,7 +10,7 @@ ], "info": { "name": "API Documentation", - "_postman_id": "c9ba8a9b-023e-481f-a881-1f6cbf138017", + "_postman_id": "b4316c5d-00b9-4733-9e7b-cbd38f7bd90a", "description": "VitoDeploy's API documentation.", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, @@ -37,7 +37,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -83,7 +83,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -101,7 +101,7 @@ ], "body": { "mode": "raw", - "raw": "{\"command\":\"itaque\",\"user\":\"root\",\"frequency\":\"* * * * *\"}" + "raw": "{\"command\":\"qui\",\"user\":\"vito\",\"frequency\":\"* * * * *\"}" }, "description": "Create a new cron job." }, @@ -132,13 +132,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "cronJob_id", "key": "cronJob_id", - "value": "18", + "value": "17", "description": "The ID of the cronJob." } ] @@ -184,13 +184,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "cronJob_id", "key": "cronJob_id", - "value": "10", + "value": "11", "description": "The ID of the cronJob." } ] @@ -242,7 +242,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -265,7 +265,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"xgaylord\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"una37\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"username\":\"lehner.eloy\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"username\":\"rlowe\",\"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": "" } ] @@ -288,7 +288,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -306,7 +306,7 @@ ], "body": { "mode": "raw", - "raw": "{\"username\":\"consequuntur\",\"password\":\"fI\\\/i2.O4u&dla?eXvR2\",\"host\":\"%\"}" + "raw": "{\"username\":\"voluptas\",\"password\":\":D+e=\\\/;H,\",\"host\":\"%\"}" }, "description": "Create a new database user." }, @@ -314,7 +314,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"kari.farrell\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"fahey.joseph\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -337,13 +337,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "18", + "value": "19", "description": "The ID of the databaseUser." } ] @@ -366,7 +366,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"caterina.mosciski\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"szboncak\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -389,13 +389,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "4", + "value": "11", "description": "The ID of the databaseUser." } ] @@ -413,7 +413,7 @@ ], "body": { "mode": "raw", - "raw": "{\"databases\":\"non\"}" + "raw": "{\"databases\":\"accusantium\"}" }, "description": "Link to databases" }, @@ -421,7 +421,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"username\":\"kurtis05\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"username\":\"smith.liliana\",\"databases\":[],\"host\":\"%\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -444,13 +444,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "databaseUser_id", "key": "databaseUser_id", - "value": "6", + "value": "18", "description": "The ID of the databaseUser." } ] @@ -502,7 +502,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -525,7 +525,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"amalia38\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"troy.rippin\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"name\":\"joyce53\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"name\":\"eric55\",\"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": "" } ] @@ -548,7 +548,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -566,7 +566,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"et\"}" + "raw": "{\"name\":\"debitis\",\"charset\":\"maxime\",\"collation\":\"sed\"}" }, "description": "Create a new database." }, @@ -574,7 +574,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"name\":\"harvey.haskell\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"name\":\"brekke.isabell\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -597,13 +597,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "id", "key": "id", - "value": "19", + "value": "11", "description": "The ID of the database." } ] @@ -626,7 +626,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"name\":\"ruthie.koepp\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"server_id\":null,\"name\":\"vandervort.emmalee\",\"status\":\"ready\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -649,13 +649,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "database_id", "key": "database_id", - "value": "15", + "value": "5", "description": "The ID of the database." } ] @@ -707,7 +707,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -730,7 +730,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":38781,\"source\":\"79.116.255.150\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":32141,\"source\":\"52.174.114.251\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"name\":\"ea\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":41910,\"source\":\"202.183.211.242\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"name\":\"iusto\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":60689,\"source\":\"227.149.61.57\",\"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": "" } ] @@ -753,7 +753,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -771,7 +771,7 @@ ], "body": { "mode": "raw", - "raw": "{\"type\":\"deny\",\"protocol\":\"udp\",\"port\":\"et\",\"source\":\"voluptates\",\"mask\":\"0\"}" + "raw": "{\"name\":\"autem\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"quas\",\"source\":\"blanditiis\",\"mask\":\"0\"}" }, "description": "Create a new firewall rule." }, @@ -779,7 +779,62 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":47148,\"source\":\"119.182.8.45\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"name\":\"in\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":13253,\"source\":\"245.228.81.208\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "name": "" + } + ] + }, + { + "name": "edit", + "request": { + "url": { + "host": "{{baseUrl}}", + "path": "api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id", + "query": [], + "raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/firewall-rules\/:firewallRule_id", + "variable": [ + { + "id": "project_id", + "key": "project_id", + "value": "1", + "description": "The ID of the project." + }, + { + "id": "server_id", + "key": "server_id", + "value": "29", + "description": "The ID of the server." + }, + { + "id": "firewallRule_id", + "key": "firewallRule_id", + "value": "85", + "description": "The ID of the firewallRule." + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application\/json" + }, + { + "key": "Accept", + "value": "application\/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\"name\":\"earum\",\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":\"ab\",\"source\":\"possimus\",\"mask\":\"0\"}" + }, + "description": "Update an existing firewall rule." + }, + "response": [ + { + "header": [], + "code": 200, + "body": "{\"id\":null,\"name\":\"repudiandae\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":44250,\"source\":\"243.200.88.169\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -802,13 +857,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "firewallRule_id", "key": "firewallRule_id", - "value": "29", + "value": "85", "description": "The ID of the firewallRule." } ] @@ -831,7 +886,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":2317,\"source\":\"44.161.134.114\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"name\":\"quam\",\"server_id\":null,\"type\":\"allow\",\"protocol\":\"tcp\",\"port\":62505,\"source\":\"73.254.77.244\",\"mask\":24,\"note\":\"test\",\"status\":null,\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -854,13 +909,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "firewallRule_id", "key": "firewallRule_id", - "value": "29", + "value": "85", "description": "The ID of the firewallRule." } ] @@ -945,7 +1000,7 @@ } ], "code": 200, - "body": "{\"success\":true,\"version\":\"2.1.0\"}", + "body": "{\"success\":true,\"version\":\"2.4.0\"}", "name": "" } ] @@ -983,7 +1038,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":3,\"name\":\"Jeffry Dickinson\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":4,\"name\":\"Miss Tianna Dietrich PhD\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":3,\"name\":\"Amara Jaskolski\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"},{\"id\":4,\"name\":\"Christy Kohler\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43: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": "" } ] @@ -1010,7 +1065,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"quos\"}" + "raw": "{\"name\":\"temporibus\"}" }, "description": "Create a new project." }, @@ -1018,7 +1073,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Isidro Franecki\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Prof. Enrico Wehner Sr.\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1058,7 +1113,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Rhoda Parisian\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Zoie Feest\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1093,7 +1148,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"ullam\"}" + "raw": "{\"name\":\"sit\"}" }, "description": "Update project." }, @@ -1101,7 +1156,7 @@ { "header": [], "code": 200, - "body": "{\"id\":3,\"name\":\"Mr. Dashawn Jacobson Sr.\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"name\":\"Mr. Jayme Kuhlman DVM\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1187,7 +1242,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"laudantium\",\"provider\":\"vultr\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"aut\",\"provider\":\"aws\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"quaerat\",\"provider\":\"aws\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"},{\"id\":4,\"project_id\":null,\"global\":true,\"name\":\"quas\",\"provider\":\"vultr\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43: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": "" } ] @@ -1222,7 +1277,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"voluptatem\",\"name\":\"repellat\",\"token\":\"omnis\",\"key\":\"recusandae\",\"secret\":\"in\"}" + "raw": "{\"provider\":\"exercitationem\",\"name\":\"similique\",\"token\":\"nisi\",\"key\":\"tempora\",\"secret\":\"earum\"}" }, "description": "" }, @@ -1230,7 +1285,7 @@ { "header": [], "code": 200, - "body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"quia\",\"provider\":\"vultr\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"iure\",\"provider\":\"hetzner\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1276,7 +1331,7 @@ { "header": [], "code": 200, - "body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"ab\",\"provider\":\"hetzner\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"et\",\"provider\":\"vultr\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1317,7 +1372,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"est\",\"global\":true}" + "raw": "{\"name\":\"porro\",\"global\":false}" }, "description": "" }, @@ -1325,7 +1380,7 @@ { "header": [], "code": 200, - "body": "{\"id\":2,\"project_id\":null,\"global\":true,\"name\":\"nesciunt\",\"provider\":\"linode\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":3,\"project_id\":null,\"global\":true,\"name\":\"aliquam\",\"provider\":\"hetzner\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -1417,7 +1472,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Amina DuBuque\",\"ssh_user\":\"vito\",\"ip\":\"163.77.69.73\",\"local_ip\":\"137.139.200.70\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null},{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Floy Cummerata\",\"ssh_user\":\"vito\",\"ip\":\"62.53.140.25\",\"local_ip\":\"34.59.35.195\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Prof. Wyatt Powlowski IV\",\"ssh_user\":\"vito\",\"ip\":\"33.53.217.82\",\"local_ip\":\"227.155.11.76\",\"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\":\"Guiseppe D'Amore\",\"ssh_user\":\"vito\",\"ip\":\"41.138.98.159\",\"local_ip\":\"78.178.81.109\",\"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": "" } ] @@ -1452,7 +1507,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"iste\",\"server_provider\":\"custom\",\"region\":\"libero\",\"plan\":\"ut\",\"ip\":\"molestias\",\"port\":\"laudantium\",\"name\":\"illum\",\"os\":\"autem\",\"webserver\":\"none\",\"database\":\"postgresql12\",\"php\":\"7.4\"}" + "raw": "{\"provider\":\"vel\",\"server_provider\":\"hetzner\",\"region\":\"voluptatibus\",\"plan\":\"ducimus\",\"ip\":\"dolores\",\"port\":\"ratione\",\"name\":\"in\",\"os\":\"cumque\",\"webserver\":\"nginx\",\"database\":\"mysql80\",\"php\":\"7.4\"}" }, "description": "Create a new server." }, @@ -1460,7 +1515,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Archibald Nolan\",\"ssh_user\":\"vito\",\"ip\":\"226.168.13.177\",\"local_ip\":\"143.14.43.182\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Anissa McDermott\",\"ssh_user\":\"vito\",\"ip\":\"212.15.34.173\",\"local_ip\":\"142.201.95.242\",\"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": "" } ] @@ -1483,7 +1538,7 @@ { "id": "id", "key": "id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -1506,7 +1561,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Tevin Sipes\",\"ssh_user\":\"vito\",\"ip\":\"61.41.183.152\",\"local_ip\":\"197.160.239.147\",\"port\":22,\"os\":\"ubuntu_22\",\"type\":\"regular\",\"type_data\":null,\"provider\":\"custom\",\"provider_data\":null,\"public_key\":\"test\",\"status\":\"ready\",\"auto_update\":null,\"available_updates\":0,\"security_updates\":null,\"progress\":100,\"progress_step\":null,\"updates\":null,\"last_update_check\":null,\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"project_id\":null,\"user_id\":null,\"provider_id\":null,\"name\":\"Prof. Newton Wintheiser Jr.\",\"ssh_user\":\"vito\",\"ip\":\"243.154.251.36\",\"local_ip\":\"198.224.194.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}", "name": "" } ] @@ -1529,7 +1584,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -1575,7 +1630,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -1621,7 +1676,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -1673,7 +1728,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -1719,13 +1774,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "id", "key": "id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -1771,13 +1826,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -1823,13 +1878,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -1875,13 +1930,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -1927,13 +1982,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -1979,13 +2034,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -2031,13 +2086,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "service_id", "key": "service_id", - "value": "53", + "value": "169", "description": "The ID of the service." } ] @@ -2089,7 +2144,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -2135,7 +2190,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -2153,7 +2208,7 @@ ], "body": { "mode": "raw", - "raw": "{\"type\":\"php\",\"domain\":\"rem\",\"aliases\":[\"libero\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"dolor\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"vitae\",\"method\":\"ip-hash\"}" + "raw": "{\"type\":\"php-blank\",\"domain\":\"harum\",\"aliases\":[\"voluptatem\"],\"php_version\":\"7.4\",\"web_directory\":\"public\",\"source_control\":\"amet\",\"repository\":\"organization\\\/repository\",\"branch\":\"main\",\"composer\":true,\"version\":\"5.2.1\",\"user\":\"et\",\"method\":\"least-connections\"}" }, "description": "Create a new site." }, @@ -2184,13 +2239,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "id", "key": "id", - "value": "26", + "value": "43", "description": "The ID of the site." } ] @@ -2236,13 +2291,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "site_id", "key": "site_id", - "value": "26", + "value": "43", "description": "The ID of the site." } ] @@ -2288,13 +2343,13 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { "id": "site_id", "key": "site_id", - "value": "26", + "value": "43", "description": "The ID of the site." } ] @@ -2312,7 +2367,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"least-connections\",\"servers\":[\"deleniti\"]}" + "raw": "{\"method\":\"ip-hash\",\"servers\":[\"accusantium\"]}" }, "description": "Update load balancer." }, @@ -2324,6 +2379,168 @@ "name": "" } ] + }, + { + "name": "aliases", + "request": { + "url": { + "host": "{{baseUrl}}", + "path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/aliases", + "query": [], + "raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/aliases", + "variable": [ + { + "id": "project_id", + "key": "project_id", + "value": "1", + "description": "The ID of the project." + }, + { + "id": "server_id", + "key": "server_id", + "value": "29", + "description": "The ID of the server." + }, + { + "id": "site_id", + "key": "site_id", + "value": "43", + "description": "The ID of the site." + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application\/json" + }, + { + "key": "Accept", + "value": "application\/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\"aliases\":[\"ut\"]}" + }, + "description": "Update aliases." + }, + "response": [ + { + "header": [], + "code": 200, + "body": null, + "name": "" + } + ] + }, + { + "name": "deployment-script", + "request": { + "url": { + "host": "{{baseUrl}}", + "path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script", + "query": [], + "raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script", + "variable": [ + { + "id": "project_id", + "key": "project_id", + "value": "1", + "description": "The ID of the project." + }, + { + "id": "server_id", + "key": "server_id", + "value": "29", + "description": "The ID of the server." + }, + { + "id": "site_id", + "key": "site_id", + "value": "43", + "description": "The ID of the site." + } + ] + }, + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application\/json" + }, + { + "key": "Accept", + "value": "application\/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\"script\":\"culpa\"}" + }, + "description": "Update site deployment script" + }, + "response": [ + { + "header": [], + "code": 204, + "body": null, + "name": "" + } + ] + }, + { + "name": "deployment-script", + "request": { + "url": { + "host": "{{baseUrl}}", + "path": "api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script", + "query": [], + "raw": "{{baseUrl}}\/api\/projects\/:project_id\/servers\/:server_id\/sites\/:site_id\/deployment-script", + "variable": [ + { + "id": "project_id", + "key": "project_id", + "value": "1", + "description": "The ID of the project." + }, + { + "id": "server_id", + "key": "server_id", + "value": "29", + "description": "The ID of the server." + }, + { + "id": "site_id", + "key": "site_id", + "value": "43", + "description": "The ID of the site." + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application\/json" + }, + { + "key": "Accept", + "value": "application\/json" + } + ], + "body": null, + "description": "Get site deployment script content" + }, + "response": [ + { + "header": [], + "code": 200, + "body": null, + "name": "" + } + ] } ] }, @@ -2366,7 +2583,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Mr. Reuben Schimmel\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Ms. Brandy Mraz V\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Amya Jones\",\"provider\":\"github\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"Jerry Donnelly\",\"provider\":\"github\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43: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": "" } ] @@ -2401,7 +2618,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"bitbucket\",\"name\":\"dignissimos\",\"token\":\"voluptates\",\"url\":\"https:\\\/\\\/www.hamill.net\\\/culpa-non-qui-suscipit-dolores-id-aliquam\",\"username\":\"nisi\",\"password\":\"W~19Z0\"}" + "raw": "{\"provider\":\"bitbucket\",\"name\":\"eligendi\",\"token\":\"debitis\",\"url\":\"http:\\\/\\\/fahey.com\\\/aliquid-sapiente-labore-adipisci-eum-laborum\",\"username\":\"rerum\",\"password\":\"wBK}NHxV:x\"}" }, "description": "" }, @@ -2409,7 +2626,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Harmony Koss DVM\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Dr. Janae Tremblay PhD\",\"provider\":\"github\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -2455,7 +2672,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Martin Welch\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Marguerite Aufderhar\",\"provider\":\"github\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -2496,7 +2713,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"aut\",\"token\":\"repudiandae\",\"url\":\"http:\\\/\\\/howe.net\\\/eaque-assumenda-voluptatem-quo-libero-eius.html\",\"username\":\"consequatur\",\"password\":\"oX\\\/H\\\"pAIt7R2\\\"\",\"global\":false}" + "raw": "{\"name\":\"blanditiis\",\"token\":\"non\",\"url\":\"https:\\\/\\\/www.veum.com\\\/eum-voluptas-non-rem-non-rerum-tempora-quam\",\"username\":\"porro\",\"password\":\">BW~{`#d,}=U!XxC!t]\",\"global\":false}" }, "description": "" }, @@ -2504,7 +2721,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Miss Dulce Nicolas III\",\"provider\":\"github\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"Johan Crooks\",\"provider\":\"github\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -2579,7 +2796,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -2602,7 +2819,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Godfrey Mills\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Donato Streich\",\"created_at\":null,\"updated_at\":null}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":null,\"user\":null,\"name\":\"Dr. Virgie Reilly\",\"created_at\":null,\"updated_at\":null},{\"id\":null,\"user\":null,\"name\":\"Horace Gutmann\",\"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": "" } ] @@ -2625,7 +2842,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." } ] @@ -2643,7 +2860,7 @@ ], "body": { "mode": "raw", - "raw": "{\"key_id\":\"numquam\",\"name\":\"alias\",\"public_key\":\"voluptate\"}" + "raw": "{\"key_id\":\"et\",\"name\":\"provident\",\"public_key\":\"incidunt\"}" }, "description": "Deploy ssh key to server." }, @@ -2651,7 +2868,7 @@ { "header": [], "code": 200, - "body": "{\"id\":null,\"user\":null,\"name\":\"Mr. Stanton Bergnaum\",\"created_at\":null,\"updated_at\":null}", + "body": "{\"id\":null,\"user\":null,\"name\":\"Miss Penelope Sipes IV\",\"created_at\":null,\"updated_at\":null}", "name": "" } ] @@ -2674,7 +2891,7 @@ { "id": "server_id", "key": "server_id", - "value": "8", + "value": "29", "description": "The ID of the server." }, { @@ -2749,7 +2966,7 @@ { "header": [], "code": 200, - "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"dolorem\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"itaque\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}],\"links\":{\"first\":\"\\\/?page=1\",\"last\":\"\\\/?page=1\",\"prev\":null,\"next\":null},\"meta\":{\"current_page\":1,\"from\":1,\"last_page\":1,\"links\":[{\"url\":null,\"label\":\"« Previous\",\"active\":false},{\"url\":\"\\\/?page=1\",\"label\":\"1\",\"active\":true},{\"url\":null,\"label\":\"Next »\",\"active\":false}],\"path\":\"\\\/\",\"per_page\":25,\"to\":2,\"total\":2}}", + "body": "{\"data\":[{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"sit\",\"provider\":\"ftp\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"},{\"id\":6,\"project_id\":null,\"global\":true,\"name\":\"repudiandae\",\"provider\":\"local\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43: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": "" } ] @@ -2784,7 +3001,7 @@ ], "body": { "mode": "raw", - "raw": "{\"provider\":\"alias\",\"name\":\"explicabo\",\"token\":\"ut\",\"key\":\"libero\",\"secret\":\"consequatur\"}" + "raw": "{\"provider\":\"est\",\"name\":\"id\",\"token\":\"repellendus\",\"key\":\"ducimus\",\"secret\":\"possimus\"}" }, "description": "" }, @@ -2792,7 +3009,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"quos\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"sequi\",\"provider\":\"dropbox\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -2838,7 +3055,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"id\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"alias\",\"provider\":\"ftp\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] @@ -2879,7 +3096,7 @@ ], "body": { "mode": "raw", - "raw": "{\"name\":\"sequi\",\"global\":false}" + "raw": "{\"name\":\"ullam\",\"global\":true}" }, "description": "" }, @@ -2887,7 +3104,7 @@ { "header": [], "code": 200, - "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"velit\",\"provider\":\"s3\",\"created_at\":\"2025-01-30T22:42:49.000000Z\",\"updated_at\":\"2025-01-30T22:42:49.000000Z\"}", + "body": "{\"id\":5,\"project_id\":null,\"global\":true,\"name\":\"at\",\"provider\":\"ftp\",\"created_at\":\"2025-03-29T20:43:56.000000Z\",\"updated_at\":\"2025-03-29T20:43:56.000000Z\"}", "name": "" } ] diff --git a/public/api-docs/index.html b/public/api-docs/index.html index a1d7c9a..9692042 100644 --- a/public/api-docs/index.html +++ b/public/api-docs/index.html @@ -31,9 +31,9 @@ var useCsrf = Boolean(); var csrfUrl = "/sanctum/csrf-cookie"; - + - + @@ -138,6 +138,9 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/cron-jobs" \
+ --get "https://your-vito-url/api/projects/1/servers/29/cron-jobs" \
--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/8/cron-jobs';
+$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs';
$response = $client->get(
$url,
[
@@ -412,7 +424,7 @@ li
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs"
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs"
);
const headers = {
@@ -590,10 +602,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -611,13 +623,13 @@ c
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs" \
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"command\": \"itaque\",
- \"user\": \"root\",
+ \"command\": \"qui\",
+ \"user\": \"vito\",
\"frequency\": \"* * * * *\"
}"
@@ -625,7 +637,7 @@ c
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/cron-jobs';
+$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs';
$response = $client->post(
$url,
[
@@ -635,8 +647,8 @@ c
'Accept' => 'application/json',
],
'json' => [
- 'command' => 'itaque',
- 'user' => 'root',
+ 'command' => 'qui',
+ 'user' => 'vito',
'frequency' => '* * * * *',
],
]
@@ -647,7 +659,7 @@ c
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs"
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs"
);
const headers = {
@@ -657,8 +669,8 @@ c
};
let body = {
- "command": "itaque",
- "user": "root",
+ "command": "qui",
+ "user": "vito",
"frequency": "* * * * *"
};
@@ -786,10 +798,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
@@ -798,10 +810,10 @@ Body Parameters
-Example: itaque
+Example: qui
user
@@ -809,10 +821,10 @@ Body Parameters
-Example: root
+Example: vito
Must be one of:
root
vito
@@ -843,7 +855,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/cron-jobs/18" \
+ --get "https://your-vito-url/api/projects/1/servers/29/cron-jobs/17" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -851,7 +863,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/cron-jobs/18';
+$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/17';
$response = $client->get(
$url,
[
@@ -868,7 +880,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs/18"
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs/17"
);
const headers = {
@@ -1000,10 +1012,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
cronJob_id
@@ -1011,10 +1023,10 @@ The ID of the cronJob. Example: 18
The ID of the cronJob. Example: 17
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs/10" \
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs/11" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -1040,7 +1052,7 @@ $client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/cron-jobs/10';
+$url = 'https://your-vito-url/api/projects/1/servers/29/cron-jobs/11';
$response = $client->delete(
$url,
[
@@ -1057,7 +1069,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/cron-jobs/10"
+ "https://your-vito-url/api/projects/1/servers/29/cron-jobs/11"
);
const headers = {
@@ -1179,10 +1191,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
cronJob_id
@@ -1190,10 +1202,10 @@ URL Parameters
-The ID of the cronJob. Example: 10
+The ID of the cronJob. Example: 11
@@ -1215,7 +1227,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/database-users" \
+ --get "https://your-vito-url/api/projects/1/servers/29/database-users" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -1223,7 +1235,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/database-users';
+$url = 'https://your-vito-url/api/projects/1/servers/29/database-users';
$response = $client->get(
$url,
[
@@ -1240,7 +1252,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/database-users"
+ "https://your-vito-url/api/projects/1/servers/29/database-users"
);
const headers = {
@@ -1267,7 +1279,7 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -1439,13 +1451,13 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/database-users" \
+ "https://your-vito-url/api/projects/1/servers/29/database-users" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"username\": \"consequuntur\",
- \"password\": \"fI\\/i2.O4u&dla?eXvR2\",
+ \"username\": \"voluptas\",
+ \"password\": \":D+e=\\/;H,\",
\"host\": \"%\"
}"
@@ -1453,7 +1465,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/database-users';
+$url = 'https://your-vito-url/api/projects/1/servers/29/database-users';
$response = $client->post(
$url,
[
@@ -1463,8 +1475,8 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/database-users"
+ "https://your-vito-url/api/projects/1/servers/29/database-users"
);
const headers = {
@@ -1485,8 +1497,8 @@ {
"id": null,
"server_id": null,
- "username": "kari.farrell",
+ "username": "fahey.joseph",
"databases": [],
"host": "%",
"status": null,
@@ -1614,10 +1626,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
@@ -1626,10 +1638,10 @@ Body Parameters
-Example: consequuntur
+Example: voluptas
password
@@ -1637,10 +1649,10 @@ Body Parameters
-Example: fI/i2.O4u&dla?eXvR2
+Example: :D+e=/;H,
host
@@ -1669,7 +1681,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/database-users/18" \
+ --get "https://your-vito-url/api/projects/1/servers/29/database-users/19" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -1677,7 +1689,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/database-users/18';
+$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/19';
$response = $client->get(
$url,
[
@@ -1694,7 +1706,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/database-users/18"
+ "https://your-vito-url/api/projects/1/servers/29/database-users/19"
);
const headers = {
@@ -1719,7 +1731,7 @@ {
"id": null,
"server_id": null,
- "username": "caterina.mosciski",
+ "username": "szboncak",
"databases": [],
"host": "%",
"status": null,
@@ -1826,10 +1838,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
databaseUser_id
@@ -1837,10 +1849,10 @@ URL Parameters
-The ID of the databaseUser. Example: 18
+The ID of the databaseUser. Example: 19
@@ -1858,19 +1870,19 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/database-users/4/link" \
+ "https://your-vito-url/api/projects/1/servers/29/database-users/11/link" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"databases\": \"non\"
+ \"databases\": \"accusantium\"
}"
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/database-users/4/link';
+$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/11/link';
$response = $client->post(
$url,
[
@@ -1880,7 +1892,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/database-users/4/link"
+ "https://your-vito-url/api/projects/1/servers/29/database-users/11/link"
);
const headers = {
@@ -1900,7 +1912,7 @@ {
"id": null,
"server_id": null,
- "username": "kurtis05",
+ "username": "smith.liliana",
"databases": [],
"host": "%",
"status": null,
@@ -2027,10 +2039,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
databaseUser_id
@@ -2038,10 +2050,10 @@ URL Parameters
-The ID of the databaseUser. Example: 4
+The ID of the databaseUser. Example: 11
Body Parameters
@@ -2050,10 +2062,10 @@ Body Parameters
-Array of database names to link to the user. Example: non
+Array of database names to link to the user. Example: accusantium
@@ -2071,7 +2083,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/database-users/6" \
+ "https://your-vito-url/api/projects/1/servers/29/database-users/18" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -2079,7 +2091,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/database-users/6';
+$url = 'https://your-vito-url/api/projects/1/servers/29/database-users/18';
$response = $client->delete(
$url,
[
@@ -2096,7 +2108,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/database-users/6"
+ "https://your-vito-url/api/projects/1/servers/29/database-users/18"
);
const headers = {
@@ -2218,10 +2230,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
databaseUser_id
@@ -2229,10 +2241,10 @@ URL Parameters
-The ID of the databaseUser. Example: 6
+The ID of the databaseUser. Example: 18
@@ -2254,7 +2266,7 @@ li
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/databases" \
+ --get "https://your-vito-url/api/projects/1/servers/29/databases" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -2262,7 +2274,7 @@ li
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/databases';
+$url = 'https://your-vito-url/api/projects/1/servers/29/databases';
$response = $client->get(
$url,
[
@@ -2279,7 +2291,7 @@ li
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/databases"
+ "https://your-vito-url/api/projects/1/servers/29/databases"
);
const headers = {
@@ -2306,7 +2318,7 @@ li
{
"id": null,
"server_id": null,
- "name": "amalia38",
+ "name": "joyce53",
"status": "ready",
"created_at": null,
"updated_at": null
@@ -2314,7 +2326,7 @@ li
{
"id": null,
"server_id": null,
- "name": "troy.rippin",
+ "name": "eric55",
"status": "ready",
"created_at": null,
"updated_at": null
@@ -2453,10 +2465,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -2474,19 +2486,21 @@ c
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/databases" \
+ "https://your-vito-url/api/projects/1/servers/29/databases" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"name\": \"et\"
+ \"name\": \"debitis\",
+ \"charset\": \"maxime\",
+ \"collation\": \"sed\"
}"
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/databases';
+$url = 'https://your-vito-url/api/projects/1/servers/29/databases';
$response = $client->post(
$url,
[
@@ -2496,7 +2510,9 @@ c
'Accept' => 'application/json',
],
'json' => [
- 'name' => 'et',
+ 'name' => 'debitis',
+ 'charset' => 'maxime',
+ 'collation' => 'sed',
],
]
);
@@ -2506,7 +2522,7 @@ c
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/databases"
+ "https://your-vito-url/api/projects/1/servers/29/databases"
);
const headers = {
@@ -2516,7 +2532,9 @@ c
};
let body = {
- "name": "et"
+ "name": "debitis",
+ "charset": "maxime",
+ "collation": "sed"
};
fetch(url, {
@@ -2536,7 +2554,7 @@ c
{
"id": null,
"server_id": null,
- "name": "harvey.haskell",
+ "name": "brekke.isabell",
"status": "ready",
"created_at": null,
"updated_at": null
@@ -2641,10 +2659,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
@@ -2653,10 +2671,32 @@ Body Parameters
-Example: et
+Example: debitis
+
+
+ charset
+string
+
+
+
+Example: maxime
+
+
+ collation
+string
+
+
+
+Example: sed
@@ -2674,7 +2714,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/databases/19" \
+ --get "https://your-vito-url/api/projects/1/servers/29/databases/11" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -2682,7 +2722,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/databases/19';
+$url = 'https://your-vito-url/api/projects/1/servers/29/databases/11';
$response = $client->get(
$url,
[
@@ -2699,7 +2739,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/databases/19"
+ "https://your-vito-url/api/projects/1/servers/29/databases/11"
);
const headers = {
@@ -2724,7 +2764,7 @@ {
"id": null,
"server_id": null,
- "name": "ruthie.koepp",
+ "name": "vandervort.emmalee",
"status": "ready",
"created_at": null,
"updated_at": null
@@ -2829,10 +2869,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
id
@@ -2840,10 +2880,10 @@ URL Parameters
-The ID of the database. Example: 19
+The ID of the database. Example: 11
@@ -2861,7 +2901,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/databases/15" \
+ "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"
@@ -2869,7 +2909,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/databases/15';
+$url = 'https://your-vito-url/api/projects/1/servers/29/databases/5';
$response = $client->delete(
$url,
[
@@ -2886,7 +2926,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/databases/15"
+ "https://your-vito-url/api/projects/1/servers/29/databases/5"
);
const headers = {
@@ -3008,10 +3048,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
database_id
@@ -3019,10 +3059,10 @@ URL Parameters
-The ID of the database. Example: 15
+The ID of the database. Example: 5
@@ -3044,7 +3084,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/firewall-rules" \
+ --get "https://your-vito-url/api/projects/1/servers/29/firewall-rules" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -3052,7 +3092,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/firewall-rules';
+$url = 'https://your-vito-url/api/projects/1/servers/29/firewall-rules';
$response = $client->get(
$url,
[
@@ -3069,7 +3109,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules"
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules"
);
const headers = {
@@ -3095,11 +3135,12 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -3274,15 +3316,16 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules" \
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"type\": \"deny\",
- \"protocol\": \"udp\",
- \"port\": \"et\",
- \"source\": \"voluptates\",
+ \"name\": \"autem\",
+ \"type\": \"allow\",
+ \"protocol\": \"tcp\",
+ \"port\": \"quas\",
+ \"source\": \"blanditiis\",
\"mask\": \"0\"
}"
@@ -3290,7 +3333,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/firewall-rules';
+$url = 'https://your-vito-url/api/projects/1/servers/29/firewall-rules';
$response = $client->post(
$url,
[
@@ -3300,10 +3343,11 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules"
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules"
);
const headers = {
@@ -3324,10 +3368,11 @@ {
"id": null,
+ "name": "in",
"server_id": null,
"type": "allow",
"protocol": "tcp",
- "port": 47148,
- "source": "119.182.8.45",
+ "port": 13253,
+ "source": "245.228.81.208",
"mask": 24,
"note": "test",
"status": null,
@@ -3458,22 +3504,33 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
+ name
+string
+
+
+
+Example: autem
+
+
type
string
-Example: deny
+Example: allow
Must be one of:
allow
deny
@@ -3483,10 +3540,10 @@ Body Parameters
-Example: udp
+Example: tcp
Must be one of:
tcp
udp
@@ -3496,21 +3553,21 @@ Body Parameters
-Example: et
+Example: quas
source
string
-
+optional
-Example: voluptates
+Example: blanditiis
mask
@@ -3525,6 +3582,297 @@ Body Parameters
+ edit
+
+
+requires authentication
+
+
+Update an existing firewall rule.
+
+
+Example request:
+
+
+
+ curl --request PUT \
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85" \
+ --header "Authorization: Bearer YOUR-API-KEY" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"earum\",
+ \"type\": \"allow\",
+ \"protocol\": \"tcp\",
+ \"port\": \"ab\",
+ \"source\": \"possimus\",
+ \"mask\": \"0\"
+}"
+
+
+
+
+ $client = new \GuzzleHttp\Client();
+$url = 'https://your-vito-url/api/projects/1/servers/29/firewall-rules/85';
+$response = $client->put(
+ $url,
+ [
+ 'headers' => [
+ 'Authorization' => 'Bearer YOUR-API-KEY',
+ 'Content-Type' => 'application/json',
+ 'Accept' => 'application/json',
+ ],
+ 'json' => [
+ 'name' => 'earum',
+ 'type' => 'allow',
+ 'protocol' => 'tcp',
+ 'port' => 'ab',
+ 'source' => 'possimus',
+ 'mask' => '0',
+ ],
+ ]
+);
+$body = $response->getBody();
+print_r(json_decode((string) $body));
+
+
+
+ const url = new URL(
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85"
+);
+
+const headers = {
+ "Authorization": "Bearer YOUR-API-KEY",
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "earum",
+ "type": "allow",
+ "protocol": "tcp",
+ "port": "ab",
+ "source": "possimus",
+ "mask": "0"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());
+
+
+
+
+
+ Example response (200):
+
+
+
+{
+ "id": null,
+ "name": "repudiandae",
+ "server_id": null,
+ "type": "allow",
+ "protocol": "tcp",
+ "port": 44250,
+ "source": "243.200.88.169",
+ "mask": 24,
+ "note": "test",
+ "status": null,
+ "created_at": null,
+ "updated_at": null
+}
+
+
+
+ Received response:
+
+
+
+
+ Request failed with error:
+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
show
@@ -3539,7 +3887,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/firewall-rules/29" \
+ --get "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -3547,7 +3895,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/firewall-rules/29';
+$url = 'https://your-vito-url/api/projects/1/servers/29/firewall-rules/85';
$response = $client->get(
$url,
[
@@ -3564,7 +3912,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules/29"
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85"
);
const headers = {
@@ -3588,11 +3936,12 @@ {
"id": null,
+ "name": "quam",
"server_id": null,
"type": "allow",
"protocol": "tcp",
- "port": 2317,
- "source": "44.161.134.114",
+ "port": 62505,
+ "source": "73.254.77.244",
"mask": 24,
"note": "test",
"status": null,
@@ -3699,10 +4048,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
firewallRule_id
@@ -3710,10 +4059,10 @@ URL Parameters
-The ID of the firewallRule. Example: 29
+The ID of the firewallRule. Example: 85
@@ -3731,7 +4080,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules/29" \
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -3739,7 +4088,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/firewall-rules/29';
+$url = 'https://your-vito-url/api/projects/1/servers/29/firewall-rules/85';
$response = $client->delete(
$url,
[
@@ -3756,7 +4105,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/firewall-rules/29"
+ "https://your-vito-url/api/projects/1/servers/29/firewall-rules/85"
);
const headers = {
@@ -3878,10 +4227,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
firewallRule_id
@@ -3889,10 +4238,10 @@ URL Parameters
-The ID of the firewallRule. Example: 29
+The ID of the firewallRule. Example: 85
@@ -3968,7 +4317,7 @@ health-check
{
"success": true,
- "version": "2.1.0"
+ "version": "2.4.0"
}
@@ -4112,15 +4461,15 @@ list
"data": [
{
"id": 3,
- "name": "Jeffry Dickinson",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "Amara Jaskolski",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
},
{
"id": 4,
- "name": "Miss Tianna Dietrich PhD",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "Christy Kohler",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
],
"links": {
@@ -4259,7 +4608,7 @@ create
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"name\": \"quos\"
+ \"name\": \"temporibus\"
}"
@@ -4276,7 +4625,7 @@ create
'Accept' => 'application/json',
],
'json' => [
- 'name' => 'quos',
+ 'name' => 'temporibus',
],
]
);
@@ -4296,7 +4645,7 @@ create
};
let body = {
- "name": "quos"
+ "name": "temporibus"
};
fetch(url, {
@@ -4315,9 +4664,9 @@ create
{
"id": 3,
- "name": "Isidro Franecki",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "Prof. Enrico Wehner Sr.",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -4408,10 +4757,10 @@ Body Parameters
-
The name of the project. Example: quos
+The name of the project. Example: temporibus
@@ -4478,9 +4827,9 @@ show
{
"id": 3,
- "name": "Rhoda Parisian",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "Zoie Feest",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -4597,7 +4946,7 @@ update
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"name\": \"ullam\"
+ \"name\": \"sit\"
}"
@@ -4614,7 +4963,7 @@ update
'Accept' => 'application/json',
],
'json' => [
- 'name' => 'ullam',
+ 'name' => 'sit',
],
]
);
@@ -4634,7 +4983,7 @@ update
};
let body = {
- "name": "ullam"
+ "name": "sit"
};
fetch(url, {
@@ -4653,9 +5002,9 @@ update
{
"id": 3,
- "name": "Mr. Dashawn Jacobson Sr.",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "Mr. Jayme Kuhlman DVM",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -4758,10 +5107,10 @@ Body Parameters
-
The name of the project. Example: ullam
+The name of the project. Example: sit
@@ -4989,23 +5338,23 @@ list
{
"data": [
- {
- "id": 2,
- "project_id": null,
- "global": true,
- "name": "laudantium",
- "provider": "vultr",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
- },
{
"id": 3,
"project_id": null,
"global": true,
- "name": "aut",
+ "name": "quaerat",
"provider": "aws",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
+ },
+ {
+ "id": 4,
+ "project_id": null,
+ "global": true,
+ "name": "quas",
+ "provider": "vultr",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
],
"links": {
@@ -5156,11 +5505,11 @@ create<
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"provider\": \"voluptatem\",
- \"name\": \"repellat\",
- \"token\": \"omnis\",
- \"key\": \"recusandae\",
- \"secret\": \"in\"
+ \"provider\": \"exercitationem\",
+ \"name\": \"similique\",
+ \"token\": \"nisi\",
+ \"key\": \"tempora\",
+ \"secret\": \"earum\"
}"
@@ -5177,11 +5526,11 @@ create<
'Accept' => 'application/json',
],
'json' => [
- 'provider' => 'voluptatem',
- 'name' => 'repellat',
- 'token' => 'omnis',
- 'key' => 'recusandae',
- 'secret' => 'in',
+ 'provider' => 'exercitationem',
+ 'name' => 'similique',
+ 'token' => 'nisi',
+ 'key' => 'tempora',
+ 'secret' => 'earum',
],
]
);
@@ -5201,11 +5550,11 @@ create<
};
let body = {
- "provider": "voluptatem",
- "name": "repellat",
- "token": "omnis",
- "key": "recusandae",
- "secret": "in"
+ "provider": "exercitationem",
+ "name": "similique",
+ "token": "nisi",
+ "key": "tempora",
+ "secret": "earum"
};
fetch(url, {
@@ -5223,13 +5572,13 @@ create<
{
- "id": 2,
+ "id": 3,
"project_id": null,
"global": true,
- "name": "quia",
- "provider": "vultr",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "iure",
+ "provider": "hetzner",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -5332,10 +5681,10 @@ Body Parameters
-
The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: voluptatem
+The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: exercitationem
name
@@ -5343,10 +5692,10 @@ Body Parameters
-The name of the server provider. Example: repellat
+The name of the server provider. Example: similique
token
@@ -5354,10 +5703,10 @@ Body Parameters
-The token if provider requires api token Example: omnis
+The token if provider requires api token Example: nisi
key
@@ -5365,10 +5714,10 @@ Body Parameters
-The key if provider requires key Example: recusandae
+The key if provider requires key Example: tempora
secret
@@ -5376,10 +5725,10 @@ Body Parameters
-The secret if provider requires key Example: in
+The secret if provider requires key Example: earum
@@ -5445,13 +5794,13 @@ {
- "id": 2,
+ "id": 3,
"project_id": null,
"global": true,
- "name": "ab",
- "provider": "hetzner",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "et",
+ "provider": "vultr",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -5579,8 +5928,8 @@
@@ -5597,8 +5946,8 @@ {
- "id": 2,
+ "id": 3,
"project_id": null,
"global": true,
- "name": "nesciunt",
- "provider": "linode",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "aliquam",
+ "provider": "hetzner",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -5757,10 +6106,10 @@ Body Parameters
-
The name of the server provider. Example: est
+The name of the server provider. Example: porro
global
@@ -5771,7 +6120,7 @@ Body Parameters
value=""
data-component="body">
-Accessible in all projects Example: true
+Accessible in all projects Example: false
Must be one of:
1
@@ -6017,10 +6366,10 @@ list
"project_id": null,
"user_id": null,
"provider_id": null,
- "name": "Amina DuBuque",
+ "name": "Prof. Wyatt Powlowski IV",
"ssh_user": "vito",
- "ip": "163.77.69.73",
- "local_ip": "137.139.200.70",
+ "ip": "33.53.217.82",
+ "local_ip": "227.155.11.76",
"port": 22,
"os": "ubuntu_22",
"type": "regular",
@@ -6044,10 +6393,10 @@ list
"project_id": null,
"user_id": null,
"provider_id": null,
- "name": "Floy Cummerata",
+ "name": "Guiseppe D'Amore",
"ssh_user": "vito",
- "ip": "62.53.140.25",
- "local_ip": "34.59.35.195",
+ "ip": "41.138.98.159",
+ "local_ip": "78.178.81.109",
"port": 22,
"os": "ubuntu_22",
"type": "regular",
@@ -6215,16 +6564,16 @@ create
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"provider\": \"iste\",
- \"server_provider\": \"custom\",
- \"region\": \"libero\",
- \"plan\": \"ut\",
- \"ip\": \"molestias\",
- \"port\": \"laudantium\",
- \"name\": \"illum\",
- \"os\": \"autem\",
- \"webserver\": \"none\",
- \"database\": \"postgresql12\",
+ \"provider\": \"vel\",
+ \"server_provider\": \"hetzner\",
+ \"region\": \"voluptatibus\",
+ \"plan\": \"ducimus\",
+ \"ip\": \"dolores\",
+ \"port\": \"ratione\",
+ \"name\": \"in\",
+ \"os\": \"cumque\",
+ \"webserver\": \"nginx\",
+ \"database\": \"mysql80\",
\"php\": \"7.4\"
}"
@@ -6242,16 +6591,16 @@ create
'Accept' => 'application/json',
],
'json' => [
- 'provider' => 'iste',
- 'server_provider' => 'custom',
- 'region' => 'libero',
- 'plan' => 'ut',
- 'ip' => 'molestias',
- 'port' => 'laudantium',
- 'name' => 'illum',
- 'os' => 'autem',
- 'webserver' => 'none',
- 'database' => 'postgresql12',
+ 'provider' => 'vel',
+ 'server_provider' => 'hetzner',
+ 'region' => 'voluptatibus',
+ 'plan' => 'ducimus',
+ 'ip' => 'dolores',
+ 'port' => 'ratione',
+ 'name' => 'in',
+ 'os' => 'cumque',
+ 'webserver' => 'nginx',
+ 'database' => 'mysql80',
'php' => '7.4',
],
]
@@ -6272,16 +6621,16 @@ create
};
let body = {
- "provider": "iste",
- "server_provider": "custom",
- "region": "libero",
- "plan": "ut",
- "ip": "molestias",
- "port": "laudantium",
- "name": "illum",
- "os": "autem",
- "webserver": "none",
- "database": "postgresql12",
+ "provider": "vel",
+ "server_provider": "hetzner",
+ "region": "voluptatibus",
+ "plan": "ducimus",
+ "ip": "dolores",
+ "port": "ratione",
+ "name": "in",
+ "os": "cumque",
+ "webserver": "nginx",
+ "database": "mysql80",
"php": "7.4"
};
@@ -6304,10 +6653,10 @@ create
"project_id": null,
"user_id": null,
"provider_id": null,
- "name": "Archibald Nolan",
+ "name": "Anissa McDermott",
"ssh_user": "vito",
- "ip": "226.168.13.177",
- "local_ip": "143.14.43.182",
+ "ip": "212.15.34.173",
+ "local_ip": "142.201.95.242",
"port": 22,
"os": "ubuntu_22",
"type": "regular",
@@ -6427,10 +6776,10 @@ Body Parameters
-
The server provider type Example: iste
+The server provider type Example: vel
server_provider
@@ -6438,10 +6787,10 @@ Body Parameters
-If the provider is not custom, the ID of the server provider profile Example: custom
+If the provider is not custom, the ID of the server provider profile Example: hetzner
Must be one of:
custom
hetzner
digitalocean
linode
vultr
@@ -6451,10 +6800,10 @@ Body Parameters
-Provider region if the provider is not custom Example: libero
+Provider region if the provider is not custom Example: voluptatibus
plan
@@ -6462,10 +6811,10 @@ Body Parameters
-Provider plan if the provider is not custom Example: ut
+Provider plan if the provider is not custom Example: ducimus
ip
@@ -6473,10 +6822,10 @@ Body Parameters
-SSH IP address if the provider is custom Example: molestias
+SSH IP address if the provider is custom Example: dolores
port
@@ -6484,10 +6833,10 @@ Body Parameters
-SSH Port if the provider is custom Example: laudantium
+SSH Port if the provider is custom Example: ratione
name
@@ -6495,10 +6844,10 @@ Body Parameters
-The name of the server. Example: illum
+The name of the server. Example: in
os
@@ -6506,10 +6855,10 @@ Body Parameters
-The os of the server Example: autem
+The os of the server Example: cumque
webserver
@@ -6517,10 +6866,10 @@ Body Parameters
-Web server Example: none
+Web server Example: nginx
Must be one of:
none
nginx
@@ -6530,10 +6879,10 @@ Body Parameters
-Database Example: postgresql12
+Database Example: mysql80
Must be one of:
none
mysql57
mysql80
mariadb103
mariadb104
mariadb103
postgresql12
postgresql13
postgresql14
postgresql15
postgresql16
@@ -6566,7 +6915,7 @@ show
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8" \
+ --get "https://your-vito-url/api/projects/1/servers/29" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -6574,7 +6923,7 @@ show
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8';
+$url = 'https://your-vito-url/api/projects/1/servers/29';
$response = $client->get(
$url,
[
@@ -6591,7 +6940,7 @@ show
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8"
+ "https://your-vito-url/api/projects/1/servers/29"
);
const headers = {
@@ -6618,10 +6967,10 @@ show
"project_id": null,
"user_id": null,
"provider_id": null,
- "name": "Tevin Sipes",
+ "name": "Prof. Newton Wintheiser Jr.",
"ssh_user": "vito",
- "ip": "61.41.183.152",
- "local_ip": "197.160.239.147",
+ "ip": "243.154.251.36",
+ "local_ip": "198.224.194.65",
"port": 22,
"os": "ubuntu_22",
"type": "regular",
@@ -6740,10 +7089,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -6761,7 +7110,7 @@ reboot
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/reboot" \
+ "https://your-vito-url/api/projects/1/servers/29/reboot" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -6769,7 +7118,7 @@ reboot
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/reboot';
+$url = 'https://your-vito-url/api/projects/1/servers/29/reboot';
$response = $client->post(
$url,
[
@@ -6786,7 +7135,7 @@ reboot
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/reboot"
+ "https://your-vito-url/api/projects/1/servers/29/reboot"
);
const headers = {
@@ -6908,10 +7257,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -6929,7 +7278,7 @@ upgra
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/upgrade" \
+ "https://your-vito-url/api/projects/1/servers/29/upgrade" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -6937,7 +7286,7 @@ upgra
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/upgrade';
+$url = 'https://your-vito-url/api/projects/1/servers/29/upgrade';
$response = $client->post(
$url,
[
@@ -6954,7 +7303,7 @@ upgra
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/upgrade"
+ "https://your-vito-url/api/projects/1/servers/29/upgrade"
);
const headers = {
@@ -7076,10 +7425,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -7097,7 +7446,7 @@ delete
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8" \
+ "https://your-vito-url/api/projects/1/servers/29" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -7105,7 +7454,7 @@ delete
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8';
+$url = 'https://your-vito-url/api/projects/1/servers/29';
$response = $client->delete(
$url,
[
@@ -7122,7 +7471,7 @@ delete
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8"
+ "https://your-vito-url/api/projects/1/servers/29"
);
const headers = {
@@ -7244,10 +7593,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -7269,7 +7618,7 @@ list
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/services" \
+ --get "https://your-vito-url/api/projects/1/servers/29/services" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -7277,7 +7626,7 @@ list
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services';
$response = $client->get(
$url,
[
@@ -7294,7 +7643,7 @@ list
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services"
+ "https://your-vito-url/api/projects/1/servers/29/services"
);
const headers = {
@@ -7478,10 +7827,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -7499,7 +7848,7 @@
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/services/53" \
+ --get "https://your-vito-url/api/projects/1/servers/29/services/169" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -7507,7 +7856,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169';
$response = $client->get(
$url,
[
@@ -7524,7 +7873,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53"
+ "https://your-vito-url/api/projects/1/servers/29/services/169"
);
const headers = {
@@ -7659,10 +8008,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
id
@@ -7670,10 +8019,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -7691,7 +8040,7 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/services/53/start" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169/start" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -7699,7 +8048,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53/start';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169/start';
$response = $client->post(
$url,
[
@@ -7716,7 +8065,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53/start"
+ "https://your-vito-url/api/projects/1/servers/29/services/169/start"
);
const headers = {
@@ -7838,10 +8187,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -7849,10 +8198,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -7870,7 +8219,7 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/services/53/stop" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169/stop" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -7878,7 +8227,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53/stop';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169/stop';
$response = $client->post(
$url,
[
@@ -7895,7 +8244,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53/stop"
+ "https://your-vito-url/api/projects/1/servers/29/services/169/stop"
);
const headers = {
@@ -8017,10 +8366,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -8028,10 +8377,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -8049,7 +8398,7 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/services/53/restart" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169/restart" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -8057,7 +8406,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53/restart';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169/restart';
$response = $client->post(
$url,
[
@@ -8074,7 +8423,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53/restart"
+ "https://your-vito-url/api/projects/1/servers/29/services/169/restart"
);
const headers = {
@@ -8196,10 +8545,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -8207,10 +8556,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -8228,7 +8577,7 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/services/53/enable" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169/enable" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -8236,7 +8585,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53/enable';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169/enable';
$response = $client->post(
$url,
[
@@ -8253,7 +8602,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53/enable"
+ "https://your-vito-url/api/projects/1/servers/29/services/169/enable"
);
const headers = {
@@ -8375,10 +8724,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -8386,10 +8735,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -8407,7 +8756,7 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/services/53/disable" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169/disable" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -8415,7 +8764,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53/disable';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169/disable';
$response = $client->post(
$url,
[
@@ -8432,7 +8781,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53/disable"
+ "https://your-vito-url/api/projects/1/servers/29/services/169/disable"
);
const headers = {
@@ -8554,10 +8903,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -8565,10 +8914,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -8586,7 +8935,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/services/53" \
+ "https://your-vito-url/api/projects/1/servers/29/services/169" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -8594,7 +8943,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/services/53';
+$url = 'https://your-vito-url/api/projects/1/servers/29/services/169';
$response = $client->delete(
$url,
[
@@ -8611,7 +8960,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/services/53"
+ "https://your-vito-url/api/projects/1/servers/29/services/169"
);
const headers = {
@@ -8733,10 +9082,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
service_id
@@ -8744,10 +9093,10 @@ URL Parameters
-The ID of the service. Example: 53
+The ID of the service. Example: 169
@@ -8769,7 +9118,7 @@ list
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/sites" \
+ --get "https://your-vito-url/api/projects/1/servers/29/sites" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -8777,7 +9126,7 @@ list
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/sites';
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites';
$response = $client->get(
$url,
[
@@ -8794,7 +9143,7 @@ list
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/sites"
+ "https://your-vito-url/api/projects/1/servers/29/sites"
);
const headers = {
@@ -8992,10 +9341,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -9013,32 +9362,32 @@ create
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/sites" \
+ "https://your-vito-url/api/projects/1/servers/29/sites" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"type\": \"php\",
- \"domain\": \"rem\",
+ \"type\": \"php-blank\",
+ \"domain\": \"harum\",
\"aliases\": [
- \"libero\"
+ \"voluptatem\"
],
\"php_version\": \"7.4\",
\"web_directory\": \"public\",
- \"source_control\": \"dolor\",
+ \"source_control\": \"amet\",
\"repository\": \"organization\\/repository\",
\"branch\": \"main\",
\"composer\": true,
\"version\": \"5.2.1\",
- \"user\": \"vitae\",
- \"method\": \"ip-hash\"
+ \"user\": \"et\",
+ \"method\": \"least-connections\"
}"
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/sites';
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites';
$response = $client->post(
$url,
[
@@ -9048,20 +9397,20 @@ createcreate
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/sites"
+ "https://your-vito-url/api/projects/1/servers/29/sites"
);
const headers = {
@@ -9081,20 +9430,20 @@ createURL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
@@ -9243,10 +9592,10 @@ Body Parameters
-Example: php
+Example: php-blank
Must be one of:
php
php-blank
phpmyadmin
laravel
wordpress
load-balancer
@@ -9256,10 +9605,10 @@ Body Parameters
-Example: rem
+Example: harum
aliases
@@ -9302,10 +9651,10 @@ Body Parameters
-Source control ID, Required for Sites which support source control Example: dolor
+Source control ID, Required for Sites which support source control Example: amet
repository
@@ -9367,10 +9716,10 @@ Body Parameters
-user, to isolate the website under a new user Example: vitae
+user, to isolate the website under a new user Example: et
method
@@ -9378,10 +9727,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: least-connections
Must be one of:
round-robin
least-connections
ip-hash
@@ -9401,7 +9750,7 @@ show<
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/sites/26" \
+ --get "https://your-vito-url/api/projects/1/servers/29/sites/43" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -9409,7 +9758,7 @@ show<
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/sites/26';
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites/43';
$response = $client->get(
$url,
[
@@ -9426,7 +9775,7 @@ show<
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/sites/26"
+ "https://your-vito-url/api/projects/1/servers/29/sites/43"
);
const headers = {
@@ -9568,10 +9917,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
id
@@ -9579,10 +9928,10 @@ URL Parameters
-The ID of the site. Example: 26
+The ID of the site. Example: 43
@@ -9600,7 +9949,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/sites/26" \
+ "https://your-vito-url/api/projects/1/servers/29/sites/43" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -9608,7 +9957,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/sites/26';
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites/43';
$response = $client->delete(
$url,
[
@@ -9625,7 +9974,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/sites/26"
+ "https://your-vito-url/api/projects/1/servers/29/sites/43"
);
const headers = {
@@ -9747,10 +10096,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
site_id
@@ -9758,10 +10107,10 @@ URL Parameters
-The ID of the site. Example: 26
+The ID of the site. Example: 43
@@ -9779,14 +10128,14 @@
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/sites/26/load-balancer" \
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/load-balancer" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"method\": \"least-connections\",
+ \"method\": \"ip-hash\",
\"servers\": [
- \"deleniti\"
+ \"accusantium\"
]
}"
@@ -9794,7 +10143,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/sites/26/load-balancer';
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites/43/load-balancer';
$response = $client->post(
$url,
[
@@ -9804,9 +10153,9 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/sites/26/load-balancer"
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/load-balancer"
);
const headers = {
@@ -9827,9 +10176,9 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
site_id
@@ -9959,10 +10308,10 @@ URL Parameters
-The ID of the site. Example: 26
+The ID of the site. Example: 43
Body Parameters
@@ -9971,10 +10320,10 @@ Body Parameters
-Load balancer method, Required if the site type is Load balancer Example: least-connections
+Load balancer method, Required if the site type is Load balancer Example: ip-hash
Must be one of:
round-robin
least-connections
ip-hash
@@ -9993,6 +10342,601 @@ Body Parameters
+ aliases
+
+
+requires authentication
+
+
+Update aliases.
+
+
+Example request:
+
+
+
+ curl --request PUT \
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/aliases" \
+ --header "Authorization: Bearer YOUR-API-KEY" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"aliases\": [
+ \"ut\"
+ ]
+}"
+
+
+
+
+ $client = new \GuzzleHttp\Client();
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites/43/aliases';
+$response = $client->put(
+ $url,
+ [
+ 'headers' => [
+ 'Authorization' => 'Bearer YOUR-API-KEY',
+ 'Content-Type' => 'application/json',
+ 'Accept' => 'application/json',
+ ],
+ 'json' => [
+ 'aliases' => [
+ 'ut',
+ ],
+ ],
+ ]
+);
+$body = $response->getBody();
+print_r(json_decode((string) $body));
+
+
+
+ const url = new URL(
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/aliases"
+);
+
+const headers = {
+ "Authorization": "Bearer YOUR-API-KEY",
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "aliases": [
+ "ut"
+ ]
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());
+
+
+
+
+
+ Example response (200):
+
+
+
+
+
+
+
+ Received response:
+
+
+
+
+ Request failed with error:
+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ deployment-script
+
+
+requires authentication
+
+
+Update site deployment script
+
+
+Example request:
+
+
+
+ curl --request PUT \
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/deployment-script" \
+ --header "Authorization: Bearer YOUR-API-KEY" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"script\": \"culpa\"
+}"
+
+
+
+
+ $client = new \GuzzleHttp\Client();
+$url = 'https://your-vito-url/api/projects/1/servers/29/sites/43/deployment-script';
+$response = $client->put(
+ $url,
+ [
+ 'headers' => [
+ 'Authorization' => 'Bearer YOUR-API-KEY',
+ 'Content-Type' => 'application/json',
+ 'Accept' => 'application/json',
+ ],
+ 'json' => [
+ 'script' => 'culpa',
+ ],
+ ]
+);
+$body = $response->getBody();
+print_r(json_decode((string) $body));
+
+
+
+ const url = new URL(
+ "https://your-vito-url/api/projects/1/servers/29/sites/43/deployment-script"
+);
+
+const headers = {
+ "Authorization": "Bearer YOUR-API-KEY",
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "script": "culpa"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());
+
+
+
+
+
+ Example response (204):
+
+
+Empty response
+
+
+
+ Received response:
+
+
+
+
+ Request failed with error:
+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ deployment-script
+
+
+requires authentication
+
+
+Get site deployment script content
+
+
+Example request:
+
+
+
+ curl --request GET \
+ --get "https://your-vito-url/api/projects/1/servers/29/sites/43/deployment-script" \
+ --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/43/deployment-script';
+$response = $client->get(
+ $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/43/deployment-script"
+);
+
+const headers = {
+ "Authorization": "Bearer YOUR-API-KEY",
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+fetch(url, {
+ method: "GET",
+ headers,
+}).then(response => response.json());
+
+
+
+
+
+ Example response (200):
+
+
+
+
+
+
+
+ Received response:
+
+
+
+
+ Request failed with error:
+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
source-controls
@@ -10064,19 +11008,19 @@ list
"id": 5,
"project_id": null,
"global": true,
- "name": "Mr. Reuben Schimmel",
+ "name": "Amya Jones",
"provider": "github",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
},
{
"id": 6,
"project_id": null,
"global": true,
- "name": "Ms. Brandy Mraz V",
+ "name": "Jerry Donnelly",
"provider": "github",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
],
"links": {
@@ -10228,11 +11172,11 @@ create
@@ -10250,11 +11194,11 @@ createcreatecreate
@@ -10419,10 +11363,10 @@ Body Parameters
-
The name of the storage provider. Example: dignissimos
+The name of the storage provider. Example: eligendi
token
@@ -10430,10 +11374,10 @@ Body Parameters
-The token if provider requires api token Example: voluptates
+The token if provider requires api token Example: debitis
url
@@ -10441,10 +11385,10 @@ Body Parameters
-The URL if the provider is Gitlab and it is self-hosted Example: https://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam
+The URL if the provider is Gitlab and it is self-hosted Example: http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum
username
@@ -10452,10 +11396,10 @@ Body Parameters
-The username if the provider is Bitbucket Example: nisi
+The username if the provider is Bitbucket Example: rerum
password
@@ -10463,10 +11407,10 @@ Body Parameters
-The password if the provider is Bitbucket Example: W~19Z0
+The password if the provider is Bitbucket Example: wBK}NHxV:x
@@ -10535,10 +11479,10 @@
@@ -10688,11 +11632,11 @@ Body Parameters
-
The name of the storage provider. Example: aut
+The name of the storage provider. Example: blanditiis
token
@@ -10867,10 +11811,10 @@ Body Parameters
-The token if provider requires api token Example: repudiandae
+The token if provider requires api token Example: non
url
@@ -10878,10 +11822,10 @@ Body Parameters
-The URL if the provider is Gitlab and it is self-hosted Example: http://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html
+The URL if the provider is Gitlab and it is self-hosted Example: https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam
username
@@ -10889,10 +11833,10 @@ Body Parameters
-The username if the provider is Bitbucket Example: consequatur
+The username if the provider is Bitbucket Example: porro
password
@@ -10900,10 +11844,10 @@ Body Parameters
-The password if the provider is Bitbucket Example: oX/H"pAIt7R2"
+The password if the provider is Bitbucket Example: >BW~{
#d,}=U!XxC!t]`
global
@@ -11106,7 +12050,7 @@ list
curl --request GET \
- --get "https://your-vito-url/api/projects/1/servers/8/ssh-keys" \
+ --get "https://your-vito-url/api/projects/1/servers/29/ssh-keys" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -11114,7 +12058,7 @@ list
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/ssh-keys';
+$url = 'https://your-vito-url/api/projects/1/servers/29/ssh-keys';
$response = $client->get(
$url,
[
@@ -11131,7 +12075,7 @@ list
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/ssh-keys"
+ "https://your-vito-url/api/projects/1/servers/29/ssh-keys"
);
const headers = {
@@ -11158,14 +12102,14 @@ list
{
"id": null,
"user": null,
- "name": "Godfrey Mills",
+ "name": "Dr. Virgie Reilly",
"created_at": null,
"updated_at": null
},
{
"id": null,
"user": null,
- "name": "Donato Streich",
+ "name": "Horace Gutmann",
"created_at": null,
"updated_at": null
}
@@ -11303,10 +12247,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
@@ -11324,21 +12268,21 @@ cre
curl --request POST \
- "https://your-vito-url/api/projects/1/servers/8/ssh-keys" \
+ "https://your-vito-url/api/projects/1/servers/29/ssh-keys" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"key_id\": \"numquam\",
- \"name\": \"alias\",
- \"public_key\": \"voluptate\"
+ \"key_id\": \"et\",
+ \"name\": \"provident\",
+ \"public_key\": \"incidunt\"
}"
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/ssh-keys';
+$url = 'https://your-vito-url/api/projects/1/servers/29/ssh-keys';
$response = $client->post(
$url,
[
@@ -11348,9 +12292,9 @@ cre
'Accept' => 'application/json',
],
'json' => [
- 'key_id' => 'numquam',
- 'name' => 'alias',
- 'public_key' => 'voluptate',
+ 'key_id' => 'et',
+ 'name' => 'provident',
+ 'public_key' => 'incidunt',
],
]
);
@@ -11360,7 +12304,7 @@ cre
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/ssh-keys"
+ "https://your-vito-url/api/projects/1/servers/29/ssh-keys"
);
const headers = {
@@ -11370,9 +12314,9 @@ cre
};
let body = {
- "key_id": "numquam",
- "name": "alias",
- "public_key": "voluptate"
+ "key_id": "et",
+ "name": "provident",
+ "public_key": "incidunt"
};
fetch(url, {
@@ -11392,7 +12336,7 @@ cre
{
"id": null,
"user": null,
- "name": "Mr. Stanton Bergnaum",
+ "name": "Miss Penelope Sipes IV",
"created_at": null,
"updated_at": null
}
@@ -11496,10 +12440,10 @@ URL Parameters
-
The ID of the server. Example: 8
+The ID of the server. Example: 29
Body Parameters
@@ -11508,10 +12452,10 @@ Body Parameters
-The ID of the key. Example: numquam
+The ID of the key. Example: et
name
@@ -11519,10 +12463,10 @@ Body Parameters
-Key name, required if key_id is not provided. Example: alias
+Key name, required if key_id is not provided. Example: provident
public_key
@@ -11530,10 +12474,10 @@ Body Parameters
-Public Key, required if key_id is not provided. Example: voluptate
+Public Key, required if key_id is not provided. Example: incidunt
@@ -11551,7 +12495,7 @@
curl --request DELETE \
- "https://your-vito-url/api/projects/1/servers/8/ssh-keys/1" \
+ "https://your-vito-url/api/projects/1/servers/29/ssh-keys/1" \
--header "Authorization: Bearer YOUR-API-KEY" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
@@ -11559,7 +12503,7 @@
$client = new \GuzzleHttp\Client();
-$url = 'https://your-vito-url/api/projects/1/servers/8/ssh-keys/1';
+$url = 'https://your-vito-url/api/projects/1/servers/29/ssh-keys/1';
$response = $client->delete(
$url,
[
@@ -11576,7 +12520,7 @@
const url = new URL(
- "https://your-vito-url/api/projects/1/servers/8/ssh-keys/1"
+ "https://your-vito-url/api/projects/1/servers/29/ssh-keys/1"
);
const headers = {
@@ -11698,10 +12642,10 @@ URL Parameters
-The ID of the server. Example: 8
+The ID of the server. Example: 29
sshKey_id
@@ -11787,19 +12731,19 @@ list
"id": 5,
"project_id": null,
"global": true,
- "name": "dolorem",
- "provider": "s3",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "sit",
+ "provider": "ftp",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
},
{
"id": 6,
"project_id": null,
"global": true,
- "name": "itaque",
- "provider": "s3",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "repudiandae",
+ "provider": "local",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
],
"links": {
@@ -11950,11 +12894,11 @@ creat
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
- \"provider\": \"alias\",
- \"name\": \"explicabo\",
- \"token\": \"ut\",
- \"key\": \"libero\",
- \"secret\": \"consequatur\"
+ \"provider\": \"est\",
+ \"name\": \"id\",
+ \"token\": \"repellendus\",
+ \"key\": \"ducimus\",
+ \"secret\": \"possimus\"
}"
@@ -11971,11 +12915,11 @@ creat
'Accept' => 'application/json',
],
'json' => [
- 'provider' => 'alias',
- 'name' => 'explicabo',
- 'token' => 'ut',
- 'key' => 'libero',
- 'secret' => 'consequatur',
+ 'provider' => 'est',
+ 'name' => 'id',
+ 'token' => 'repellendus',
+ 'key' => 'ducimus',
+ 'secret' => 'possimus',
],
]
);
@@ -11995,11 +12939,11 @@ creat
};
let body = {
- "provider": "alias",
- "name": "explicabo",
- "token": "ut",
- "key": "libero",
- "secret": "consequatur"
+ "provider": "est",
+ "name": "id",
+ "token": "repellendus",
+ "key": "ducimus",
+ "secret": "possimus"
};
fetch(url, {
@@ -12020,10 +12964,10 @@ creat
"id": 5,
"project_id": null,
"global": true,
- "name": "quos",
- "provider": "s3",
- "created_at": "2025-01-30T22:42:49.000000Z",
- "updated_at": "2025-01-30T22:42:49.000000Z"
+ "name": "sequi",
+ "provider": "dropbox",
+ "created_at": "2025-03-29T20:43:56.000000Z",
+ "updated_at": "2025-03-29T20:43:56.000000Z"
}
@@ -12126,10 +13070,10 @@ Body Parameters
-
The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: alias
+The provider (aws, linode, hetzner, digitalocean, vultr, ...) Example: est
name
@@ -12137,10 +13081,10 @@ Body Parameters
-The name of the storage provider. Example: explicabo
+The name of the storage provider. Example: id
token
@@ -12148,10 +13092,10 @@ Body Parameters
-The token if provider requires api token Example: ut
+The token if provider requires api token Example: repellendus
key
@@ -12159,10 +13103,10 @@ Body Parameters
-The key if provider requires key Example: libero
+The key if provider requires key Example: ducimus
secret
@@ -12170,10 +13114,10 @@ Body Parameters
-The secret if provider requires key Example: consequatur
+The secret if provider requires key Example: possimus
@@ -12242,10 +13186,10 @@
@@ -12391,8 +13335,8 @@ Body Parameters
-
The name of the storage provider. Example: sequi
+The name of the storage provider. Example: ullam
global
@@ -12565,7 +13509,7 @@ Body Parameters
value=""
data-component="body">
-Accessible in all projects Example: false
+Accessible in all projects Example: true
Must be one of:
1
diff --git a/public/api-docs/js/theme-default-4.39.0.js b/public/api-docs/js/theme-default-4.40.0.js
similarity index 100%
rename from public/api-docs/js/theme-default-4.39.0.js
rename to public/api-docs/js/theme-default-4.40.0.js
diff --git a/public/api-docs/js/tryitout-4.39.0.js b/public/api-docs/js/tryitout-4.40.0.js
similarity index 100%
rename from public/api-docs/js/tryitout-4.39.0.js
rename to public/api-docs/js/tryitout-4.40.0.js
diff --git a/public/api-docs/openapi.yaml b/public/api-docs/openapi.yaml
index b29eba2..f99dcf0 100644
--- a/public/api-docs/openapi.yaml
+++ b/public/api-docs/openapi.yaml
@@ -241,12 +241,12 @@ paths:
command:
type: string
description: ''
- example: itaque
+ example: qui
nullable: false
user:
type: string
description: ''
- example: root
+ example: vito
nullable: false
enum:
- root
@@ -273,7 +273,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -349,7 +349,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -357,7 +357,7 @@ paths:
in: path
name: cronJob_id
description: 'The ID of the cronJob.'
- example: 18
+ example: 17
required: true
schema:
type: integer
@@ -379,7 +379,7 @@ paths:
-
id: null
server_id: null
- username: xgaylord
+ username: lehner.eloy
databases: []
host: '%'
status: null
@@ -388,7 +388,7 @@ paths:
-
id: null
server_id: null
- username: una37
+ username: rlowe
databases: []
host: '%'
status: null
@@ -427,7 +427,7 @@ paths:
-
id: null
server_id: null
- username: xgaylord
+ username: lehner.eloy
databases: []
host: '%'
status: null
@@ -436,7 +436,7 @@ paths:
-
id: null
server_id: null
- username: una37
+ username: rlowe
databases: []
host: '%'
status: null
@@ -453,7 +453,7 @@ paths:
example: null
username:
type: string
- example: xgaylord
+ example: lehner.eloy
databases:
type: array
example: []
@@ -552,7 +552,7 @@ paths:
example:
id: null
server_id: null
- username: kari.farrell
+ username: fahey.joseph
databases: []
host: '%'
status: null
@@ -567,7 +567,7 @@ paths:
example: null
username:
type: string
- example: kari.farrell
+ example: fahey.joseph
databases:
type: array
example: []
@@ -595,12 +595,12 @@ paths:
username:
type: string
description: ''
- example: consequuntur
+ example: voluptas
nullable: false
password:
type: string
description: ''
- example: 'fI/i2.O4u&dla?eXvR2'
+ example: ':D+e=/;H,'
nullable: false
host:
type: string
@@ -624,7 +624,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -644,7 +644,7 @@ paths:
example:
id: null
server_id: null
- username: caterina.mosciski
+ username: szboncak
databases: []
host: '%'
status: null
@@ -659,7 +659,7 @@ paths:
example: null
username:
type: string
- example: caterina.mosciski
+ example: szboncak
databases:
type: array
example: []
@@ -700,7 +700,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -708,7 +708,7 @@ paths:
in: path
name: databaseUser_id
description: 'The ID of the databaseUser.'
- example: 18
+ example: 19
required: true
schema:
type: integer
@@ -728,7 +728,7 @@ paths:
example:
id: null
server_id: null
- username: kurtis05
+ username: smith.liliana
databases: []
host: '%'
status: null
@@ -743,7 +743,7 @@ paths:
example: null
username:
type: string
- example: kurtis05
+ example: smith.liliana
databases:
type: array
example: []
@@ -771,7 +771,7 @@ paths:
databases:
type: string
description: 'Array of database names to link to the user.'
- example: non
+ example: accusantium
nullable: false
required:
- databases
@@ -788,7 +788,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -796,7 +796,7 @@ paths:
in: path
name: databaseUser_id
description: 'The ID of the databaseUser.'
- example: 4
+ example: 11
required: true
schema:
type: integer
@@ -818,14 +818,14 @@ paths:
-
id: null
server_id: null
- name: amalia38
+ name: joyce53
status: ready
created_at: null
updated_at: null
-
id: null
server_id: null
- name: troy.rippin
+ name: eric55
status: ready
created_at: null
updated_at: null
@@ -862,14 +862,14 @@ paths:
-
id: null
server_id: null
- name: amalia38
+ name: joyce53
status: ready
created_at: null
updated_at: null
-
id: null
server_id: null
- name: troy.rippin
+ name: eric55
status: ready
created_at: null
updated_at: null
@@ -884,7 +884,7 @@ paths:
example: null
name:
type: string
- example: amalia38
+ example: joyce53
status:
type: string
example: ready
@@ -977,7 +977,7 @@ paths:
example:
id: null
server_id: null
- name: harvey.haskell
+ name: brekke.isabell
status: ready
created_at: null
updated_at: null
@@ -990,7 +990,7 @@ paths:
example: null
name:
type: string
- example: harvey.haskell
+ example: brekke.isabell
status:
type: string
example: ready
@@ -1012,10 +1012,22 @@ paths:
name:
type: string
description: ''
- example: et
+ example: debitis
+ nullable: false
+ charset:
+ type: string
+ description: ''
+ example: maxime
+ nullable: false
+ collation:
+ type: string
+ description: ''
+ example: sed
nullable: false
required:
- name
+ - charset
+ - collation
parameters:
-
in: path
@@ -1029,7 +1041,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -1049,7 +1061,7 @@ paths:
example:
id: null
server_id: null
- name: ruthie.koepp
+ name: vandervort.emmalee
status: ready
created_at: null
updated_at: null
@@ -1062,7 +1074,7 @@ paths:
example: null
name:
type: string
- example: ruthie.koepp
+ example: vandervort.emmalee
status:
type: string
example: ready
@@ -1087,7 +1099,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -1095,7 +1107,7 @@ paths:
in: path
name: id
description: 'The ID of the database.'
- example: 19
+ example: 11
required: true
schema:
type: integer
@@ -1123,7 +1135,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -1131,7 +1143,7 @@ paths:
in: path
name: database_id
description: 'The ID of the database.'
- example: 15
+ example: 5
required: true
schema:
type: integer
@@ -1152,11 +1164,12 @@ paths:
data:
-
id: null
+ name: ea
server_id: null
type: allow
protocol: tcp
- port: 38781
- source: 79.116.255.150
+ port: 41910
+ source: 202.183.211.242
mask: 24
note: test
status: null
@@ -1164,11 +1177,12 @@ paths:
updated_at: null
-
id: null
+ name: iusto
server_id: null
type: allow
protocol: tcp
- port: 32141
- source: 52.174.114.251
+ port: 60689
+ source: 227.149.61.57
mask: 24
note: test
status: null
@@ -1206,11 +1220,12 @@ paths:
example:
-
id: null
+ name: ea
server_id: null
type: allow
protocol: tcp
- port: 38781
- source: 79.116.255.150
+ port: 41910
+ source: 202.183.211.242
mask: 24
note: test
status: null
@@ -1218,11 +1233,12 @@ paths:
updated_at: null
-
id: null
+ name: iusto
server_id: null
type: allow
protocol: tcp
- port: 32141
- source: 52.174.114.251
+ port: 60689
+ source: 227.149.61.57
mask: 24
note: test
status: null
@@ -1234,6 +1250,9 @@ paths:
id:
type: string
example: null
+ name:
+ type: string
+ example: ea
server_id:
type: string
example: null
@@ -1245,10 +1264,10 @@ paths:
example: tcp
port:
type: integer
- example: 38781
+ example: 41910
source:
type: string
- example: 79.116.255.150
+ example: 202.183.211.242
mask:
type: integer
example: 24
@@ -1346,11 +1365,12 @@ paths:
type: object
example:
id: null
+ name: in
server_id: null
type: allow
protocol: tcp
- port: 47148
- source: 119.182.8.45
+ port: 13253
+ source: 245.228.81.208
mask: 24
note: test
status: null
@@ -1360,6 +1380,9 @@ paths:
id:
type: string
example: null
+ name:
+ type: string
+ example: in
server_id:
type: string
example: null
@@ -1371,10 +1394,10 @@ paths:
example: tcp
port:
type: integer
- example: 47148
+ example: 13253
source:
type: string
- example: 119.182.8.45
+ example: 245.228.81.208
mask:
type: integer
example: 24
@@ -1399,10 +1422,15 @@ paths:
schema:
type: object
properties:
+ name:
+ type: string
+ description: ''
+ example: autem
+ nullable: false
type:
type: string
description: ''
- example: deny
+ example: allow
nullable: false
enum:
- allow
@@ -1410,7 +1438,7 @@ paths:
protocol:
type: string
description: ''
- example: udp
+ example: tcp
nullable: false
enum:
- tcp
@@ -1418,12 +1446,12 @@ paths:
port:
type: string
description: ''
- example: et
+ example: quas
nullable: false
source:
type: string
description: ''
- example: voluptates
+ example: blanditiis
nullable: false
mask:
type: string
@@ -1431,10 +1459,10 @@ paths:
example: '0'
nullable: false
required:
+ - name
- type
- protocol
- port
- - source
- mask
parameters:
-
@@ -1449,11 +1477,124 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
'/api/projects/{project_id}/servers/{server_id}/firewall-rules/{firewallRule_id}':
+ put:
+ summary: edit
+ operationId: edit
+ description: 'Update an existing firewall rule.'
+ parameters: []
+ responses:
+ 200:
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: object
+ example:
+ id: null
+ name: repudiandae
+ server_id: null
+ type: allow
+ protocol: tcp
+ port: 44250
+ source: 243.200.88.169
+ mask: 24
+ note: test
+ status: null
+ created_at: null
+ updated_at: null
+ properties:
+ id:
+ type: string
+ example: null
+ name:
+ type: string
+ example: repudiandae
+ server_id:
+ type: string
+ example: null
+ type:
+ type: string
+ example: allow
+ protocol:
+ type: string
+ example: tcp
+ port:
+ type: integer
+ example: 44250
+ source:
+ type: string
+ example: 243.200.88.169
+ mask:
+ type: integer
+ example: 24
+ note:
+ type: string
+ example: test
+ status:
+ type: string
+ example: null
+ created_at:
+ type: string
+ example: null
+ updated_at:
+ type: string
+ example: null
+ tags:
+ - firewall-rules
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ name:
+ type: string
+ description: ''
+ example: earum
+ nullable: false
+ type:
+ type: string
+ description: ''
+ example: allow
+ nullable: false
+ enum:
+ - allow
+ - deny
+ protocol:
+ type: string
+ description: ''
+ example: tcp
+ nullable: false
+ enum:
+ - tcp
+ - udp
+ port:
+ type: string
+ description: ''
+ example: ab
+ nullable: false
+ source:
+ type: string
+ description: ''
+ example: possimus
+ nullable: false
+ mask:
+ type: string
+ description: 'Mask for source IP.'
+ example: '0'
+ nullable: false
+ required:
+ - name
+ - type
+ - protocol
+ - port
+ - mask
get:
summary: show
operationId: show
@@ -1468,11 +1609,12 @@ paths:
type: object
example:
id: null
+ name: quam
server_id: null
type: allow
protocol: tcp
- port: 2317
- source: 44.161.134.114
+ port: 62505
+ source: 73.254.77.244
mask: 24
note: test
status: null
@@ -1482,6 +1624,9 @@ paths:
id:
type: string
example: null
+ name:
+ type: string
+ example: quam
server_id:
type: string
example: null
@@ -1493,10 +1638,10 @@ paths:
example: tcp
port:
type: integer
- example: 2317
+ example: 62505
source:
type: string
- example: 44.161.134.114
+ example: 73.254.77.244
mask:
type: integer
example: 24
@@ -1537,7 +1682,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -1545,7 +1690,7 @@ paths:
in: path
name: firewallRule_id
description: 'The ID of the firewallRule.'
- example: 29
+ example: 85
required: true
schema:
type: integer
@@ -1564,14 +1709,14 @@ paths:
type: object
example:
success: true
- version: 2.1.0
+ version: 2.4.0
properties:
success:
type: boolean
example: true
version:
type: string
- example: 2.1.0
+ example: 2.4.0
tags:
- general
security: []
@@ -1592,14 +1737,14 @@ paths:
data:
-
id: 3
- name: 'Jeffry Dickinson'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Amara Jaskolski'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 4
- name: 'Miss Tianna Dietrich PhD'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Christy Kohler'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
links:
first: '/?page=1'
last: '/?page=1'
@@ -1632,14 +1777,14 @@ paths:
example:
-
id: 3
- name: 'Jeffry Dickinson'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Amara Jaskolski'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 4
- name: 'Miss Tianna Dietrich PhD'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Christy Kohler'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
items:
type: object
properties:
@@ -1648,13 +1793,13 @@ paths:
example: 3
name:
type: string
- example: 'Jeffry Dickinson'
+ example: 'Amara Jaskolski'
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
links:
type: object
properties:
@@ -1737,22 +1882,22 @@ paths:
type: object
example:
id: 3
- name: 'Isidro Franecki'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Prof. Enrico Wehner Sr.'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
example: 3
name:
type: string
- example: 'Isidro Franecki'
+ example: 'Prof. Enrico Wehner Sr.'
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- projects
requestBody:
@@ -1765,7 +1910,7 @@ paths:
name:
type: string
description: 'The name of the project.'
- example: quos
+ example: temporibus
nullable: false
required:
- name
@@ -1784,22 +1929,22 @@ paths:
type: object
example:
id: 3
- name: 'Rhoda Parisian'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Zoie Feest'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
example: 3
name:
type: string
- example: 'Rhoda Parisian'
+ example: 'Zoie Feest'
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- projects
put:
@@ -1816,22 +1961,22 @@ paths:
type: object
example:
id: 3
- name: 'Mr. Dashawn Jacobson Sr.'
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: 'Mr. Jayme Kuhlman DVM'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
example: 3
name:
type: string
- example: 'Mr. Dashawn Jacobson Sr.'
+ example: 'Mr. Jayme Kuhlman DVM'
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- projects
requestBody:
@@ -1844,7 +1989,7 @@ paths:
name:
type: string
description: 'The name of the project.'
- example: ullam
+ example: sit
nullable: false
required:
- name
@@ -1892,22 +2037,22 @@ paths:
type: object
example:
data:
- -
- id: 2
- project_id: null
- global: true
- name: laudantium
- provider: vultr
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
-
id: 3
project_id: null
global: true
- name: aut
+ name: quaerat
provider: aws
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
+ -
+ id: 4
+ project_id: null
+ global: true
+ name: quas
+ provider: vultr
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
links:
first: '/?page=1'
last: '/?page=1'
@@ -1938,28 +2083,28 @@ paths:
data:
type: array
example:
- -
- id: 2
- project_id: null
- global: true
- name: laudantium
- provider: vultr
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
-
id: 3
project_id: null
global: true
- name: aut
+ name: quaerat
provider: aws
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
+ -
+ id: 4
+ project_id: null
+ global: true
+ name: quas
+ provider: vultr
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
items:
type: object
properties:
id:
type: integer
- example: 2
+ example: 3
project_id:
type: string
example: null
@@ -1968,16 +2113,16 @@ paths:
example: true
name:
type: string
- example: laudantium
+ example: quaerat
provider:
type: string
- example: vultr
+ example: aws
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
links:
type: object
properties:
@@ -2059,17 +2204,17 @@ paths:
schema:
type: object
example:
- id: 2
+ id: 3
project_id: null
global: true
- name: quia
- provider: vultr
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: iure
+ provider: hetzner
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
- example: 2
+ example: 3
project_id:
type: string
example: null
@@ -2078,16 +2223,16 @@ paths:
example: true
name:
type: string
- example: quia
+ example: iure
provider:
type: string
- example: vultr
+ example: hetzner
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- server-providers
requestBody:
@@ -2100,27 +2245,27 @@ paths:
provider:
type: string
description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)'
- example: voluptatem
+ example: exercitationem
nullable: false
name:
type: string
description: 'The name of the server provider.'
- example: repellat
+ example: similique
nullable: false
token:
type: string
description: 'The token if provider requires api token'
- example: omnis
+ example: nisi
nullable: false
key:
type: string
description: 'The key if provider requires key'
- example: recusandae
+ example: tempora
nullable: false
secret:
type: string
description: 'The secret if provider requires key'
- example: in
+ example: earum
nullable: false
required:
- provider
@@ -2151,17 +2296,17 @@ paths:
schema:
type: object
example:
- id: 2
+ id: 3
project_id: null
global: true
- name: ab
- provider: hetzner
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: et
+ provider: vultr
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
- example: 2
+ example: 3
project_id:
type: string
example: null
@@ -2170,16 +2315,16 @@ paths:
example: true
name:
type: string
- example: ab
+ example: et
provider:
type: string
- example: hetzner
+ example: vultr
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- server-providers
put:
@@ -2195,17 +2340,17 @@ paths:
schema:
type: object
example:
- id: 2
+ id: 3
project_id: null
global: true
- name: nesciunt
- provider: linode
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: aliquam
+ provider: hetzner
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
- example: 2
+ example: 3
project_id:
type: string
example: null
@@ -2214,16 +2359,16 @@ paths:
example: true
name:
type: string
- example: nesciunt
+ example: aliquam
provider:
type: string
- example: linode
+ example: hetzner
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- server-providers
requestBody:
@@ -2236,12 +2381,12 @@ paths:
name:
type: string
description: 'The name of the server provider.'
- example: est
+ example: porro
nullable: false
global:
type: string
description: 'Accessible in all projects'
- example: true
+ example: false
nullable: false
enum:
- true
@@ -2296,10 +2441,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Amina DuBuque'
+ name: 'Prof. Wyatt Powlowski IV'
ssh_user: vito
- ip: 163.77.69.73
- local_ip: 137.139.200.70
+ ip: 33.53.217.82
+ local_ip: 227.155.11.76
port: 22
os: ubuntu_22
type: regular
@@ -2322,10 +2467,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Floy Cummerata'
+ name: "Guiseppe D'Amore"
ssh_user: vito
- ip: 62.53.140.25
- local_ip: 34.59.35.195
+ ip: 41.138.98.159
+ local_ip: 78.178.81.109
port: 22
os: ubuntu_22
type: regular
@@ -2378,10 +2523,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Amina DuBuque'
+ name: 'Prof. Wyatt Powlowski IV'
ssh_user: vito
- ip: 163.77.69.73
- local_ip: 137.139.200.70
+ ip: 33.53.217.82
+ local_ip: 227.155.11.76
port: 22
os: ubuntu_22
type: regular
@@ -2404,10 +2549,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Floy Cummerata'
+ name: "Guiseppe D'Amore"
ssh_user: vito
- ip: 62.53.140.25
- local_ip: 34.59.35.195
+ ip: 41.138.98.159
+ local_ip: 78.178.81.109
port: 22
os: ubuntu_22
type: regular
@@ -2442,16 +2587,16 @@ paths:
example: null
name:
type: string
- example: 'Amina DuBuque'
+ example: 'Prof. Wyatt Powlowski IV'
ssh_user:
type: string
example: vito
ip:
type: string
- example: 163.77.69.73
+ example: 33.53.217.82
local_ip:
type: string
- example: 137.139.200.70
+ example: 227.155.11.76
port:
type: integer
example: 22
@@ -2588,10 +2733,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Archibald Nolan'
+ name: 'Anissa McDermott'
ssh_user: vito
- ip: 226.168.13.177
- local_ip: 143.14.43.182
+ ip: 212.15.34.173
+ local_ip: 142.201.95.242
port: 22
os: ubuntu_22
type: regular
@@ -2624,16 +2769,16 @@ paths:
example: null
name:
type: string
- example: 'Archibald Nolan'
+ example: 'Anissa McDermott'
ssh_user:
type: string
example: vito
ip:
type: string
- example: 226.168.13.177
+ example: 212.15.34.173
local_ip:
type: string
- example: 143.14.43.182
+ example: 142.201.95.242
port:
type: integer
example: 22
@@ -2697,12 +2842,12 @@ paths:
provider:
type: string
description: 'The server provider type'
- example: iste
+ example: vel
nullable: false
server_provider:
type: string
description: 'If the provider is not custom, the ID of the server provider profile'
- example: custom
+ example: hetzner
nullable: false
enum:
- custom
@@ -2713,37 +2858,37 @@ paths:
region:
type: string
description: 'Provider region if the provider is not custom'
- example: libero
+ example: voluptatibus
nullable: false
plan:
type: string
description: 'Provider plan if the provider is not custom'
- example: ut
+ example: ducimus
nullable: false
ip:
type: string
description: 'SSH IP address if the provider is custom'
- example: molestias
+ example: dolores
nullable: false
port:
type: string
description: 'SSH Port if the provider is custom'
- example: laudantium
+ example: ratione
nullable: false
name:
type: string
description: 'The name of the server.'
- example: illum
+ example: in
nullable: false
os:
type: string
description: 'The os of the server'
- example: autem
+ example: cumque
nullable: false
webserver:
type: string
description: 'Web server'
- example: none
+ example: nginx
nullable: false
enum:
- none
@@ -2751,7 +2896,7 @@ paths:
database:
type: string
description: Database
- example: postgresql12
+ example: mysql80
nullable: false
enum:
- none
@@ -2819,10 +2964,10 @@ paths:
project_id: null
user_id: null
provider_id: null
- name: 'Tevin Sipes'
+ name: 'Prof. Newton Wintheiser Jr.'
ssh_user: vito
- ip: 61.41.183.152
- local_ip: 197.160.239.147
+ ip: 243.154.251.36
+ local_ip: 198.224.194.65
port: 22
os: ubuntu_22
type: regular
@@ -2855,16 +3000,16 @@ paths:
example: null
name:
type: string
- example: 'Tevin Sipes'
+ example: 'Prof. Newton Wintheiser Jr.'
ssh_user:
type: string
example: vito
ip:
type: string
- example: 61.41.183.152
+ example: 243.154.251.36
local_ip:
type: string
- example: 197.160.239.147
+ example: 198.224.194.65
port:
type: integer
example: 22
@@ -2931,7 +3076,7 @@ paths:
in: path
name: id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -2959,7 +3104,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -2987,7 +3132,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3015,7 +3160,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3229,7 +3374,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3307,7 +3452,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3315,7 +3460,7 @@ paths:
in: path
name: id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3343,7 +3488,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3351,7 +3496,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3379,7 +3524,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3387,7 +3532,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3415,7 +3560,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3423,7 +3568,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3451,7 +3596,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3459,7 +3604,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3487,7 +3632,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3495,7 +3640,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3523,7 +3668,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -3531,7 +3676,7 @@ paths:
in: path
name: service_id
description: 'The ID of the service.'
- example: 53
+ example: 169
required: true
schema:
type: integer
@@ -3879,7 +4024,7 @@ paths:
type:
type: string
description: ''
- example: php
+ example: php-blank
nullable: false
enum:
- php
@@ -3891,13 +4036,13 @@ paths:
domain:
type: string
description: ''
- example: rem
+ example: harum
nullable: false
aliases:
type: array
description: ''
example:
- - libero
+ - voluptatem
items:
type: string
php_version:
@@ -3913,7 +4058,7 @@ paths:
source_control:
type: string
description: 'Source control ID, Required for Sites which support source control'
- example: dolor
+ example: amet
nullable: false
repository:
type: string
@@ -3938,12 +4083,12 @@ paths:
user:
type: string
description: 'user, to isolate the website under a new user'
- example: vitae
+ example: et
nullable: false
method:
type: string
description: 'Load balancer method, Required if the site type is Load balancer'
- example: ip-hash
+ example: least-connections
nullable: false
enum:
- round-robin
@@ -3975,7 +4120,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4081,7 +4226,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4089,7 +4234,7 @@ paths:
in: path
name: id
description: 'The ID of the site.'
- example: 26
+ example: 43
required: true
schema:
type: integer
@@ -4117,7 +4262,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4125,7 +4270,7 @@ paths:
in: path
name: site_id
description: 'The ID of the site.'
- example: 26
+ example: 43
required: true
schema:
type: integer
@@ -4155,7 +4300,7 @@ paths:
method:
type: string
description: 'Load balancer method, Required if the site type is Load balancer'
- example: least-connections
+ example: ip-hash
nullable: false
enum:
- round-robin
@@ -4165,7 +4310,7 @@ paths:
type: array
description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)'
example:
- - deleniti
+ - accusantium
items:
type: string
required:
@@ -4184,7 +4329,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4192,7 +4337,129 @@ paths:
in: path
name: site_id
description: 'The ID of the site.'
- example: 26
+ example: 43
+ required: true
+ schema:
+ type: integer
+ '/api/projects/{project_id}/servers/{server_id}/sites/{site_id}/aliases':
+ put:
+ summary: aliases
+ operationId: aliases
+ description: 'Update aliases.'
+ parameters: []
+ responses:
+ 200:
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: object
+ nullable: true
+ tags:
+ - sites
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ aliases:
+ type: array
+ description: 'Array of aliases'
+ example:
+ - ut
+ items:
+ type: string
+ required:
+ - aliases
+ 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: 43
+ required: true
+ schema:
+ type: integer
+ '/api/projects/{project_id}/servers/{server_id}/sites/{site_id}/deployment-script':
+ put:
+ summary: deployment-script
+ operationId: deploymentScript
+ description: 'Update site deployment script'
+ parameters: []
+ responses:
+ 204:
+ description: ''
+ tags:
+ - sites
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ script:
+ type: string
+ description: 'Content of the deployment script'
+ example: culpa
+ nullable: false
+ required:
+ - script
+ get:
+ summary: deployment-script
+ operationId: deploymentScript
+ description: 'Get site deployment script content'
+ 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: 43
required: true
schema:
type: integer
@@ -4215,18 +4482,18 @@ paths:
id: 5
project_id: null
global: true
- name: 'Mr. Reuben Schimmel'
+ name: 'Amya Jones'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 6
project_id: null
global: true
- name: 'Ms. Brandy Mraz V'
+ name: 'Jerry Donnelly'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
links:
first: '/?page=1'
last: '/?page=1'
@@ -4261,18 +4528,18 @@ paths:
id: 5
project_id: null
global: true
- name: 'Mr. Reuben Schimmel'
+ name: 'Amya Jones'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 6
project_id: null
global: true
- name: 'Ms. Brandy Mraz V'
+ name: 'Jerry Donnelly'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
items:
type: object
properties:
@@ -4287,16 +4554,16 @@ paths:
example: true
name:
type: string
- example: 'Mr. Reuben Schimmel'
+ example: 'Amya Jones'
provider:
type: string
example: github
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
links:
type: object
properties:
@@ -4381,10 +4648,10 @@ paths:
id: 5
project_id: null
global: true
- name: 'Harmony Koss DVM'
+ name: 'Dr. Janae Tremblay PhD'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -4397,16 +4664,16 @@ paths:
example: true
name:
type: string
- example: 'Harmony Koss DVM'
+ example: 'Dr. Janae Tremblay PhD'
provider:
type: string
example: github
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- source-controls
requestBody:
@@ -4428,27 +4695,27 @@ paths:
name:
type: string
description: 'The name of the storage provider.'
- example: dignissimos
+ example: eligendi
nullable: false
token:
type: string
description: 'The token if provider requires api token'
- example: voluptates
+ example: debitis
nullable: false
url:
type: string
description: 'The URL if the provider is Gitlab and it is self-hosted'
- example: 'https://www.hamill.net/culpa-non-qui-suscipit-dolores-id-aliquam'
+ example: 'http://fahey.com/aliquid-sapiente-labore-adipisci-eum-laborum'
nullable: false
username:
type: string
description: 'The username if the provider is Bitbucket'
- example: nisi
+ example: rerum
nullable: false
password:
type: string
description: 'The password if the provider is Bitbucket'
- example: W~19Z0
+ example: 'wBK}NHxV:x'
nullable: false
required:
- provider
@@ -4483,10 +4750,10 @@ paths:
id: 5
project_id: null
global: true
- name: 'Martin Welch'
+ name: 'Marguerite Aufderhar'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -4499,16 +4766,16 @@ paths:
example: true
name:
type: string
- example: 'Martin Welch'
+ example: 'Marguerite Aufderhar'
provider:
type: string
example: github
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- source-controls
put:
@@ -4527,10 +4794,10 @@ paths:
id: 5
project_id: null
global: true
- name: 'Miss Dulce Nicolas III'
+ name: 'Johan Crooks'
provider: github
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -4543,16 +4810,16 @@ paths:
example: true
name:
type: string
- example: 'Miss Dulce Nicolas III'
+ example: 'Johan Crooks'
provider:
type: string
example: github
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- source-controls
requestBody:
@@ -4565,27 +4832,27 @@ paths:
name:
type: string
description: 'The name of the storage provider.'
- example: aut
+ example: blanditiis
nullable: false
token:
type: string
description: 'The token if provider requires api token'
- example: repudiandae
+ example: non
nullable: false
url:
type: string
description: 'The URL if the provider is Gitlab and it is self-hosted'
- example: 'http://howe.net/eaque-assumenda-voluptatem-quo-libero-eius.html'
+ example: 'https://www.veum.com/eum-voluptas-non-rem-non-rerum-tempora-quam'
nullable: false
username:
type: string
description: 'The username if the provider is Bitbucket'
- example: consequatur
+ example: porro
nullable: false
password:
type: string
description: 'The password if the provider is Bitbucket'
- example: 'oX/H"pAIt7R2"'
+ example: '>BW~{`#d,}=U!XxC!t]'
nullable: false
global:
type: string
@@ -4647,13 +4914,13 @@ paths:
-
id: null
user: null
- name: 'Godfrey Mills'
+ name: 'Dr. Virgie Reilly'
created_at: null
updated_at: null
-
id: null
user: null
- name: 'Donato Streich'
+ name: 'Horace Gutmann'
created_at: null
updated_at: null
links:
@@ -4689,13 +4956,13 @@ paths:
-
id: null
user: null
- name: 'Godfrey Mills'
+ name: 'Dr. Virgie Reilly'
created_at: null
updated_at: null
-
id: null
user: null
- name: 'Donato Streich'
+ name: 'Horace Gutmann'
created_at: null
updated_at: null
items:
@@ -4709,7 +4976,7 @@ paths:
example: null
name:
type: string
- example: 'Godfrey Mills'
+ example: 'Dr. Virgie Reilly'
created_at:
type: string
example: null
@@ -4799,7 +5066,7 @@ paths:
example:
id: null
user: null
- name: 'Mr. Stanton Bergnaum'
+ name: 'Miss Penelope Sipes IV'
created_at: null
updated_at: null
properties:
@@ -4811,7 +5078,7 @@ paths:
example: null
name:
type: string
- example: 'Mr. Stanton Bergnaum'
+ example: 'Miss Penelope Sipes IV'
created_at:
type: string
example: null
@@ -4830,17 +5097,17 @@ paths:
key_id:
type: string
description: 'The ID of the key.'
- example: numquam
+ example: et
nullable: false
name:
type: string
description: 'Key name, required if key_id is not provided.'
- example: alias
+ example: provident
nullable: false
public_key:
type: string
description: 'Public Key, required if key_id is not provided.'
- example: voluptate
+ example: incidunt
nullable: false
required:
- key_id
@@ -4859,7 +5126,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4887,7 +5154,7 @@ paths:
in: path
name: server_id
description: 'The ID of the server.'
- example: 8
+ example: 29
required: true
schema:
type: integer
@@ -4918,18 +5185,18 @@ paths:
id: 5
project_id: null
global: true
- name: dolorem
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: sit
+ provider: ftp
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 6
project_id: null
global: true
- name: itaque
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: repudiandae
+ provider: local
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
links:
first: '/?page=1'
last: '/?page=1'
@@ -4964,18 +5231,18 @@ paths:
id: 5
project_id: null
global: true
- name: dolorem
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: sit
+ provider: ftp
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
-
id: 6
project_id: null
global: true
- name: itaque
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: repudiandae
+ provider: local
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
items:
type: object
properties:
@@ -4990,16 +5257,16 @@ paths:
example: true
name:
type: string
- example: dolorem
+ example: sit
provider:
type: string
- example: s3
+ example: ftp
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
links:
type: object
properties:
@@ -5084,10 +5351,10 @@ paths:
id: 5
project_id: null
global: true
- name: quos
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: sequi
+ provider: dropbox
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -5100,16 +5367,16 @@ paths:
example: true
name:
type: string
- example: quos
+ example: sequi
provider:
type: string
- example: s3
+ example: dropbox
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- storage-providers
requestBody:
@@ -5122,27 +5389,27 @@ paths:
provider:
type: string
description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)'
- example: alias
+ example: est
nullable: false
name:
type: string
description: 'The name of the storage provider.'
- example: explicabo
+ example: id
nullable: false
token:
type: string
description: 'The token if provider requires api token'
- example: ut
+ example: repellendus
nullable: false
key:
type: string
description: 'The key if provider requires key'
- example: libero
+ example: ducimus
nullable: false
secret:
type: string
description: 'The secret if provider requires key'
- example: consequatur
+ example: possimus
nullable: false
required:
- provider
@@ -5176,10 +5443,10 @@ paths:
id: 5
project_id: null
global: true
- name: id
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: alias
+ provider: ftp
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -5192,16 +5459,16 @@ paths:
example: true
name:
type: string
- example: id
+ example: alias
provider:
type: string
- example: s3
+ example: ftp
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- storage-providers
put:
@@ -5220,10 +5487,10 @@ paths:
id: 5
project_id: null
global: true
- name: velit
- provider: s3
- created_at: '2025-01-30T22:42:49.000000Z'
- updated_at: '2025-01-30T22:42:49.000000Z'
+ name: at
+ provider: ftp
+ created_at: '2025-03-29T20:43:56.000000Z'
+ updated_at: '2025-03-29T20:43:56.000000Z'
properties:
id:
type: integer
@@ -5236,16 +5503,16 @@ paths:
example: true
name:
type: string
- example: velit
+ example: at
provider:
type: string
- example: s3
+ example: ftp
created_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
updated_at:
type: string
- example: '2025-01-30T22:42:49.000000Z'
+ example: '2025-03-29T20:43:56.000000Z'
tags:
- storage-providers
requestBody:
@@ -5258,12 +5525,12 @@ paths:
name:
type: string
description: 'The name of the storage provider.'
- example: sequi
+ example: ullam
nullable: false
global:
type: string
description: 'Accessible in all projects'
- example: false
+ example: true
nullable: false
enum:
- true
diff --git a/tests/Feature/API/SitesTest.php b/tests/Feature/API/SitesTest.php
index 978e773..9464140 100644
--- a/tests/Feature/API/SitesTest.php
+++ b/tests/Feature/API/SitesTest.php
@@ -190,6 +190,79 @@ public function test_update_load_balancer(): void
]);
}
+ public function test_update_deployment_script(): void
+ {
+ SSH::fake();
+
+ Sanctum::actingAs($this->user, ['read', 'write']);
+
+ /** @var Site $site */
+ $site = Site::factory()->create([
+ 'server_id' => $this->server->id,
+ ]);
+
+ $scriptContent = "git pull\ncomposer install\nphp artisan migrate";
+
+ $this->json('PUT', route('api.projects.servers.sites.deployment-script', [
+ 'project' => $this->server->project,
+ 'server' => $this->server,
+ 'site' => $site,
+ ]), [
+ 'script' => $scriptContent,
+ ])
+ ->assertSuccessful()
+ ->assertNoContent();
+
+ $this->assertDatabaseHas('deployment_scripts', [
+ 'site_id' => $site->id,
+ 'content' => $scriptContent,
+ ]);
+ }
+
+ public function test_update_deployment_script_without_content(): void
+ {
+ SSH::fake();
+
+ Sanctum::actingAs($this->user, ['read', 'write']);
+
+ /** @var Site $site */
+ $site = Site::factory()->create([
+ 'server_id' => $this->server->id,
+ ]);
+
+ $this->json('PUT', route('api.projects.servers.sites.deployment-script', [
+ 'project' => $this->server->project,
+ 'server' => $this->server,
+ 'site' => $site,
+ ]), [])
+ ->assertStatus(422)
+ ->assertJsonValidationErrors(['script']);
+ }
+
+ public function test_show_deployment_script(): void
+ {
+ Sanctum::actingAs($this->user, ['read']);
+
+ /** @var Site $site */
+ $site = Site::factory()->create([
+ 'server_id' => $this->server->id,
+ ]);
+
+ $scriptContent = "git pull\ncomposer install";
+
+ $site->deploymentScript->update([
+ 'content' => $scriptContent,
+ ]);
+
+ $this->json('GET', route('api.projects.servers.sites.deployment-script.show', [
+ 'project' => $this->server->project,
+ 'server' => $this->server,
+ 'site' => $site,
+ ]))
+ ->assertSuccessful()
+ ->assertJsonPath('script', $scriptContent);
+ }
+
public static function create_data(): array
{
return \Tests\Feature\SitesTest::create_data();