openapi: 3.1.0
info:
title: Codefresh REST Access Control Annotations 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: Annotations
paths:
/annotations:
get:
tags:
- Annotations
summary: List annotations
operationId: listAnnotations
responses:
'200':
description: Annotations
post:
tags:
- Annotations
summary: Create an annotation
operationId: createAnnotation
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.