Red Hat Enterprise Linux 8 Topic API

The topic API from Red Hat Enterprise Linux 8 — 4 operation(s) for topic.

GitHub OpenAPI

Operations 4

GET /api/insights/v1/topic/ Topic list #
GET /api/insights/v1/topic/{slug}/ Topic retrieve #
GET /api/insights/v1/topic/{slug}/rules_with_tag/ Topic rules with tag list #
GET /api/insights/v1/topic/{slug}/systems/ Topic systems retrieve #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/red-hat-enterprise-linux-8:red-hat-enterprise-linux-8-topic-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

red-hat-enterprise-linux-8-topic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insights Advisor Topic API
  version: 1.0.1
  description: The API of the Advisor project in Insights
servers:
- url: https://console.redhat.com/
  description: The API of the Advisor project in Insights
tags:
- name: Topic
paths:
  /api/insights/v1/topic/:
    get:
      operationId: topic_list
      description: 'List the rule topics and their impacted systems counts.


        Normally this only shows enabled topics, but if the ''show_disabled''

        parameter is set to True then this will show disabled topics as

        well.'
      parameters:
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[A-Z]..$
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: query
        name: show_disabled
        schema:
          type: boolean
          default: false
        description: Display topics that are disabled as well as enabled
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[^/]+/[^=]+(=.*)?$
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: update_method
        schema:
          type: array
          items:
            type: string
            enum:
            - dnfyum
            - ostree
        description: Search for systems with this updater type
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      tags:
      - Topic
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Topic'
          description: ''
      summary: Topic list
      x-summary-source: derived
  /api/insights/v1/topic/{slug}/:
    get:
      operationId: topic_retrieve
      description: 'Retrieve a single topic by slug.


        This also lists the topic''s impacted systems count.'
      parameters:
      - in: path
        name: slug
        schema:
          type: string
          description: Rule topic slug
        required: true
      tags:
      - Topic
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Topic'
          description: ''
      summary: Topic retrieve
      x-summary-source: derived
  /api/insights/v1/topic/{slug}/rules_with_tag/:
    get:
      operationId: topic_rules_with_tag_list
      description: 'Lists the available rules that have this tag.


        This shows the rule information for rules with this tag.'
      parameters:
      - in: path
        name: slug
        schema:
          type: string
          description: Rule topic slug
        required: true
      tags:
      - Topic
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Rule'
          description: ''
      summary: Topic rules with tag list
      x-summary-source: derived
  /api/insights/v1/topic/{slug}/systems/:
    get:
      operationId: topic_systems_retrieve
      description: 'List all systems affected by this rule topic.


        Systems are just listed by their UUID.'
      parameters:
      - in: query
        name: filter[system_profile][sap_sids][contains]
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[A-Z]..$
        description: Are there systems which contain these SAP SIDs?
        style: form
      - in: query
        name: groups
        schema:
          type: array
          items:
            type: string
        description: List of Inventory host group names
        style: form
      - in: path
        name: slug
        schema:
          type: string
          description: Rule topic slug
        required: true
      - in: query
        name: sort
        schema:
          type: array
          items:
            type: string
            enum:
            - -display_name
            - -last_seen
            - -stale_at
            - -system_uuid
            - -updated
            - display_name
            - last_seen
            - stale_at
            - system_uuid
            - updated
          default:
          - system_uuid
        description: Order by this field
        style: form
      - in: query
        name: tags
        schema:
          type: array
          items:
            type: string
            format: regex
            pattern: ^[^/]+/[^=]+(=.*)?$
        description: Tags have a namespace and key, with an optional value, in the form namespace/key=value or namespace/key
        style: form
      - in: query
        name: update_method
        schema:
          type: array
          items:
            type: string
            enum:
            - dnfyum
            - ostree
        description: Search for systems with this updater type
        style: form
      - in: query
        name: workload
        schema:
          type: array
          items:
            type: string
            enum:
            - ansible
            - crowdstrike
            - ibm_db2
            - intersystems
            - mssql
            - oracle_db
            - rhel_ai
            - sap
            - satellite
        description: 'Filter systems by workload type. Multiple workloads are OR''d together. Valid workloads: sap, ansible, mssql, crowdstrike, ibm_db2, intersystems, oracle_db, rhel_ai, satellite'
        style: form
      tags:
      - Topic
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemsForRule'
          description: ''
      summary: Topic systems retrieve
      x-summary-source: derived
components:
  schemas:
    RuleImpact:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
        impact:
          type: integer
          maximum: 32767
          minimum: 0
    SystemsForRule:
      type: object
      description: 'The list of Inventory Host IDs that are (currently) affected by a given

        rule.'
      properties:
        host_ids:
          type: array
          items:
            type: string
            format: uuid
      required:
      - host_ids
    RuleCategory:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          maxLength: 20
      required:
      - id
      - name
    Rule:
      type: object
      description: 'The standard rule information.  Used for models and relations that don''t

        know the account and therefore can''t know the acks or impacted systems.'
      properties:
        rule_id:
          type: string
          description: Rule ID from Insights
          maxLength: 240
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        deleted_at:
          type: string
          format: date-time
        description:
          type: string
          maxLength: 240
        active:
          type: boolean
        category:
          $ref: '#/components/schemas/RuleCategory'
        impact:
          $ref: '#/components/schemas/RuleImpact'
        likelihood:
          type: integer
          maximum: 32767
          minimum: 0
        node_id:
          type: string
          description: KCS solution number
          maxLength: 10
        tags:
          type: string
          readOnly: true
        reboot_required:
          type: boolean
        publish_date:
          type:
          - string
          - 'null'
          format: date-time
        summary:
          type: string
        generic:
          type: string
        reason:
          type: string
        more_info:
          type: string
        resolution_set:
          type: array
          items:
            $ref: '#/components/schemas/Resolution'
        total_risk:
          type: integer
          maximum: 32767
          minimum: 0
      required:
      - category
      - created_at
      - description
      - generic
      - impact
      - reason
      - resolution_set
      - rule_id
      - summary
      - tags
      - updated_at
    Topic:
      type: object
      description: Topics group rules by a tag shared by all the rules.
      properties:
        name:
          type: string
          maxLength: 80
        slug:
          type: string
          description: Rule topic slug
          maxLength: 20
          pattern: ^[-a-zA-Z0-9_]+$
        description:
          type: string
        tag:
          type: string
        featured:
          type: boolean
        enabled:
          type: boolean
        impacted_systems_count:
          type: integer
          readOnly: true
      required:
      - description
      - impacted_systems_count
      - name
      - slug
      - tag
    Resolution:
      type: object
      properties:
        system_type:
          type: integer
        resolution:
          type: string
        resolution_risk:
          allOf:
          - $ref: '#/components/schemas/ResolutionRisk'
          readOnly: true
        has_playbook:
          type: boolean
          readOnly: true
      required:
      - has_playbook
      - resolution
      - resolution_risk
      - system_type
    ResolutionRisk:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
        risk:
          type: integer
          maximum: 32767
          minimum: 0
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity