Add endpoint for reading and updating site .env file (#564)

* feat(api): Add endpoint for reading site .env file

- Add GET /api/projects/{project}/servers/{server}/sites/{site}/env endpoint
- Add feature tests with SSH mocking

* added updating env

* fix coding style

* generate docs

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
This commit is contained in:
Dimitar Yanakiev
2025-04-05 20:59:57 +03:00
committed by GitHub
parent 2a670146d8
commit e98e974e20
31 changed files with 2404 additions and 1395 deletions

View File

@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Pg1hVfEvc3e5kada68Z6b4D'
- 'Bearer eDa6Vdh1Z4vc35bP8E6gafk'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: command
description: ''
required: true
example: nisi
example: quia
type: string
enumValues: []
exampleWasSpecified: false
@ -123,7 +123,7 @@ endpoints:
name: user
description: ''
required: true
example: vito
example: root
type: string
enumValues:
- root
@ -142,8 +142,8 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
command: nisi
user: vito
command: quia
user: root
frequency: '* * * * *'
fileParameters: []
responses:
@ -157,7 +157,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5E3Vv4cah8D6bZa1kgPfe6d'
- 'Bearer 66EeZvdh3kVaDP8f4ga5c1b'
controller: null
method: null
route: null
@ -204,7 +204,7 @@ endpoints:
name: cronJob_id
description: 'The ID of the cronJob.'
required: true
example: 14
example: 6
type: integer
enumValues: []
exampleWasSpecified: false
@ -213,7 +213,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
cronJob_id: 14
cronJob_id: 6
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -230,7 +230,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer e68fh451vcb6Zd3DEVaaPgk'
- 'Bearer D4c3Z65ebv8E16fahaVgPdk'
controller: null
method: null
route: null
@ -277,7 +277,7 @@ endpoints:
name: cronJob_id
description: 'The ID of the cronJob.'
required: true
example: 9
example: 13
type: integer
enumValues: []
exampleWasSpecified: false
@ -286,7 +286,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
cronJob_id: 9
cronJob_id: 13
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -303,7 +303,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer hEkD1b3a845fVPZg6ecad6v'
- 'Bearer h3cP4aZa1v8feDdEg5b6k6V'
controller: null
method: null
route: null

View File

@ -52,7 +52,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"server_id":null,"name":"conn.bridget","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"aiden47","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"server_id":null,"name":"leffler.esther","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"rhoda.rutherford","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5vVfe3hcg1akP6Z8ba64dDE'
- 'Bearer E1VdfegZah4k86b53Dc6Pva'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: name
description: ''
required: true
example: vel
example: quisquam
type: string
enumValues: []
exampleWasSpecified: false
@ -123,7 +123,7 @@ endpoints:
name: charset
description: ''
required: true
example: qui
example: omnis
type: string
enumValues: []
exampleWasSpecified: false
@ -133,21 +133,21 @@ endpoints:
name: collation
description: ''
required: true
example: autem
example: at
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
name: vel
charset: qui
collation: autem
name: quisquam
charset: omnis
collation: at
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"server_id":null,"name":"rodolfo.bradtke","status":"ready","created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":null,"name":"csawayn","status":"ready","created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -155,7 +155,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 3gf6ahcav1kb546DZeE8PdV'
- 'Bearer PVgkZ35ca4afd1EbD8ehv66'
controller: null
method: null
route: null
@ -202,7 +202,7 @@ endpoints:
name: id
description: 'The ID of the database.'
required: true
example: 17
example: 8
type: integer
enumValues: []
exampleWasSpecified: false
@ -211,7 +211,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
id: 17
id: 8
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -220,7 +220,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"server_id":null,"name":"rhane","status":"ready","created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":null,"name":"sandrine43","status":"ready","created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -228,7 +228,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer VEvk3dP685Zahcf6a41bgDe'
- 'Bearer EP64D8g51adf6hbceavVZ3k'
controller: null
method: null
route: null
@ -275,7 +275,7 @@ endpoints:
name: database_id
description: 'The ID of the database.'
required: true
example: 5
example: 8
type: integer
enumValues: []
exampleWasSpecified: false
@ -284,7 +284,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
database_id: 5
database_id: 8
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -301,7 +301,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer dPZ8bga4DEh6V16ce35avfk'
- 'Bearer 8dgEk3Zv1eaVP66bDhf4ac5'
controller: null
method: null
route: null

View File

@ -52,7 +52,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"server_id":null,"username":"lavina.zemlak","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hill.cassidy","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"server_id":null,"username":"letha64","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"username":"hagenes.lurline","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer a51dvD3akbfE4cV8eP6Zh6g'
- 'Bearer d4g15bV3Pa6hDvck6eaEf8Z'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: username
description: ''
required: true
example: tempore
example: qui
type: string
enumValues: []
exampleWasSpecified: false
@ -123,7 +123,7 @@ endpoints:
name: password
description: ''
required: true
example: '!jUv.BBc]X'
example: 'xYv*3,#HQ=5<w!'
type: string
enumValues: []
exampleWasSpecified: false
@ -140,14 +140,14 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
username: tempore
password: '!jUv.BBc]X'
username: qui
password: 'xYv*3,#HQ=5<w!'
host: '%'
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"server_id":null,"username":"irwin45","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":null,"username":"marcelle95","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -155,7 +155,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer D5e4ZPadV83k6afbcgE6h1v'
- 'Bearer 3vZ6f6kagacDEhV1Pde5b84'
controller: null
method: null
route: null
@ -202,7 +202,7 @@ endpoints:
name: databaseUser_id
description: 'The ID of the databaseUser.'
required: true
example: 3
example: 1
type: integer
enumValues: []
exampleWasSpecified: false
@ -211,7 +211,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
databaseUser_id: 3
databaseUser_id: 1
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -220,7 +220,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"server_id":null,"username":"frederic.koss","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":null,"username":"brandi53","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -228,7 +228,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ah1f5d3kvcgaEZ6D4PV68eb'
- 'Bearer af3b5ac6dP8ZV4vE1hk6eDg'
controller: null
method: null
route: null
@ -275,7 +275,7 @@ endpoints:
name: databaseUser_id
description: 'The ID of the databaseUser.'
required: true
example: 12
example: 4
type: integer
enumValues: []
exampleWasSpecified: false
@ -284,7 +284,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
databaseUser_id: 12
databaseUser_id: 4
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -292,19 +292,19 @@ endpoints:
name: databases
description: 'Array of database names to link to the user.'
required: true
example: numquam
example: maiores
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
databases: numquam
databases: maiores
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"server_id":null,"username":"georgiana.hand","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":null,"username":"kschmidt","databases":[],"host":"%","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -312,7 +312,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ka6g1eVc4avZbPfd85D36hE'
- 'Bearer b6f3Ed641gaZDcVa5k8vePh'
controller: null
method: null
route: null
@ -359,7 +359,7 @@ endpoints:
name: databaseUser_id
description: 'The ID of the databaseUser.'
required: true
example: 6
example: 20
type: integer
enumValues: []
exampleWasSpecified: false
@ -368,7 +368,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
databaseUser_id: 6
databaseUser_id: 20
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -385,7 +385,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer cV4g6dfP3vke5b18ZDa6ahE'
- 'Bearer Zka6fh15g6eaV8vE34cDPdb'
controller: null
method: null
route: null

View File

@ -52,7 +52,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"name":"sit","server_id":null,"type":"allow","protocol":"tcp","port":59225,"source":"130.41.114.80","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"sequi","server_id":null,"type":"allow","protocol":"tcp","port":17864,"source":"170.103.31.60","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"name":"ut","server_id":null,"type":"allow","protocol":"tcp","port":35499,"source":"177.130.54.250","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null},{"id":null,"name":"totam","server_id":null,"type":"allow","protocol":"tcp","port":29448,"source":"181.194.26.13","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Vcdk1vfeah3Pba865D64gEZ'
- 'Bearer eD368kaZfVEab4v61ghdP5c'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: name
description: ''
required: true
example: eum
example: sapiente
type: string
enumValues: []
exampleWasSpecified: false
@ -123,7 +123,7 @@ endpoints:
name: type
description: ''
required: true
example: deny
example: allow
type: string
enumValues:
- allow
@ -135,7 +135,7 @@ endpoints:
name: protocol
description: ''
required: true
example: udp
example: tcp
type: string
enumValues:
- tcp
@ -147,7 +147,7 @@ endpoints:
name: port
description: ''
required: true
example: incidunt
example: et
type: string
enumValues: []
exampleWasSpecified: false
@ -157,7 +157,7 @@ endpoints:
name: source
description: ''
required: false
example: quisquam
example: doloribus
type: string
enumValues: []
exampleWasSpecified: false
@ -174,17 +174,17 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
name: eum
type: deny
protocol: udp
port: incidunt
source: quisquam
name: sapiente
type: allow
protocol: tcp
port: et
source: doloribus
mask: '0'
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"name":"consequuntur","server_id":null,"type":"allow","protocol":"tcp","port":50101,"source":"133.245.21.1","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"name":"omnis","server_id":null,"type":"allow","protocol":"tcp","port":54634,"source":"246.242.9.65","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -192,7 +192,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer k4gED56a1Vd8Zfc3Pvheb6a'
- 'Bearer 3184PbED6aacZveV6hf5dgk'
controller: null
method: null
route: null
@ -256,7 +256,7 @@ endpoints:
name: name
description: ''
required: true
example: dolor
example: et
type: string
enumValues: []
exampleWasSpecified: false
@ -266,7 +266,7 @@ endpoints:
name: type
description: ''
required: true
example: deny
example: allow
type: string
enumValues:
- allow
@ -290,7 +290,7 @@ endpoints:
name: port
description: ''
required: true
example: qui
example: aut
type: string
enumValues: []
exampleWasSpecified: false
@ -300,7 +300,7 @@ endpoints:
name: source
description: ''
required: false
example: porro
example: et
type: string
enumValues: []
exampleWasSpecified: false
@ -317,17 +317,17 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
name: dolor
type: deny
name: et
type: allow
protocol: tcp
port: qui
source: porro
port: aut
source: et
mask: '0'
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"name":"numquam","server_id":null,"type":"allow","protocol":"tcp","port":52010,"source":"159.227.119.185","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"name":"consequatur","server_id":null,"type":"allow","protocol":"tcp","port":879,"source":"206.106.27.116","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -335,7 +335,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ahV8vafbE5dDc4Zk1P36ge6'
- 'Bearer ad46E3egPDc51aV6hb8vkZf'
controller: null
method: null
route: null
@ -400,7 +400,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"name":"voluptatem","server_id":null,"type":"allow","protocol":"tcp","port":5812,"source":"122.105.250.56","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"name":"dolores","server_id":null,"type":"allow","protocol":"tcp","port":4691,"source":"147.108.28.144","mask":24,"note":"test","status":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -408,7 +408,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Vc4PfZ6k5hd618age3DEvab'
- 'Bearer 6gkvbDae15a6f43EVPdZh8c'
controller: null
method: null
route: null
@ -481,7 +481,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Ze61D4Eb5f8vkg6PdhaaV3c'
- 'Bearer ZVd1fk5E3e48hDvaa6g6cPb'
controller: null
method: null
route: null

View File

@ -30,7 +30,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":3,"name":"Selina Wintheiser DDS","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"name":"Shanna Deckow","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":3,"name":"Mr. Drake Nader","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"},{"id":4,"name":"Wilhelmine Jacobson","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -38,7 +38,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 1D5bhvV64c38gPfad6EkZea'
- 'Bearer fbPE6haeDZ8v1gV5ak463dc'
controller: null
method: null
route: null
@ -69,19 +69,19 @@ endpoints:
name: name
description: 'The name of the project.'
required: true
example: quibusdam
example: dignissimos
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
name: quibusdam
name: dignissimos
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"name":"Mr. Johathan Koch","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}'
content: '{"id":3,"name":"Pattie Cole","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -89,7 +89,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer hVDkvZ3d84aE6cf1ebgaP65'
- 'Bearer 6ZkedcEfa5V6Dv4ab8P3g1h'
controller: null
method: null
route: null
@ -132,7 +132,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":3,"name":"Jorge Schulist V","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}'
content: '{"id":3,"name":"Mr. Elias Bauch","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -140,7 +140,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer h4c16VZ8D5vkged63aaEbfP'
- 'Bearer P6ka4Zaefgh8Ec3dV15v6bD'
controller: null
method: null
route: null
@ -182,19 +182,19 @@ endpoints:
name: name
description: 'The name of the project.'
required: true
example: enim
example: sunt
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
name: enim
name: sunt
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"name":"Annie Windler","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}'
content: '{"id":3,"name":"Elfrieda Jakubowski","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -202,7 +202,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer b8c4k3aPdhZev6a1Df6EVg5'
- 'Bearer ecaDZkf5E4vgP1V86d6hb3a'
controller: null
method: null
route: null
@ -253,7 +253,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer bd6cva815EZek3hPfD4aV6g'
- 'Bearer h5gZ63DPVbcevE4faka86d1'
controller: null
method: null
route: null

