/filters/products - Get available product filters

GET /filters/products

Get list of unique system products for filtering (requires Support+ role). Returns product type values that can be used directly in GET /systems?type= query parameter. Respects RBAC hierarchy - users only see products from systems they can access.

Responses

  • 200 application/json

    Product filters retrieved successfully

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object
      Hide data attribute Show data attribute object
      • products array[string]

        List of unique product names (system types)

  • 401 application/json

    Unauthorized - invalid or missing token

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
  • 403 application/json

    Forbidden - insufficient permissions

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
GET /filters/products
curl \
 --request GET 'https://api.your-domain.com/api/filters/products' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 200,
  "message": "product filters retrieved successfully",
  "data": {
    "products": [
      "NethSecurity",
      "NethServer",
      "nsec"
    ]
  }
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (403)
{
  "code": 403,
  "message": "insufficient permissions",
  "data": {}
}