Red Hat 3scale Gateway API

The Gateway API from Red Hat 3scale — 10 operation(s) for gateway.

GitHub OpenAPI

Operations 16

GET /admin/api/services/{service_id}/proxy.xml Proxy Read #
PATCH /admin/api/services/{service_id}/proxy.xml Proxy Update #
POST /admin/api/services/{service_id}/proxy/deploy.xml Proxy Deploy #
GET /admin/api/services/{service_id}/proxy/mapping_rules.xml Proxy Mapping Rules List #
POST /admin/api/services/{service_id}/proxy/mapping_rules.xml Proxy Mapping Rule Create #
GET /admin/api/services/{service_id}/proxy/mapping_rules/{id}.xml Proxy Mapping Rules Show #
DELETE /admin/api/services/{service_id}/proxy/mapping_rules/{id}.xml Proxy Mapping Rule Delete #
PATCH /admin/api/services/{service_id}/proxy/mapping_rules/{id}.xml Proxy Mapping Rule Update #
GET /admin/api/services/{service_id}/proxy/oidc_configuration.xml OIDC Configuration Show #
PATCH /admin/api/services/{service_id}/proxy/oidc_configuration.xml OIDC Configuration Update #
GET /admin/api/services/{service_id}/proxy/configs/{environment}.json Proxy Configs List (Service) #
GET /admin/api/services/{service_id}/proxy/configs/{environment}/latest.json Proxy Config Show Latest #
GET /admin/api/services/{service_id}/proxy/configs/{environment}/{version}.json Proxy Config Show #
POST /admin/api/services/{service_id}/proxy/configs/{environment}/{version}/promote.json Proxy Config Promote #
GET /admin/api/services/{service_id}/proxy/policies.json Proxy Policies Chain Show #
PUT /admin/api/services/{service_id}/proxy/policies.json Proxy Policies Chain Update #

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-3scale:red-hat-3scale-gateway-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-3scale-gateway-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Gateway API
  version: '1.0'
  description: 'Operations tagged Gateway across 2 of this provider''s published API definitions: red-hat-3scale-porta-account_management_api.json, red-hat-3scale-account-management-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://{tenant}-admin.3scale.net
  description: 3scale SaaS host (tenant admin portal for {tenant}); on-premises deployments use their own admin host
  variables:
    tenant:
      default: example
