Chef Software InfraProxy API

The InfraProxy API from Chef Software — 36 operation(s) for infraproxy.

Operations 57

GET /api/v0/infra/servers #
POST /api/v0/infra/servers #
GET /api/v0/infra/servers/server_status #
GET /api/v0/infra/servers/{id} #
DELETE /api/v0/infra/servers/{id} #
PUT /api/v0/infra/servers/{id} #
GET /api/v0/infra/servers/{server_id}/orgs #
POST /api/v0/infra/servers/{server_id}/orgs #
GET /api/v0/infra/servers/{server_id}/orgs/{id} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{id} #
PUT /api/v0/infra/servers/{server_id}/orgs/{id} #
PUT /api/v0/infra/servers/{server_id}/orgs/{id}/reset-key #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients #
POST /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients/{name}/reset #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name}/{version} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name}/{version}/file-content #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags #
POST /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name} #
POST /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}/{item_id} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}/{item} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}/{item} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments #
POST /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name}/recipes #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/node/{name}/runlist/{environment} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name}/attributes #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name}/environment #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name}/tags #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/policyfiles #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/policyfiles/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/policyfiles/{name} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/policyfiles/{name}/revisions #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/policygroups/{name} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles #
POST /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles/{name} #
DELETE /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles/{name} #
PUT /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles/{name} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles/{name}/environments #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/roles/{name}/runlist/{environment} #
GET /api/v0/infra/servers/{server_id}/orgs/{org_id}/users #
POST /api/v0/infra/servers/{server_id}/users #

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/chef-software-infraproxy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

chef-software-infraproxy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: external/applications/applications.proto ApplicationsService Infra Proxy API
  version: version not set
servers:
- url: https://automate.chef.io/api/v0
tags:
- name: InfraProxy
paths:
  /api/v0/infra/servers:
    get:
      operationId: InfraProxy_GetServers
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.GetServers'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateServer
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CreateServer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateServer'
        required: true
  /api/v0/infra/servers/server_status:
    get:
      operationId: InfraProxy_GetServerStatus
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.GetServerStatus'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: fqdn
        description: Server FQDN.
        in: query
        required: false
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{id}:
    get:
      operationId: InfraProxy_GetServer
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.GetServer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    delete:
      operationId: InfraProxy_DeleteServer
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DeleteServer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    put:
      operationId: InfraProxy_UpdateServer
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.UpdateServer'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.UpdateServer'
        required: true
  /api/v0/infra/servers/{server_id}/orgs:
    get:
      operationId: InfraProxy_GetOrgs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.GetOrgs'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateOrg
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CreateOrg'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateOrg'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{id}:
    get:
      operationId: InfraProxy_GetOrg
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.GetOrg'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    delete:
      operationId: InfraProxy_DeleteOrg
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DeleteOrg'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    put:
      operationId: InfraProxy_UpdateOrg
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.UpdateOrg'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.UpdateOrg'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{id}/reset-key:
    put:
      operationId: InfraProxy_ResetOrgAdminKey
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.ResetOrgAdminKey'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.ResetOrgAdminKey'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients:
    get:
      operationId: InfraProxy_GetClients
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Clients'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: search_query.q
        description: The search query used to identify a list of items.
        in: query
        required: false
        schema:
          type: string
      - name: search_query.page
        description: Starting page for the results.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: search_query.per_page
        description: The number of results on each page.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateClient
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CreateClient'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateClient'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients/{name}:
    get:
      operationId: InfraProxy_GetClient
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Client'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Client name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    delete:
      operationId: InfraProxy_DeleteClient
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Client'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Client name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/clients/{name}/reset:
    put:
      operationId: InfraProxy_ResetClientKey
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.ResetClient'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Client name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.ClientKey'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks:
    get:
      operationId: InfraProxy_GetCookbooks
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Cookbooks'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: ID of the Server
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: ID of the Org.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name}:
    get:
      operationId: InfraProxy_GetCookbookVersions
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CookbookVersions'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: ID of the Server.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: ID of the Org.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Name of the cookbook.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name}/{version}:
    get:
      operationId: InfraProxy_GetCookbook
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Cookbook'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: ID of the Server.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: ID of the Org.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Name of the cookbook.
        in: path
        required: true
        schema:
          type: string
      - name: version
        description: Version of the cookbook.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/cookbooks/{name}/{version}/file-content:
    get:
      operationId: InfraProxy_GetCookbookFileContent
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CookbookFileContent'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: ID of the server.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: ID of the org.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Name of the cookbook.
        in: path
        required: true
        schema:
          type: string
      - name: version
        description: Version of the cookbook.
        in: path
        required: true
        schema:
          type: string
      - name: url
        description: Cookbook data file URL.
        in: query
        required: false
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags:
    get:
      operationId: InfraProxy_GetDataBags
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DataBags'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateDataBag
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CreateDataBag'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateDataBag'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}:
    get:
      operationId: InfraProxy_GetDataBagItems
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DataBagItems'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      - name: search_query.q
        description: The search query used to identify a list of items.
        in: query
        required: false
        schema:
          type: string
      - name: search_query.page
        description: Starting page for the results.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: search_query.per_page
        description: The number of results on each page.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - InfraProxy
    delete:
      operationId: InfraProxy_DeleteDataBag
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DataBag'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateDataBagItem
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.CreateDataBagItem'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateDataBagItem'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}/{item_id}:
    put:
      operationId: InfraProxy_UpdateDataBagItem
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.UpdateDataBagItem'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      - name: item_id
        description: Data bag item ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.UpdateDataBagItem'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/data_bags/{name}/{item}:
    get:
      operationId: InfraProxy_GetDataBagItem
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DataBagItem'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      - name: item
        description: Data bag item name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
    delete:
      operationId: InfraProxy_DeleteDataBagItem
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.DataBagItem'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: name
        description: Data bag name.
        in: path
        required: true
        schema:
          type: string
      - name: item
        description: Data bag item name.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments:
    get:
      operationId: InfraProxy_GetEnvironments
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Environments'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      - name: search_query.q
        description: The search query used to identify a list of items.
        in: query
        required: false
        schema:
          type: string
      - name: search_query.page
        description: Starting page for the results.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: search_query.per_page
        description: The number of results on each page.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - InfraProxy
    post:
      operationId: InfraProxy_CreateEnvironment
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/chef.automate.api.infra_proxy.response.Environment'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/grpc.gateway.runtime.Error'
      parameters:
      - name: server_id
        description: Chef Infra Server ID.
        in: path
        required: true
        schema:
          type: string
      - name: org_id
        description: Chef organization ID.
        in: path
        required: true
        schema:
          type: string
      tags:
      - InfraProxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/chef.automate.api.infra_proxy.request.CreateEnvironment'
        required: true
  /api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name}:
    get:
      operationId: InfraProxy_GetEnvironment
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref

# --- truncated at 32 KB (101 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chef-software/refs/heads/main/openapi/chef-software-infraproxy-api-openapi.yml