List Terraform Versions Using GET

List Terraform Versions Using GET

Lists terraform versions

Request
URI
GET
https://{api_host}/blueprint/api/blueprint-integrations/terraform/versions
COPY
Query Parameters
pageable
Required

pageable

boolean
onlyEnabled
Optional

Include only enabled versions

integer
$top
Optional

Number of records you want

$top example
1
integer
$skip
Optional

Number of records you want to skip

$skip example
1
string
$orderby
Optional

Sorting criteria in the format: property (asc|desc). Default sort order is descending on updatedAt. Sorting is supported on fields createdAt, updatedAt, createdBy, updatedBy, version.

string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PageTerraformVersion of type(s) application/json
"PageTerraformVersion Object"
array of object
content
Optional

Terraform version object

boolean
empty
Optional

empty

boolean
first
Optional

first

boolean
last
Optional

last

integer As int32 As int32
number
Optional

number

integer As int32 As int32
numberOfElements
Optional

numberOfElements

object
pageable
Optional

pageable

integer As int32 As int32
size
Optional

size

object
sort
Optional

sort

integer As int64 As int64
totalElements
Optional

totalElements

integer As int32 As int32
totalPages
Optional

totalPages


400

Bad Request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/blueprint/api/blueprint-integrations/terraform/versions?pageable=v