Lists the available versions of a given Terraform module repository
GET/api/v2/terraform/repository
Lists the available versions of a given Terraform module repository
Request
Query Parameters
url string
The URL of the Terraform module repository
authSecretRef string
Name of a platform secret to use for authentication
Responses
- 200
- 400
- 401
- 403
- 500
Repository version info
- application/json
- Schema
- Example (from schema)
Schema
url stringrequired
versions string[]required
{
"url": "string",
"versions": [
"string"
]
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32required
fieldErrors
undefined[]
required
errCode stringrequired
field stringrequired
message stringrequired
message stringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...