View File

@ -63,7 +63,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"site_id":null,"mode":301,"from":"eaque","to":"http:\/\/www.windler.info\/delectus-facilis-assumenda-consequatur-impedit-hic-dolorem-non-dolore.html","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":308,"from":"neque","to":"http:\/\/raynor.biz\/velit-a-tempore-quas-explicabo-doloremque","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"site_id":null,"mode":307,"from":"ipsum","to":"http:\/\/fritsch.biz\/","status":"ready","created_at":null,"updated_at":null},{"id":null,"site_id":null,"mode":302,"from":"culpa","to":"http:\/\/www.huels.net\/aut-ut-ut-porro-non-rerum-voluptatum.html","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -71,7 +71,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 4fD5a38caEk1vZPdbVh66ge'
- 'Bearer cV16fevgEZhPadD43685akb'
controller: null
method: null
route: null
@ -135,7 +135,7 @@ endpoints:
name: from
description: ''
required: true
example: qui
example: odit
type: string
enumValues: []
exampleWasSpecified: false
@ -145,7 +145,7 @@ endpoints:
name: to
description: ''
required: true
example: voluptatum
example: incidunt
type: string
enumValues: []
exampleWasSpecified: false
@ -155,7 +155,7 @@ endpoints:
name: mode
description: ''
required: true
example: 302
example: 301
type: string
enumValues:
- 301
@ -166,9 +166,9 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
from: qui
to: voluptatum
mode: 302
from: odit
to: incidunt
mode: 301
fileParameters: []
responses:
-
@ -181,7 +181,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer haPda6v1be64V8gcf3Dk5EZ'
- 'Bearer ZD45hPk638abev61EVcagdf'
controller: null
method: null
route: null
@ -265,7 +265,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer DVP8ve46k3dfhga5Z61bcEa'
- 'Bearer Ec3fDgdbae615aPh8k6vV4Z'
controller: null
method: null
route: null

