Skip to content

Instantly share code, notes, and snippets.

@foxish
Created November 9, 2021 08:50
Show Gist options
  • Save foxish/24e01f6b1bdc5d7424b265ba72801165 to your computer and use it in GitHub Desktop.
Save foxish/24e01f6b1bdc5d7424b265ba72801165 to your computer and use it in GitHub Desktop.
temp
basePath: /api/v1
definitions:
signadotv1.CreateClusterRequest:
properties:
name:
type: string
type: object
signadotv1.CreateClusterResponse:
properties:
id:
type: string
type: object
host: api.signadot.com
info:
contact: {}
description: API for Signadot Workspaces
title: Signadot API
version: "1.0"
paths:
/orgs/{orgName}/clusters:
post:
consumes:
- application/json
description: Connect a new Kubernetes cluster with Signadot Workspaces
operationId: connect-cluster
parameters:
- description: Signadot Org Name
in: path
name: orgName
required: true
type: string
x-example: my-company
- description: Request to create cluster
in: body
name: data
required: true
schema:
$ref: '#/definitions/signadotv1.CreateClusterRequest'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/signadotv1.CreateClusterResponse'
security:
- ApiKeyAuth: []
summary: Connect Cluster
securityDefinitions:
ApiKeyAuth:
in: header
name: signadot-api-key
type: apiKey
swagger: "2.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment