26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Get complaints for an instance: camera, analytics, access point

Complaints for an instance

GET  /api/v1/billing/issueables/{issueableId}/issues

Returns a paginated list of complaints about a specific instance (camera, analytics, or access point).

Method parameters

string issueableId  required , Instance identifier: `id` (int) for cameras/analytics, `uuid` (string) for access points


string type  required , Instance type. Possible values:

  • camera_issues— camera complaints

  • analytic_issues— camera analytics complaints

  • access_point_issues— access point complaints


string status, Complaint status filter: `active` (default) or `resolved`


string search, Search string: user name or login


string sort, Sort field. Possible values: `id`, `count`, `updated_at`, `user_name`, `user_login`


string dir, Sort direction: `asc` or `desc` (default: `asc`)


array issue_ids, [] Filter by complaint IDs. All values must belong to the type specified in `type`


int per_page, Number of items per page. Available values: 25 (default), 50, 100

200  OK

Returns a paginated list of complaints for an instance

JSON
{
    "data": [
        {
            "id": 6,
            "title": "Unable to open",
            "count": 2,
            "created_at": "2026-06-16T12:03:57.000000Z",
            "updated_at": "2026-06-17T09:15:00.000000Z",
            "deleted_at": null,
            "resolver": null,
            "creator": {
                "id": 31,
                "name": "user",
                "login": "user@mail.com"
            },
            "analytic_case_camera_uuid": null
        }
    ],
    "links": {
        "first": "http://localhost/api/v1/billing/issueables/3fa85f64-5717-4562-b3fc-2c963f66afa6/issues?type=access_point_issues&page=1",
        "last": "http://localhost/api/v1/billing/issueables/3fa85f64-5717-4562-b3fc-2c963f66afa6/issues?type=access_point_issues&page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "pagination.previous",
                "active": false
            },
            {
                "url": "http://localhost/api/v1/billing/issueables/3fa85f64-5717-4562-b3fc-2c963f66afa6/issues?type=access_point_issues&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "http://localhost/api/v1/billing/issueables/3fa85f64-5717-4562-b3fc-2c963f66afa6/issues",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}

404  Not Found

Instance not found

422  Unprocessable Entity

Returns a JSON error object.

For more information, seeGeneral information > Validation.

JSON
{
    "message": "No informative message is provided here",
    "errors": {
        "any_key": [
            "The reason for the error is described here"
        ]
    }
}
cURL
Bash
curl -k --request GET \
	--url 'https://your-domain/api/v1/billing/issueables/{issueableId}/issues' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "issueableId": "string",
    "type": "string",
    "status": "string",
    "search": "string",
    "sort": "string",
    "dir": "string",
    "issue_ids": [],
    "per_page": 0
}'
PHP
PHP
$data = array (
  'issueableId' => 'string',
  'type' => 'string',
  'status' => 'string',
  'search' => 'string',
  'sort' => 'string',
  'dir' => 'string',
  'issue_ids' => 
  array (
  ),
  'per_page' => 0,
);
$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/issueables/{issueableId}/issues', false, $context);