curl --request GET \
--url https://vpn.bserv.dev/api/v1/package/lists \
--header 'token: <api-key>'
{
"success": true,
"packages": [
{
"id": 1,
"group_id": 1185,
"name": "Test",
"description": "",
"tax": 0,
"prorate": 0,
"trial": 0,
"theme": 0,
"type": 0,
"api_type": "sandbox",
"url": "https://vpn.bserv.dev/order/1185/1",
"integration": "",
"featured": 0,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null,
"domainIntegration": false,
"cycle": [
{
"id": 1,
"package_id": 1,
"price": 15,
"fee": 0,
"cycle": 1,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null
}
],
"options": [],
"files": [],
"images": []
}
]
}
OK
The response is of type object
.
curl --request GET \
--url https://vpn.bserv.dev/api/v1/package/lists \
--header 'token: <api-key>'
{
"success": true,
"packages": [
{
"id": 1,
"group_id": 1185,
"name": "Test",
"description": "",
"tax": 0,
"prorate": 0,
"trial": 0,
"theme": 0,
"type": 0,
"api_type": "sandbox",
"url": "https://vpn.bserv.dev/order/1185/1",
"integration": "",
"featured": 0,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null,
"domainIntegration": false,
"cycle": [
{
"id": 1,
"package_id": 1,
"price": 15,
"fee": 0,
"cycle": 1,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null
}
],
"options": [],
"files": [],
"images": []
}
]
}
curl --request GET \
--url https://vpn.bserv.dev/api/v1/package/lists \
--header 'token: <api-key>'
{
"success": true,
"packages": [
{
"id": 1,
"group_id": 1185,
"name": "Test",
"description": "",
"tax": 0,
"prorate": 0,
"trial": 0,
"theme": 0,
"type": 0,
"api_type": "sandbox",
"url": "https://vpn.bserv.dev/order/1185/1",
"integration": "",
"featured": 0,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null,
"domainIntegration": false,
"cycle": [
{
"id": 1,
"package_id": 1,
"price": 15,
"fee": 0,
"cycle": 1,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null
}
],
"options": [],
"files": [],
"images": []
}
]
}
OK
The response is of type object
.
curl --request GET \
--url https://vpn.bserv.dev/api/v1/package/lists \
--header 'token: <api-key>'
{
"success": true,
"packages": [
{
"id": 1,
"group_id": 1185,
"name": "Test",
"description": "",
"tax": 0,
"prorate": 0,
"trial": 0,
"theme": 0,
"type": 0,
"api_type": "sandbox",
"url": "https://vpn.bserv.dev/order/1185/1",
"integration": "",
"featured": 0,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null,
"domainIntegration": false,
"cycle": [
{
"id": 1,
"package_id": 1,
"price": 15,
"fee": 0,
"cycle": 1,
"created_at": "2022-01-17T12:58:39.000000Z",
"updated_at": "2022-05-12T13:40:44.000000Z",
"deleted_at": null
}
],
"options": [],
"files": [],
"images": []
}
]
}