View File

@ -41,7 +41,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Marcelino Rodriguez","ssh_user":"vito","ip":"128.182.22.13","local_ip":"19.119.134.124","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Everardo Conn","ssh_user":"vito","ip":"62.215.59.124","local_ip":"32.153.141.12","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Miss Bonita Vandervort IV","ssh_user":"vito","ip":"120.222.195.212","local_ip":"138.119.37.248","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null},{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Dr. Shanie Batz IV","ssh_user":"vito","ip":"241.88.138.163","local_ip":"138.226.232.93","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -49,7 +49,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 8V6gP6cZk143he5EadfbDva'
- 'Bearer Pg1Vk6cvadD8eb3ZhaEf564'
controller: null
method: null
route: null
@ -91,7 +91,7 @@ endpoints:
name: provider
description: 'The server provider type'
required: true
example: ut
example: fugiat
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: hetzner
example: digitalocean
type: string
enumValues:
- custom
@ -116,7 +116,7 @@ endpoints:
name: region
description: 'Provider region if the provider is not custom'
required: true
example: consectetur
example: itaque
type: string
enumValues: []
exampleWasSpecified: false
@ -136,7 +136,7 @@ endpoints:
name: ip
description: 'SSH IP address if the provider is custom'
required: true
example: quisquam
example: ut
type: string
enumValues: []
exampleWasSpecified: false
@ -146,7 +146,7 @@ endpoints:
name: port
description: 'SSH Port if the provider is custom'
required: true
example: sapiente
example: reiciendis
type: string
enumValues: []
exampleWasSpecified: false
@ -156,7 +156,7 @@ endpoints:
name: name
description: 'The name of the server.'
required: true
example: itaque
example: et
type: string
enumValues: []
exampleWasSpecified: false
@ -166,7 +166,7 @@ endpoints:
name: os
description: 'The os of the server'
required: true
example: aut
example: vel
type: string
enumValues: []
exampleWasSpecified: false
@ -188,7 +188,7 @@ endpoints:
name: database
description: Database
required: true
example: postgresql13
example: mysql80
type: string
enumValues:
- none
@ -209,7 +209,7 @@ endpoints:
name: php
description: 'PHP version'
required: true
example: '7.4'
example: '7.2'
type: string
enumValues:
- '7.0'
@ -225,22 +225,22 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
provider: ut
server_provider: hetzner
region: consectetur
provider: fugiat
server_provider: digitalocean
region: itaque
plan: voluptatum
ip: quisquam
port: sapiente
name: itaque
os: aut
ip: ut
port: reiciendis
name: et
os: vel
webserver: nginx
database: postgresql13
php: '7.4'
database: mysql80
php: '7.2'
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Sidney Grant","ssh_user":"vito","ip":"22.232.10.97","local_ip":"107.107.187.150","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Jeromy Mann","ssh_user":"vito","ip":"128.70.209.89","local_ip":"150.217.250.187","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -248,7 +248,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Pg86vcedaD3V5EbZh4a61fk'
- 'Bearer 5E61e4vfcgDbVkZd68aah3P'
controller: null
method: null
route: null
@ -302,7 +302,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Maria Zemlak","ssh_user":"vito","ip":"4.166.233.247","local_ip":"92.197.44.184","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"project_id":null,"user_id":null,"provider_id":null,"name":"Miss Maya Schaden I","ssh_user":"vito","ip":"44.57.83.39","local_ip":"46.22.92.58","port":22,"os":"ubuntu_22","type":"regular","type_data":null,"provider":"custom","provider_data":null,"public_key":"test","status":"ready","auto_update":null,"available_updates":0,"security_updates":null,"progress":100,"progress_step":null,"updates":null,"last_update_check":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -310,7 +310,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ka4ebad163EchfgV6v8ZP5D'
- 'Bearer hV3debf65aPD4E1ckag8Z6v'
controller: null
method: null
route: null
@ -372,7 +372,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer VP68EZbe351gf64avDdhkac'
- 'Bearer b61aD6538PacZEkeghfvV4d'
controller: null
method: null
route: null
@ -434,7 +434,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 64dDea1v3g6aVZc5b8fEkPh'
- 'Bearer dEZaa6cePVf3k86g45vbD1h'
controller: null
method: null
route: null
@ -496,7 +496,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5Pg3vec6Zbh1f8VD6Ea4dak'
- 'Bearer 6aDkZEfdP16V58gb43avhec'
controller: null
method: null
route: null

View File

@ -41,7 +41,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"ducimus","provider":"digitalocean","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"},{"id":4,"project_id":null,"global":true,"name":"nesciunt","provider":"hetzner","created_at":"2025-04-05T17:35:55.000000Z","updated_at":"2025-04-05T17:35:55.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":3,"project_id":null,"global":true,"name":"aut","provider":"hetzner","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"},{"id":4,"project_id":null,"global":true,"name":"qui","provider":"aws","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -49,7 +49,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 6vkc3Ed6ebga48aPVfZ5D1h'
- 'Bearer 3evaP8h6VEZkbfgaD6d1c45'
controller: null
method: null
route: null
@ -91,7 +91,7 @@ endpoints:
name: provider
description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)'
required: true
example: sunt
example: corrupti
type: string
enumValues: []
exampleWasSpecified: false
@ -101,7 +101,7 @@ endpoints:
name: name
description: 'The name of the server provider.'
required: true
example: aut
example: est
type: string
enumValues: []
exampleWasSpecified: false
@ -111,7 +111,7 @@ endpoints:
name: token
description: 'The token if provider requires api token'
required: true
example: id
example: rerum
type: string
enumValues: []
exampleWasSpecified: false
@ -121,7 +121,7 @@ endpoints:
name: key
description: 'The key if provider requires key'
required: true
example: porro
example: ut
type: string
enumValues: []
exampleWasSpecified: false
@ -131,23 +131,23 @@ endpoints:
name: secret
description: 'The secret if provider requires key'
required: true
example: voluptas
example: sed
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
provider: sunt
name: aut
token: id
key: porro
secret: voluptas
provider: corrupti
name: est
token: rerum
key: ut
secret: sed
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"project_id":null,"global":true,"name":"nemo","provider":"linode","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":3,"project_id":null,"global":true,"name":"voluptas","provider":"vultr","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -155,7 +155,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer v634eED6kgab1c5PaVdhZf8'
- 'Bearer 6g6vfEck83VaPhd5Zabe1D4'
controller: null
method: null
route: null
@ -209,7 +209,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":3,"project_id":null,"global":true,"name":"ut","provider":"aws","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"digitalocean","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -217,7 +217,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ckv4P5E8g663abheVfaZdD1'
- 'Bearer va63cDe8dPf5Z4Vahb1E6kg'
controller: null
method: null
route: null
@ -270,7 +270,7 @@ endpoints:
name: name
description: 'The name of the server provider.'
required: true
example: aliquam
example: earum
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: aliquam
global: true
name: earum
global: false
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"project_id":null,"global":true,"name":"et","provider":"digitalocean","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":3,"project_id":null,"global":true,"name":"architecto","provider":"digitalocean","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -303,7 +303,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer kD53eZ6h8PEvbd1gfcaaV64'
- 'Bearer 4e1dghaV6D856P3ZbfkcEva'
controller: null
method: null
route: null
@ -365,7 +365,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ebcf146dDhP3Z5a6vg8kVEa'
- 'Bearer fcVa8ev63gP5DaZbkdhE461'
controller: null
method: null
route: null

View File

@ -52,7 +52,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"user":null,"name":"Moriah Kemmer","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Delilah Gaylord","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"user":null,"name":"Santa Goyette","created_at":null,"updated_at":null},{"id":null,"user":null,"name":"Cecil Cummings","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer k6fva48dh5VgP3a61EbceZD'
- 'Bearer 165aZvb46PhacEfke83dVgD'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: key_id
description: 'The ID of the key.'
required: true
example: id
example: explicabo
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: qui
example: deleniti
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: vitae
example: sapiente
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
key_id: id
name: qui
public_key: vitae
key_id: explicabo
name: deleniti
public_key: sapiente
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"user":null,"name":"Jesse Gleason","created_at":null,"updated_at":null}'
content: '{"id":null,"user":null,"name":"Mr. Reagan Jacobson V","created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
@ -155,7 +155,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5D4PZfcbeVkaE61d8h36gav'
- 'Bearer deDkf4E13PZb6cgaV58ha6v'
controller: null
method: null
route: null
@ -228,7 +228,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5D1e8gZPbVf63kvhaac46dE'
- 'Bearer ec48fgVdZ6ah3kvPD16E5ab'
controller: null
method: null
route: null

View File

@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 6ab5Ea4gV6d8DPcfvkhZe13'
- 'Bearer gVEce46k8aZfaP3d15vbhD6'
controller: null
method: null
route: null
@ -133,7 +133,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer cg6Zf84vaDahkE13ePdbV65'
- 'Bearer Ef8D5gbV6cadk3Zh1vP46ea'
controller: null
method: null
route: null
@ -206,7 +206,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer EZbkV6ev83fhPga5164aDdc'
- 'Bearer b3DckZ8g6ha6aPe4f5V1vdE'
controller: null
method: null
route: null
@ -279,7 +279,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer e6da1Ek63v84hDbVPgaZcf5'
- 'Bearer 1e8aZbfvE5643DacgkPhdV6'
controller: null
method: null
route: null
@ -352,7 +352,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer efPg36badVZh8451aEvkc6D'
- 'Bearer c46baVZEg5dv1Pfe8Dha6k3'
controller: null
method: null
route: null
@ -425,7 +425,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer kaeaZ6Vh56cgbP38f1dDv4E'
- 'Bearer EvcehkDbdV43f61P86Za5ga'
controller: null
method: null
route: null
@ -498,7 +498,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer cDagaEVZ3d4e616kP8fhv5b'
- 'Bearer k8E5gf6d4h31bevaa6cVPZD'
controller: null
method: null
route: null
@ -571,7 +571,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer dPk3D4VaZhv8Eabef5166gc'
- 'Bearer Pekav16cd5ag486ZfD3EVbh'
controller: null
method: null
route: null

