Heroku Stacks API

Available stacks

OpenAPI Specification

heroku-stacks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Heroku Platform Account Stacks API
  description: The Heroku Platform API enables programmatic access to Heroku's deployment platform. Manage apps, dynos, add-ons, config vars, domains, pipelines, releases, and other platform resources.
  version: '3'
  contact:
    name: Heroku
    url: https://devcenter.heroku.com/
  license:
    name: Proprietary
    url: https://www.heroku.com/policy/tos
servers:
- url: https://api.heroku.com
  description: Heroku Platform API
security:
- BearerAuth: []
tags:
- name: Stacks
  description: Available stacks
paths:
  /stacks:
    get:
      operationId: listStacks
      summary: List stacks
      tags:
      - Stacks
      responses:
        '200':
          description: Available stacks
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      format: uuid
                    name:
                      type: string
                    state:
                      type: string
                    default:
                      type: boolean
                    created_at:
                      type: string
                      format: date-time
                    updated_at:
                      type: string
                      format: date-time
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Heroku API key or OAuth token