Red Hat 3scale Templates API

The Templates API from Red Hat 3scale — 3 operation(s) for templates.

GitHub OpenAPI

Operations 6

GET /admin/api/cms/templates.json Template List #
POST /admin/api/cms/templates.json Template Create #
GET /admin/api/cms/templates/{id}.json Template Read #
PUT /admin/api/cms/templates/{id}.json Template Update #
DELETE /admin/api/cms/templates/{id}.json Template Delete #
PUT /admin/api/cms/templates/{id}/publish.json Template Publish #

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-templates-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-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Templates API
  version: '1.0'
  description: 'Operations tagged Templates across 2 of this provider''s published API definitions: red-hat-3scale-porta-cms_api.json, red-hat-3scale-developer-portal-cms-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: Templates
paths:
  /admin/api/cms/templates.json:
    get:
      tags:
      - Templates
      summary: Template List
      description: List all templates
      parameters:
      - name: access_token
        in: query
        description: Your access token
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Current page of the list
        schema:
          type: integer
      - name: per_page
        in: query
        description: Total number of records per one page (maximum 100)
        schema:
          type: integer
      - name: content
        in: query
        description: Return the draft and published content
        schema:
          type: boolean
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiCmsTemplatesJson
      x-operation-id-source: derived
    post:
      summary: Template Create
      description: Create partial, layout or page
      tags:
      - Templates
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: Your access token
                type:
                  type: string
                  enum:
                  - page
                  - layout
                  - partial
                system_name:
                  type: string
                  description: Human readable and unique identifier
                title:
                  type: string
                  description: Title of the template
                path:
                  type: string
                  description: URI of the page
                draft:
                  type: string
                  description: Text content of the template (you have to publish the template)
                section_name:
                  type: string
                  description: system name of a section
                section_id:
                  type: integer
                  description: ID of a section (valid only for pages)
                layout_name:
                  type: string
                  description: system name of a layout (valid only for pages)
                layout_id:
                  type: integer
                  description: ID of a layout - overrides layout_name
                liquid_enabled:
                  type: boolean
                  description: liquid processing of the template content on/off
                handler:
                  type: string
                  description: text will be processed by the handler before rendering
                  enum:
                  - textile
                  - markdown
              required:
              - access_token
              - type
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiCmsTemplatesJson
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/cms/templates/{id}.json:
    get:
      tags:
      - Templates
      summary: Template Read
      description: View template
      parameters:
      - name: access_token
        in: query
        description: Your access token
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: ID of the template
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiCmsTemplates{id}Json
      x-operation-id-source: derived
    put:
      summary: Template Update
      description: Update [builtin] page, partial or layout and draft content.
      tags:
      - Templates
      parameters:
      - name: id
        in: path
        description: ID of the template
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: Your access token
                system_name:
                  type: string
                  description: Human readable and unique identifier
                title:
                  type: string
                  description: Title of the template
                path:
                  type: string
                  description: URI of the page
                draft:
                  type: string
                  description: Text content of the template (you have to publish the template)
                section_name:
                  type: string
                  description: system name of a section
                section_id:
                  type: integer
                  description: ID of a section (valid only for pages)
                layout_name:
                  type: string
                  description: system name of a layout (valid only for pages)
                layout_id:
                  type: integer
                  description: ID of a layout - overrides layout_name
                liquid_enabled:
                  type: boolean
                  description: liquid processing of the template content on/off
                handler:
                  type: string
                  description: text will be processed by the handler before rendering
                  enum:
                  - textile
                  - markdown
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiCmsTemplates{id}Json
      x-operation-id-source: derived
    delete:
      tags:
      - Templates
      summary: Template Delete
      description: Delete page, partial or layout.
      parameters:
      - name: access_token
        in: query
        description: Your access token
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: ID of the template
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiCmsTemplates{id}Json
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/cms/templates/{id}/publish.json:
    put:
      summary: Template Publish
      description: The current draft will be published and visible by all users.
      tags:
      - Templates
      parameters:
      - name: id
        in: path
        description: ID of the template
        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: putAdminApiCmsTemplatesByIdPublishJson
      x-operation-id-source: derived
    servers:
    - url: /
x-refined-from:
- red-hat-3scale-porta-cms_api.json
- red-hat-3scale-developer-portal-cms-openapi.yml