/auth/product/{name} - Product-level authorization check

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 /auth/product/{name}

Pass-through for systems with a valid subscription: product-level enforcement is not applied yet, so any authenticated system gets 200 (mirrors the transitional broker behaviour for /auth/product/*).

Path parameters

  • name string Required

    Product name

Responses

  • 200 application/json

    Valid subscription

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

    Unauthorized - invalid or missing token

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

    Internal server error

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
GET /auth/product/{name}
curl \
 --request GET 'https://collect.your-domain.com/api/auth/product/nethservice' \
 --user "username:password"
Response examples (200)
{
  "code": 200,
  "message": "authorized",
  "data": {}
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (500)
{
  "code": 500,
  "message": "internal server error",
  "data": {}
}