/filters/systems - Get aggregated system filters

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api.my.nethesis.it/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "my.nethesis.it MCP server": {
    "url": "https://api.my.nethesis.it/mcp"
  }
}

Close
GET /filters/systems

Aggregated endpoint that returns products, creators and versions for the systems views. Auth is checked once, then the three datasets are fetched in parallel. Respects RBAC hierarchy - users only see data from systems they can access.

Version Format: Returns versions in prefixed format product:version (e.g., "nsec:1.2.3", "ns8:1.2.3") to avoid ambiguity when the same version number exists for multiple products.

Organizations dropdown is populated by the dedicated /api/organizations endpoint, which supports search and pagination.

Responses

  • 200 application/json

    System filters retrieved successfully

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

        List of unique product names (system types)

      • created_by array[object]

        List of users who created systems (one entry per user; organization attached to disambiguate homonyms)

        Hide created_by attributes Show created_by attributes object
        • user_id string

          User logto_id from created_by JSONB field (not UUID)

        • name string

          User full name from created_by JSONB field

        • email string

          User email from created_by JSONB field

        • organization_id string

          Creator organization logto_id from created_by JSONB field

        • organization_name string

          Creator organization name from created_by JSONB field

      • versions array[object]

        Versions grouped by product type

        Hide versions attributes Show versions attributes object
        • product string

          Product type name

        • versions array[string]

          List of versions in prefixed format (product:version)

  • 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/systems
curl \
 --request GET 'https://api.your-domain.com/api/filters/systems' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 200,
  "message": "system filters retrieved successfully",
  "data": {
    "products": [
      "NethSecurity",
      "NethServer"
    ],
    "created_by": [
      {
        "user_id": "pnqjmgmk937x",
        "name": "Company Owner",
        "email": "owner@example.com",
        "organization_id": "2wl3iixbc8ua",
        "organization_name": "Nethesis Italia"
      }
    ],
    "versions": [
      {
        "product": "nsec",
        "versions": [
          "nsec:8.6.0",
          "nsec:8.5.2"
        ]
      },
      {
        "product": "ns8",
        "versions": [
          "ns8:1.2.3",
          "ns8:1.1.0"
        ]
      }
    ]
  }
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (403)
{
  "code": 403,
  "message": "insufficient permissions",
  "data": {}
}