Red Hat Enterprise Linux 8 User Preferences API

The user-preferences API from Red Hat Enterprise Linux 8 — 1 operation(s) for user-preferences.

GitHub OpenAPI

Operations 2

GET /api/insights/v1/user-preferences/ User preferences list #
POST /api/insights/v1/user-preferences/ User preferences create #

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-user-preferences-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-user-preferences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Insights Advisor User Preferences 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: User Preferences
paths:
  /api/insights/v1/user-preferences/:
    get:
      operationId: user_preferences_list
      description: 'Describe the settings we have in a Data-Driven Forms way.


        This simply compiles the ''show_satellite_hosts'' account-wide setting

        and the weekly report ''is_subscribed'' user-specific setting into one

        handy view, with the description metadata necessary to use Data-Driven

        Forms to display it.'
      tags:
      - User Preferences
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SettingsDDF'
          description: ''
      summary: User preferences list
      x-summary-source: derived
    post:
      operationId: user_preferences_create
      description: 'Accept the settings as input, and adjust the actual models accordingly.


        The current account settings will be updated, or one will be created,

        with the'
      tags:
      - User Preferences
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreferencesInput'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PreferencesInput'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PreferencesInput'
        required: true
      security:
      - x-rh-identity: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreferencesInput'
          description: ''
      summary: User preferences create
      x-summary-source: derived
components:
  schemas:
    PreferencesInput:
      type: object
      description: User preferences - separated from account settings.
      properties:
        is_subscribed:
          type: boolean
      required:
      - is_subscribed
    SettingDDF:
      type: object
      description: Outputs the description of the settings in a Data-Driven Forms format.
      properties:
        name:
          type: string
        label:
          type: string
        title:
          type: string
        description:
          type: string
        helperText:
          type: string
        component:
          type: string
        isRequired:
          type: boolean
        initialValue:
          type: boolean
        isDisabled:
          type: boolean
      required:
      - component
      - initialValue
      - isDisabled
      - isRequired
      - name
    SettingsDDF:
      type: object
      description: Combining the DDF fields into one 'fields' object.
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/SettingDDF'
      required:
      - fields
  securitySchemes:
    x-rh-identity:
      type: apiKey
      in: header
      name: x-rh-identity