laravel 12 upgrade (#586)

* laravel 12 upgrade

* upgrade scribe to v5

* fix lint
This commit is contained in:
Saeed Vaziry
2025-04-21 21:56:53 +02:00
committed by GitHub
parent 76059aff3c
commit 6eb88c7c6e
52 changed files with 19140 additions and 26710 deletions

View File

@ -12,10 +12,9 @@ endpoints:
subgroupDescription: ''
title: list
description: 'Get all sites.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -33,7 +32,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -41,7 +40,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -50,15 +49,12 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"server_id":null,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":50,"server_id":1,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":"2025-04-21T18:40:20.000000Z","updated_at":"2025-04-21T18:40:20.000000Z"},{"id":51,"server_id":1,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":"2025-04-21T18:40:20.000000Z","updated_at":"2025-04-21T18:40:20.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: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer aD138EgdPf4Vhav5c6bke6Z'
auth: []
controller: null
method: null
route: null
@ -74,10 +70,9 @@ endpoints:
subgroupDescription: ''
title: create
description: 'Create a new site.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -95,7 +90,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -103,7 +98,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -111,7 +106,7 @@ endpoints:
name: type
description: ''
required: true
example: php-blank
example: load-balancer
type: string
enumValues:
- php
@ -127,7 +122,7 @@ endpoints:
name: domain
description: ''
required: true
example: impedit
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -138,7 +133,7 @@ endpoints:
description: ''
required: true
example:
- cum
- consequatur
type: 'string[]'
enumValues: []
exampleWasSpecified: false
@ -168,7 +163,7 @@ endpoints:
name: source_control
description: 'Source control ID, Required for Sites which support source control'
required: true
example: non
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -218,7 +213,7 @@ endpoints:
name: user
description: 'user, to isolate the website under a new user'
required: true
example: voluptate
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -238,32 +233,29 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
type: php-blank
domain: impedit
type: load-balancer
domain: consequatur
aliases:
- cum
- consequatur
php_version: '7.4'
web_directory: public
source_control: non
source_control: consequatur
repository: organization/repository
branch: main
composer: true
version: 5.2.1
user: voluptate
user: consequatur
method: ip-hash
fileParameters: []
responses:
-
status: 200
content: '{"id":null,"server_id":null,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":null,"updated_at":null}'
content: '{"id":50,"server_id":1,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":"2025-04-21T18:40:20.000000Z","updated_at":"2025-04-21T18:40:20.000000Z"}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 6V3D5c4g6hZaEfb81evPadk'
auth: []
controller: null
method: null
route: null
@ -279,10 +271,9 @@ endpoints:
subgroupDescription: ''
title: show
description: 'Get a site by ID.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -300,7 +291,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -310,7 +301,7 @@ endpoints:
name: id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -318,8 +309,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
id: 44
server_id: 32
id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -328,15 +319,12 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"server_id":null,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":null,"updated_at":null}'
content: '{"id":50,"server_id":1,"source_control_id":null,"type":"laravel","type_data":null,"domain":"test.com","aliases":null,"web_directory":"\/","path":"\/home","php_version":"8.2","repository":null,"branch":"main","status":"ready","port":null,"user":"vito","progress":100,"created_at":"2025-04-21T18:40:20.000000Z","updated_at":"2025-04-21T18:40:20.000000Z"}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer gE86bZ6vfcd3hVP15ka4Dea'
auth: []
controller: null
method: null
route: null
@ -352,10 +340,9 @@ endpoints:
subgroupDescription: ''
title: delete
description: 'Delete site.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -373,7 +360,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -383,7 +370,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -391,8 +378,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -406,10 +393,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 8kEb6Dd613a5afZhcg4VvPe'
auth: []
controller: null
method: null
route: null
@ -425,10 +409,9 @@ endpoints:
subgroupDescription: ''
title: load-balancer
description: 'Update load balancer.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -446,7 +429,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -456,7 +439,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -464,8 +447,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -473,7 +456,7 @@ endpoints:
name: method
description: 'Load balancer method, Required if the site type is Load balancer'
required: true
example: round-robin
example: ip-hash
type: string
enumValues:
- round-robin
@ -487,16 +470,16 @@ endpoints:
description: 'Array of servers including server, port, weight, backup. (server is the local IP of the server)'
required: true
example:
- omnis
- consequatur
type: 'string[]'
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
method: round-robin
method: ip-hash
servers:
- omnis
- consequatur
fileParameters: []
responses:
-
@ -506,10 +489,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 8Da4P1c6d6gfbhZvaE3k5Ve'
auth: []
controller: null
method: null
route: null
@ -525,10 +505,9 @@ endpoints:
subgroupDescription: ''
title: aliases
description: 'Update aliases.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -546,7 +525,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -556,7 +535,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -564,8 +543,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -574,7 +553,7 @@ endpoints:
description: 'Array of aliases'
required: true
example:
- doloremque
- consequatur
type: 'string[]'
enumValues: []
exampleWasSpecified: false
@ -582,7 +561,7 @@ endpoints:
custom: []
cleanBodyParameters:
aliases:
- doloremque
- consequatur
fileParameters: []
responses:
-
@ -592,10 +571,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer d4EVa8Zkfvg1Dcbe53P6a6h'
auth: []
controller: null
method: null
route: null
@ -611,10 +587,9 @@ endpoints:
subgroupDescription: ''
title: deploy
description: 'Run site deployment script'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -632,7 +607,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -642,7 +617,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -650,8 +625,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -665,10 +640,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer dkcV5EZa8fD6vgaP1b36e4h'
auth: []
controller: null
method: null
route: null
@ -684,10 +656,9 @@ endpoints:
subgroupDescription: ''
title: deployment-script
description: 'Update site deployment script'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -705,7 +676,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -715,7 +686,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -723,8 +694,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -732,14 +703,14 @@ endpoints:
name: script
description: 'Content of the deployment script'
required: true
example: voluptatem
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
script: voluptatem
script: consequatur
fileParameters: []
responses:
-
@ -749,10 +720,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer hevV81bfZE6cdkaa453gDP6'
auth: []
controller: null
method: null
route: null
@ -768,10 +736,9 @@ endpoints:
subgroupDescription: ''
title: deployment-script
description: 'Get site deployment script content'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -789,7 +756,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -799,7 +766,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -807,8 +774,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -822,10 +789,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer a1EbvhePag4f5dk6ZV368Dc'
auth: []
controller: null
method: null
route: null
@ -841,10 +805,9 @@ endpoints:
subgroupDescription: ''
title: env
description: 'Get site .env file content'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -862,7 +825,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -872,7 +835,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -880,8 +843,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -895,10 +858,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer P8Zvch3DgV654abeaE6f1kd'
auth: []
controller: null
method: null
route: null
@ -914,10 +874,9 @@ endpoints:
subgroupDescription: ''
title: env
description: 'Update site .env file'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -935,7 +894,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -945,7 +904,7 @@ endpoints:
name: site_id
description: 'The ID of the site.'
required: true
example: 44
example: 17
type: integer
enumValues: []
exampleWasSpecified: false
@ -953,8 +912,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
site_id: 44
server_id: 32
site_id: 17
queryParameters: []
cleanQueryParameters: []
bodyParameters:
@ -962,14 +921,14 @@ endpoints:
name: env
description: 'Content of the .env file'
required: true
example: quam
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
env: quam
env: consequatur
fileParameters: []
responses:
-
@ -979,10 +938,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 45acbP1h6eg6kDVdZf8E3av'
auth: []
controller: null
method: null
route: null