Codefresh Contexts API

The Contexts API from Codefresh — 1 operation(s) for contexts.

OpenAPI Specification

codefresh-contexts-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Codefresh REST Access Control Contexts API
  description: 'REST API for managing Codefresh pipelines, builds, clusters, environments,

    contexts, Helm charts, and access control. Authenticated via API key tokens

    with granular scopes. This best-effort OpenAPI was generated from the

    public Codefresh openapi.json published with the codefresh-io/cli project

    and the docs at https://codefresh.io/docs/docs/integrations/codefresh-api/

    and does not cover every endpoint, parameter, or schema.

    '
  version: 1.0.0
  contact:
    name: Codefresh
    url: https://codefresh.io
servers:
- url: https://g.codefresh.io/api
  description: Codefresh SaaS API
security:
- ApiKeyAuth: []
tags:
- name: Contexts
paths:
  /contexts:
    get:
      tags:
      - Contexts
      summary: List integration contexts
      operationId: listContexts
      responses:
        '200':
          description: Contexts
    post:
      tags:
      - Contexts
      summary: Create an integration context
      operationId: createContext
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Created
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Codefresh API key. Send raw token as Authorization header value.