/public/rebranding/{org_id}/products/{product_id}/{asset} - Get a rebranding asset image

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 /public/rebranding/{org_id}/products/{product_id}/{asset}

Serves a rebranding asset as binary data, with no authentication, so a page can point an <img> straight at it. Branding is what a partner already shows to its own customers on a login screen.

Rate-limited to 10 requests / 30s per client. The response carries an ETag and Last-Modified (conditional requests answer 304), and a Content-Security-Policy that neutralises an uploaded SVG.

Path parameters

  • org_id string Required

    Logto organization ID that owns the branding

  • product_id string Required
  • asset string Required

    Values are logo_light_rect, logo_dark_rect, logo_light_square, logo_dark_square, favicon, or background_image.

Responses

  • 200 image/svg+xml

    Asset binary

    Hide headers attributes Show headers attributes
    • ETag string
    • Cache-Control string
  • 304

    Not modified

  • 400 application/json

    Bad request - validation error

    Hide response attributes Show response attributes object
    • code integer

      HTTP error code

    • message string

      Error message

    • data object
      Hide data attributes Show data attributes object
      • type string

        Type of error

        Values are validation_error or external_api_error.

      • errors array[object]
        Hide errors attributes Show errors attributes object
        • key string

          Field name that failed validation

        • message string

          Error code or message

        • value string

          Value that failed validation

      • details

        Additional error details

  • 404 application/json

    Resource not found

    Hide response attributes Show response attributes object
    • code integer

      HTTP error code

    • message string

      Error message

    • data object
      Hide data attributes Show data attributes object
      • type string

        Type of error

        Values are validation_error or external_api_error.

      • errors array[object]
        Hide errors attributes Show errors attributes object
        • key string

          Field name that failed validation

        • message string

          Error code or message

        • value string

          Value that failed validation

      • details

        Additional error details

  • 429

    Rate limit exceeded

GET /public/rebranding/{org_id}/products/{product_id}/{asset}
curl \
 --request GET 'https://api.your-domain.com/api/public/rebranding/{org_id}/products/nethvoice/{asset}'
Response examples (200)
# Headers
ETag: string
Cache-Control: public, max-age=300, must-revalidate

# Payload
@file
Response examples (400)
{
  "code": 400,
  "message": "validation failed",
  "data": {
    "type": "validation_error",
    "errors": [
      {
        "key": "username",
        "message": "required",
        "value": "string"
      }
    ]
  }
}
Response examples (404)
{
  "code": 400,
  "message": "validation failed",
  "data": {
    "type": "validation_error",
    "errors": [
      {
        "key": "username",
        "message": "required",
        "value": "string"
      }
    ]
  }
}