List plans
GET
/plansThis endpoint returns all deployment plans you can use for new services.
Request
None
Request samples
Responses
List of all deployment plans.(200)
List of all deployment plans.
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
data
$ref(#/definitions/358587)[]
optional
#/definitions/358587
optional
links
objectÂ
optional
first
stringÂ
optional
last
stringÂ
optional
prev
string  | nullÂ
optional
next
string  | nullÂ
optional
meta
objectÂ
optional
current_page
integerÂ
optional
from
integerÂ
optional
last_page
integerÂ
optional
links
array [object {3}]Â
optional
path
stringÂ
optional
per_page
integerÂ
optional
to
integerÂ
optional
total
integerÂ
optional
ExampleExample 1
{
"data": [
{
"id": 116,
"type": "vds",
"name": "vds-8gb",
"vcpus": 2,
"memory": 8,
"disk": 50,
"bandwidth": 10,
"available": false,
"price": 90
},
{
"id": 117,
"type": "vds",
"name": "vds-8gb-s",
"vcpus": 2,
"memory": 8,
"disk": 100,
"bandwidth": 10,
"available": false,
"price": 120
},
{
"id": 118,
"type": "vds",
"name": "vds-16gb",
"vcpus": 4,
"memory": 16,
"disk": 100,
"bandwidth": 20,
"available": false,
"price": 180
}
],
"links": {
"first": "https://api.vpsbg.eu/v1/plans?page=1",
"last": "https://api.vpsbg.eu/v1/plans?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "https://api.vpsbg.eu/v1/plans?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"path": "https://api.vpsbg.eu/v1/plans",
"per_page": 50,
"to": 27,
"total": 27
}
}
Last modified: 3 months ago