tags:
- name: Gateway
paths:
  /admin/api/services/{service_id}/proxy.xml:
    get:
      summary: Proxy Read
      description: Returns the Proxy of a Service.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyXml
      x-operation-id-source: derived
    patch:
      summary: Proxy Update
      description: Changes the Proxy settings. This will create a new APIcast configuration version for the Staging environment with the updated settings.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                endpoint:
                  type: string
                  description: Public Base URL for production environment.
                api_backend:
                  type: string
                  description: Private Base URL. Caution! Do not use it if the account has API as a Product enabled. It may cause API backend usages to be removed from the Product.
                credentials_location:
                  type: string
                  description: Credentials Location. Either headers, query or authorization for the Basic Authorization.
                auth_app_key:
                  type: string
                  description: Parameter/Header where App Key is expected.
                auth_app_id:
                  type: string
                  description: Parameter/Header where App ID is expected.
                auth_user_key:
                  type: string
                  description: Parameter/Header where User Key is expected.
                error_auth_failed:
                  type: string
                  description: Error message on failed authentication.
                error_status_auth_failed:
                  type: integer
                  description: Status code on failed authentication.
                error_headers_auth_failed:
                  type: string
                  description: Content-Type header on failed authentication.
                error_auth_missing:
                  type: string
                  description: Error message on missing authentication.
                error_status_auth_missing:
                  type: integer
                  description: Status code on missing authentication.
                error_headers_auth_missing:
                  type: string
                  description: Content-Type header on missing authentication.
                error_no_match:
                  type: string
                  description: Error message when no mapping rule is matched.
                error_status_no_match:
                  type: string
                  description: Content-Type header when no mapping rule is matched.
                error_status_limits_exceeded:
                  type: integer
                  description: Status code when usage limit exceeded.
                error_headers_limits_exceeded:
                  type: string
                  description: Content-Type header when usage limit exceeded.
                error_limits_exceeded:
                  type: string
                  description: Error message on usage limit exceeded.
                oidc_issuer_endpoint:
                  type: string
                  description: Location of your OpenID Provider.
                oidc_issuer_type:
                  type: string
                  description: Type of your OpenID Provider.
                sandbox_endpoint:
                  type: string
                  description: Sandbox endpoint.
                jwt_claim_with_client_id:
                  type: string
                  description: JWT Claim With ClientId Location.
                jwt_claim_with_client_id_type:
                  type: string
                  description: JWT Claim With ClientId Type. Either `plain` or `liquid`
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: patchAdminApiServicesByServiceIdProxyXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/deploy.xml:
    post:
      summary: Proxy Deploy
      description: Promotes the APIcast configuration to the Staging Environment (Production Environment in case of Service Mesh).
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiServicesByServiceIdProxyDeployXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/mapping_rules.xml:
    get:
      summary: Proxy Mapping Rules List
      description: Returns the Mapping Rules of a Proxy.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyMappingRulesXml
      x-operation-id-source: derived
    post:
      summary: Proxy Mapping Rule Create
      description: Creates a Proxy Mapping Rule. The proxy object needs to be updated after a mapping rule is added to apply the change to the APIcast configuration. If adding multiple mapping rules then only one call to the Proxy Update endpoint is necessary after all mapping rules have been created.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                http_method:
                  type: string
                  description: HTTP method.
                pattern:
                  type: string
                  description: Mapping Rule pattern.
                delta:
                  type: integer
                  description: Increase the metric by this delta.
                metric_id:
                  type: integer
                  description: Metric ID.
                position:
                  type: integer
                  description: Mapping Rule position
                last:
                  type: boolean
                  description: Last matched Mapping Rule to process
              required:
              - access_token
              - http_method
              - pattern
              - delta
              - metric_id
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiServicesByServiceIdProxyMappingRulesXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/mapping_rules/{id}.xml:
    get:
      summary: Proxy Mapping Rules Show
      description: Returns the Mapping Rule.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: Mapping Rule ID.
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyMappingRules{id}Xml
      x-operation-id-source: derived
    delete:
      summary: Proxy Mapping Rule Delete
      description: Deletes a Proxy Mapping Rule. The proxy object needs to be updated after a mapping rule is deleted to apply the change to the APIcast configuration. If deleting multiple mapping rules then only one call to the Proxy Update endpoint is necessary after all desired mapping rules have been deleted.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: Mapping Rule ID.
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiServicesByServiceIdProxyMappingRules{id}Xml
      x-operation-id-source: derived
    patch:
      summary: Proxy Mapping Rule Update
      description: Updates a Proxy Mapping Rule. The proxy object needs to be updated after a mapping rule is updated to apply the change to the APIcast configuration. If updating multiple mapping rules then only one call to the Proxy Update endpoint is necessary after all mapping rules have been updated.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: Mapping Rule ID.
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                http_method:
                  type: string
                  description: HTTP method.
                pattern:
                  type: string
                  description: Mapping Rule pattern.
                delta:
                  type: integer
                  description: Increase the metric by this delta.
                metric_id:
                  type: integer
                  description: Metric ID.
                position:
                  type: integer
                  description: Mapping Rule position
                last:
                  type: boolean
                  description: Last matched Mapping Rule to process
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: patchAdminApiServicesByServiceIdProxyMappingRules{id}Xml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/oidc_configuration.xml:
    get:
      summary: OIDC Configuration Show
      description: Get the Proxy OIDC configuration.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyOidcConfigurationXml
      x-operation-id-source: derived
    patch:
      summary: OIDC Configuration Update
      description: Changes the Proxy OIDC configuration.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      requestBody:
        description: OIDC Configuration Update
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                standard_flow_enabled:
                  type: boolean
                  description: Enable Authorization Code Flow (Standard Flow)
                implicit_flow_enabled:
                  type: boolean
                  description: Enable Implicit Flow
                service_accounts_enabled:
                  type: boolean
                  description: Enable Service Account Flow (Standard Flow)
                direct_access_grants_enabled:
                  type: boolean
                  description: Enable Direct Access Grant Flow
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: patchAdminApiServicesByServiceIdProxyOidcConfigurationXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/configs/{environment}.json:
    get:
      summary: Proxy Configs List (Service)
      description: Returns the Proxy Configs of a Service
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: environment
        in: path
        description: Gateway environment. Must be 'sandbox' or 'production'
        required: true
        schema:
          type: string
          enum:
          - sandbox
          - production
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyConfigs{environment}Json
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/configs/{environment}/latest.json:
    get:
      summary: Proxy Config Show Latest
      description: Returns the latest Proxy Config.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: environment
        in: path
        description: Gateway environment. Must be 'sandbox' or 'production'
        required: true
        schema:
          type: string
          enum:
          - sandbox
          - production
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyConfigsByEnvironmentLatestJson
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/configs/{environment}/{version}.json:
    get:
      summary: Proxy Config Show
      description: Returns a Proxy Config.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: environment
        in: path
        description: Gateway environment. Must be 'sandbox' or 'production'
        required: true
        schema:
          type: string
          enum:
          - sandbox
          - production
      - name: version
        in: path
        description: Version of the Proxy config.
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyConfigsByEnvironment{version}Json
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/configs/{environment}/{version}/promote.json:
    post:
      summary: Proxy Config Promote
      description: Promotes a Proxy Config from one environment to another environment.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: environment
        in: path
        description: Gateway environment. Must be 'sandbox' or 'production'
        required: true
        schema:
          type: string
          enum:
          - sandbox
          - production
      - name: version
        in: path
        description: Version of the Proxy config.
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                to:
                  type: string
                  description: The name of the destination environment
                  enum:
                  - sandbox
                  - production
              required:
              - access_token
              - to
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiServicesByServiceIdProxyConfigsByEnvironmentByVersionPromoteJson
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/proxy/policies.json:
    get:
      summary: Proxy Policies Chain Show
      description: Returns a Proxy Policies Chain.
      tags:
      - Gateway
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdProxyPoliciesJson
      x-operation-id-source: derived
    put:
      summary: Proxy Policies Chain Update
      description: Updates a Proxy Policies Chain.
      tags:
      - Gateway
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                policies_config:
                  type: string
                  description: Proxy policies chain
              required:
              - access_token
              - policies_config
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiServicesByServiceIdProxyPoliciesJson
      x-operation-id-source: derived
    servers:
    - url: /
x-refined-from:
- red-hat-3scale-porta-account_management_api.json
- red-hat-3scale-account-management-openapi.yml