View File

@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer veV66fcbdaaEhZg3k5P148D'
- 'Bearer aD138EgdPf4Vhav5c6bke6Z'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: type
description: ''
required: true
example: wordpress
example: php-blank
type: string
enumValues:
- php
@ -129,7 +129,7 @@ endpoints:
name: domain
description: ''
required: true
example: ut
example: impedit
type: string
enumValues: []
exampleWasSpecified: false
@ -140,7 +140,7 @@ endpoints:
description: ''
required: true
example:
- vitae
- cum
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: animi
example: non
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: est
example: voluptate
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: least-connections
example: ip-hash
type: string
enumValues:
- round-robin
@ -240,19 +240,19 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
type: wordpress
domain: ut
type: php-blank
domain: impedit
aliases:
- vitae
- cum
php_version: '7.4'
web_directory: public
source_control: animi
source_control: non
repository: organization/repository
branch: main
composer: true
version: 5.2.1
user: est
method: least-connections
user: voluptate
method: ip-hash
fileParameters: []
responses:
-
@ -265,7 +265,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer b1a8cEahVek364vPfD6gdZ5'
- 'Bearer 6V3D5c4g6hZaEfb81evPadk'
controller: null
method: null
route: null
@ -338,7 +338,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer dvh6k4EaV16a3Zefb5c8DPg'
- 'Bearer gE86bZ6vfcd3hVP15ka4Dea'
controller: null
method: null
route: null
@ -411,7 +411,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ZVP56aavDg3f8ek1c4E6hdb'
- 'Bearer 8kEb6Dd613a5afZhcg4VvPe'
controller: null
method: null
route: null
@ -489,7 +489,7 @@ endpoints:
description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)'
required: true
example:
- eaque
- omnis
type: 'string[]'
enumValues: []
exampleWasSpecified: false
@ -498,7 +498,7 @@ endpoints:
cleanBodyParameters:
method: round-robin
servers:
- eaque
- omnis
fileParameters: []
responses:
-
@ -511,7 +511,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ekaVDdgZh1ca58vE34b6P6f'
- 'Bearer 8Da4P1c6d6gfbhZvaE3k5Ve'
controller: null
method: null
route: null
@ -576,7 +576,7 @@ endpoints:
description: 'Array of aliases'
required: true
example:
- pariatur
- doloremque
type: 'string[]'
enumValues: []
exampleWasSpecified: false
@ -584,7 +584,7 @@ endpoints:
custom: []
cleanBodyParameters:
aliases:
- pariatur
- doloremque
fileParameters: []
responses:
-
@ -597,7 +597,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 8gaaebDd641ck6V5vP3fZhE'
- 'Bearer d4EVa8Zkfvg1Dcbe53P6a6h'
controller: null
method: null
route: null
@ -670,7 +670,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer ka634ZEfbgdevD56c1aVP8h'
- 'Bearer dkcV5EZa8fD6vgaP1b36e4h'
controller: null
method: null
route: null
@ -734,14 +734,14 @@ endpoints:
name: script
description: 'Content of the deployment script'
required: true
example: culpa
example: voluptatem
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
script: culpa
script: voluptatem
fileParameters: []
responses:
-
@ -754,7 +754,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 68a6cfD4e1g3dvPVkbEaZh5'
- 'Bearer hevV81bfZE6cdkaa453gDP6'
controller: null
method: null
route: null
@ -827,7 +827,164 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 568gb3fdca1PDek4vZEVa6h'
- 'Bearer a1EbvhePag4f5dk6ZV368Dc'
controller: null
method: null
route: null
custom: []
-
httpMethods:
- GET
uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/env'
metadata:
groupName: sites
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: env
description: 'Get site .env file 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: 44
type: integer
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: '{"data":{"env":"APP_NAME=Laravel\\nAPP_ENV=production"}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer P8Zvch3DgV654abeaE6f1kd'
controller: null
method: null
route: null
custom: []
-
httpMethods:
- PUT
uri: 'api/projects/{project_id}/servers/{server_id}/sites/{site_id}/env'
metadata:
groupName: sites
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: env
description: 'Update site .env file'
authenticated: true
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
project_id:
name: project_id
description: 'The ID of the project.'
required: true
example: 1
type: integer
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
server_id:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
type: integer
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
site_id:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
type: integer
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
queryParameters: []
cleanQueryParameters: []
bodyParameters:
env:
name: env
description: 'Content of the .env file'
required: true
example: quam
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
env: quam
fileParameters: []
responses:
-
status: 200
content: null
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 45acbP1h6eg6kDVdZf8E3av'
controller: null
method: null
route: null

