Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.14 KB

ENDPOINTS.md

File metadata and controls

26 lines (18 loc) · 1.14 KB

API Endpoints

General Purpose

  • GET /check/healthz: Liveness Probe - Responds with 200 OK status and empty body
  • GET /check/readyz: Readiness Probe - Responds with 200 OK status and empty body

Service Discovery

  • GET /.well-known/terraform.json: Terraform Service Discovery endpoint

Providers

  • GET /v1/providers/:namespace/:name/versions: List all versions for a provider
  • GET /v1/providers/:namespace/:name/:version/download/:system/:arch: Download a specific provider version
  • POST /v1/api/providers/:name/:version/upload: Upload a new provider version
  • DELETE /v1/api/providers/:name/remove: Remove a provider
  • DELETE /v1/api/providers/:name/:version/remove: Remove a provider version

Modules

  • GET /v1/modules/:namespace/:name/:provider/versions: List all versions for a module
  • GET /v1/modules/:namespace/:name/:provider/:version/download: Download a specific module version
  • POST /v1/api/modules/:name/:provider/:version/upload: Upload a new modules version
  • DELETE /v1/api/modules/:name/:provider/remove: Remove a modules
  • DELETE /v1/api/modules/:name/:provider/:version/remove: Remove a modules version