26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

List access points

GET  /api/v1/billing/access-points

Method parameters

integer page, Page number (default: 1).

200  OK

Successful response. Paginated list of access points with counts of linked devices.

JSON
{
    "current_page": 1,
    "data": [
        {
            "uuid": "00000000-0000-0000-0000-000000000001",
            "name": "Access Point | ab3Xz",
            "type": "universal_zone",
            "created_at": "2024-01-01T00:00:00.000000Z",
            "updated_at": "2024-01-01T00:00:00.000000Z",
            "intercoms_count": 1,
            "openy_controllers_count": 1
        }
    ],
    "first_page_url": "http://localhost/api/v1/billing/access-points?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/api/v1/billing/access-points?page=1",
    "links": [
        {
            "url": null,
            "label": "« Previous",
            "active": false
        },
        {
            "url": "http://localhost/api/v1/billing/access-points?page=1",
            "label": "1",
            "active": true
        },
        {
            "url": null,
            "label": "Next »",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "http://localhost/api/v1/billing/access-points",
    "per_page": 15,
    "prev_page_url": null,
    "to": 1,
    "total": 1
}
cURL
Bash
curl -k --request GET \
	--url 'https://your-domain/api/v1/billing/access-points' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "page": "integer"
}'
PHP
PHP
$data = array (
  'page' => 'integer',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/v1/billing/access-points', false, $context);