View File

@ -41,7 +41,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Dawson Ratke IV","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Miss Caterina Mann DVM","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"Zella Robel","provider":"github","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"},{"id":6,"project_id":null,"global":true,"name":"Jairo Williamson","provider":"github","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -49,7 +49,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer vVc6ebd865ZkEgf431haDaP'
- 'Bearer e3f4ag8hkb5vZcDadPEV661'
controller: null
method: null
route: null
@ -91,7 +91,7 @@ endpoints:
name: provider
description: 'The provider'
required: true
example: github
example: gitlab
type: string
enumValues:
- gitlab
@ -104,7 +104,7 @@ endpoints:
name: name
description: 'The name of the storage provider.'
required: true
example: est
example: molestias
type: string
enumValues: []
exampleWasSpecified: false
@ -114,7 +114,7 @@ endpoints:
name: token
description: 'The token if provider requires api token'
required: true
example: ea
example: in
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: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam'
example: 'https://www.white.com/aperiam-dolor-nemo-qui-rerum-quod-quas'
type: string
enumValues: []
exampleWasSpecified: false
@ -134,7 +134,7 @@ endpoints:
name: username
description: 'The username if the provider is Bitbucket'
required: true
example: ducimus
example: consectetur
type: string
enumValues: []
exampleWasSpecified: false
@ -144,24 +144,24 @@ endpoints:
name: password
description: 'The password if the provider is Bitbucket'
required: true
example: 'S#AHlt"?l6SDU^b?T6'
example: 'y*P4_]ZdjE_:'
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
provider: github
name: est
token: ea
url: 'http://koepp.info/maiores-nostrum-consequuntur-dicta-iure-ullam'
username: ducimus
password: 'S#AHlt"?l6SDU^b?T6'
provider: gitlab
name: molestias
token: in
url: 'https://www.white.com/aperiam-dolor-nemo-qui-rerum-quod-quas'
username: consectetur
password: 'y*P4_]ZdjE_:'
fileParameters: []
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"Dr. Adella Greenholt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"Miss Claudine Goyette","provider":"github","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -169,7 +169,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer geVfZhE85aa4c16Pbk63Dvd'
- 'Bearer DfegP56vkEa364Zbhda8V1c'
controller: null
method: null
route: null
@ -223,7 +223,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"Hettie Farrell","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"Mona Stark","provider":"github","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -231,7 +231,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer P1kgc5vVaD4ZhE8aed6b36f'
- 'Bearer ePc6fb65vh1Z4aakE3Dgd8V'
controller: null
method: null
route: null
@ -284,7 +284,7 @@ endpoints:
name: name
description: 'The name of the storage provider.'
required: true
example: sunt
example: non
type: string
enumValues: []
exampleWasSpecified: false
@ -294,7 +294,7 @@ endpoints:
name: token
description: 'The token if provider requires api token'
required: true
example: est
example: sunt
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://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit'
example: 'https://www.frami.org/ex-at-minus-rerum-quo-minus-ea'
type: string
enumValues: []
exampleWasSpecified: false
@ -314,7 +314,7 @@ endpoints:
name: username
description: 'The username if the provider is Bitbucket'
required: true
example: ab
example: natus
type: string
enumValues: []
exampleWasSpecified: false
@ -324,7 +324,7 @@ endpoints:
name: password
description: 'The password if the provider is Bitbucket'
required: true
example: 'M@-*%?(B(UNE~Ibc#'
example: 'A^">*m{p]DI'
type: string
enumValues: []
exampleWasSpecified: false
@ -334,7 +334,7 @@ endpoints:
name: global
description: 'Accessible in all projects'
required: true
example: false
example: true
type: string
enumValues:
- true
@ -343,17 +343,17 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
name: sunt
token: est
url: 'http://www.fay.com/quisquam-autem-illum-omnis-quo-enim-eligendi-velit'
username: ab
password: 'M@-*%?(B(UNE~Ibc#'
global: false
name: non
token: sunt
url: 'https://www.frami.org/ex-at-minus-rerum-quo-minus-ea'
username: natus
password: 'A^">*m{p]DI'
global: true
fileParameters: []
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"Jadyn Hyatt","provider":"github","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"Neha Little","provider":"github","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -361,7 +361,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 63kaaDdg5fvVPeEh18b4c6Z'
- 'Bearer v3f6aaPk61Ze8hVdDbE5g4c'
controller: null
method: null
route: null
@ -423,7 +423,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer vb6ZE63ea8Da5fPhdkcVg14'
- 'Bearer fgk61vD68E4cZhP3bV5adea'
controller: null
method: null
route: null

View File

@ -41,7 +41,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"et","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"},{"id":6,"project_id":null,"global":true,"name":"sed","provider":"dropbox","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":5,"project_id":null,"global":true,"name":"veritatis","provider":"ftp","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"},{"id":6,"project_id":null,"global":true,"name":"voluptas","provider":"dropbox","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -49,7 +49,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer vk63dEVe6PD5af4gZcbh1a8'
- 'Bearer fgh4eV31dP58kvaDEaZbc66'
controller: null
method: null
route: null
@ -91,7 +91,7 @@ endpoints:
name: provider
description: 'The provider (aws, linode, hetzner, digitalocean, vultr, ...)'
required: true
example: quia
example: ab
type: string
enumValues: []
exampleWasSpecified: false
@ -101,7 +101,7 @@ endpoints:
name: name
description: 'The name of the storage provider.'
required: true
example: rerum
example: quo
type: string
enumValues: []
exampleWasSpecified: false
@ -111,7 +111,7 @@ endpoints:
name: token
description: 'The token if provider requires api token'
required: true
example: hic
example: in
type: string
enumValues: []
exampleWasSpecified: false
@ -121,7 +121,7 @@ endpoints:
name: key
description: 'The key if provider requires key'
required: true
example: repellat
example: sunt
type: string
enumValues: []
exampleWasSpecified: false
@ -131,23 +131,23 @@ endpoints:
name: secret
description: 'The secret if provider requires key'
required: true
example: maiores
example: molestias
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
provider: quia
name: rerum
token: hic
key: repellat
secret: maiores
provider: ab
name: quo
token: in
key: sunt
secret: molestias
fileParameters: []
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"veritatis","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"asperiores","provider":"dropbox","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -155,7 +155,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5ekD6EPbhdvVa84f31aZcg6'
- 'Bearer e584613dkZaPDEVvgcahbf6'
controller: null
method: null
route: null
@ -209,7 +209,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"fuga","provider":"local","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"ipsum","provider":"local","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -217,7 +217,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 3fb86PcgDZadkhV1aEv4e56'
- 'Bearer h6Zk6834dDce5fbPa1VvagE'
controller: null
method: null
route: null
@ -270,7 +270,7 @@ endpoints:
name: name
description: 'The name of the storage provider.'
required: true
example: est
example: voluptas
type: string
enumValues: []
exampleWasSpecified: false
@ -289,13 +289,13 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
name: est
name: voluptas
global: true
fileParameters: []
responses:
-
status: 200
content: '{"id":5,"project_id":null,"global":true,"name":"ut","provider":"ftp","created_at":"2025-04-05T17:35:56.000000Z","updated_at":"2025-04-05T17:35:56.000000Z"}'
content: '{"id":5,"project_id":null,"global":true,"name":"minima","provider":"ftp","created_at":"2025-04-05T17:48:03.000000Z","updated_at":"2025-04-05T17:48:03.000000Z"}'
headers: []
description: ''
custom: []
@ -303,7 +303,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 8E6g3aDZcafV465bdkPe1vh'
- 'Bearer ak6fgd1Eba48chvPV3e5Z6D'
controller: null
method: null
route: null
@ -365,7 +365,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer vf34Dch58Va6bZgk61PaeEd'
- 'Bearer PcaDbh6ZE4aV1e8fdv56k3g'
controller: null
method: null
route: null