Get Configuration Source Tree Using GET

Get Configuration Source Tree Using GET

Shows directories of the configuration source repository that correspond to Terraform configurations.

Request
URI
GET
https://{api_host}/blueprint/api/blueprint-integrations/terraform/get-configuration-source-tree
COPY
Query Parameters
string
configurationSourceId
Required

The ID of the configuration source to inspect.

string
commitId
Optional

The commit ID corresponding to the version of the configuration source.

string
path
Optional

A file path prefix. The prefix is interpreted in the context of the configuration source's path prefix. Results will only include directories under this path.

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 FileTree of type(s) application/json
{
    "repositoryId": "string",
    "tree": [
        {
            "name": "string"
        }
    ]
}
string As uuid As uuid
repositoryId
Optional

The ID of a content source

array of object
tree
Optional

A list of directories


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

404

Not Found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/blueprint/api/blueprint-integrations/terraform/get-configuration-source-tree?configurationSourceId=v