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

@ -14,10 +14,9 @@ endpoints:
subgroupDescription: ''
title: list
description: 'Get all servers in a project.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -41,15 +40,12 @@ endpoints:
responses:
-
status: 200
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":"« 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":33,"project_id":1,"user_id":1,"provider_id":null,"name":"Maiya Connelly","ssh_user":"vito","ip":"7.83.102.177","local_ip":"130.245.181.91","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":0,"last_update_check":null,"created_at":"2025-04-21T18:40:19.000000Z","updated_at":"2025-04-21T18:40:19.000000Z"},{"id":34,"project_id":1,"user_id":1,"provider_id":null,"name":"Dr. Kyler Runolfsdottir DVM","ssh_user":"vito","ip":"106.112.51.73","local_ip":"248.246.77.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":0,"last_update_check":null,"created_at":"2025-04-21T18:40:19.000000Z","updated_at":"2025-04-21T18:40:19.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 Pg1Vk6cvadD8eb3ZhaEf564'
auth: []
controller: null
method: null
route: null
@ -65,10 +61,9 @@ endpoints:
subgroupDescription: ''
title: create
description: 'Create a new server.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -91,7 +86,7 @@ endpoints:
name: provider
description: 'The server provider type'
required: true
example: fugiat
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -101,7 +96,7 @@ endpoints:
name: server_provider
description: 'If the provider is not custom, the ID of the server provider profile'
required: true
example: digitalocean
example: hetzner
type: string
enumValues:
- custom
@ -116,7 +111,7 @@ endpoints:
name: region
description: 'Provider region if the provider is not custom'
required: true
example: itaque
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -126,7 +121,7 @@ endpoints:
name: plan
description: 'Provider plan if the provider is not custom'
required: true
example: voluptatum
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -136,7 +131,7 @@ endpoints:
name: ip
description: 'SSH IP address if the provider is custom'
required: true
example: ut
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -146,7 +141,7 @@ endpoints:
name: port
description: 'SSH Port if the provider is custom'
required: true
example: reiciendis
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -156,7 +151,7 @@ endpoints:
name: name
description: 'The name of the server.'
required: true
example: et
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -166,7 +161,7 @@ endpoints:
name: os
description: 'The os of the server'
required: true
example: vel
example: consequatur
type: string
enumValues: []
exampleWasSpecified: false
@ -176,7 +171,7 @@ endpoints:
name: webserver
description: 'Web server'
required: true
example: nginx
example: none
type: string
enumValues:
- none
@ -188,7 +183,7 @@ endpoints:
name: database
description: Database
required: true
example: mysql80
example: mariadb104
type: string
enumValues:
- none
@ -209,7 +204,7 @@ endpoints:
name: php
description: 'PHP version'
required: true
example: '7.2'
example: '8.0'
type: string
enumValues:
- '7.0'
@ -225,30 +220,27 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
provider: fugiat
server_provider: digitalocean
region: itaque
plan: voluptatum
ip: ut
port: reiciendis
name: et
os: vel
webserver: nginx
database: mysql80
php: '7.2'
provider: consequatur
server_provider: hetzner
region: consequatur
plan: consequatur
ip: consequatur
port: consequatur
name: consequatur
os: consequatur
webserver: none
database: mariadb104
php: '8.0'
fileParameters: []
responses:
-
status: 200
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}'
content: '{"id":33,"project_id":1,"user_id":1,"provider_id":null,"name":"Dr. Cornelius Luettgen V","ssh_user":"vito","ip":"226.187.235.251","local_ip":"18.62.212.253","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":0,"last_update_check":null,"created_at":"2025-04-21T18:40:19.000000Z","updated_at":"2025-04-21T18:40:19.000000Z"}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 5E61e4vfcgDbVkZd68aah3P'
auth: []
controller: null
method: null
route: null
@ -264,10 +256,9 @@ endpoints:
subgroupDescription: ''
title: show
description: 'Get a server by ID.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -285,7 +276,7 @@ endpoints:
name: id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -293,7 +284,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
id: 29
id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -302,15 +293,12 @@ endpoints:
responses:
-
status: 200
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}'
content: '{"id":33,"project_id":1,"user_id":1,"provider_id":null,"name":"Brandy Reichel","ssh_user":"vito","ip":"26.180.121.142","local_ip":"122.175.6.215","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":0,"last_update_check":null,"created_at":"2025-04-21T18:40:19.000000Z","updated_at":"2025-04-21T18:40:19.000000Z"}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer hV3debf65aPD4E1ckag8Z6v'
auth: []
controller: null
method: null
route: null
@ -326,10 +314,9 @@ endpoints:
subgroupDescription: ''
title: reboot
description: 'Reboot a server.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -347,7 +334,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -355,7 +342,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -369,10 +356,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer b61aD6538PacZEkeghfvV4d'
auth: []
controller: null
method: null
route: null
@ -388,10 +372,9 @@ endpoints:
subgroupDescription: ''
title: upgrade
description: 'Upgrade server.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -409,7 +392,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -417,7 +400,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -431,10 +414,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer dEZaa6cePVf3k86g45vbD1h'
auth: []
controller: null
method: null
route: null
@ -450,10 +430,9 @@ endpoints:
subgroupDescription: ''
title: delete
description: 'Delete server.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -471,7 +450,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -479,7 +458,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -493,10 +472,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 6aDkZEfdP16V58gb43avhec'
auth: []
controller: null
method: null
route: null