跳到主要内容
版本:v0.6

Update terraform states for a resource run that belongs to an environment of a project.

Update terraform states for a resource run.

Update terraform states for a resource run that belongs to an environment of a project.

Path Parameters
    project string required
    environment string required
    resource string required
    resourcerun string required
Request Body required

    string

Responses

OK


Schema
    message string
    status integer

    Default value: 200

    statusText string

    Default value: OK

PUT /v1/projects/:project/environments/:environment/resources/:resource/runs/:resourcerun/terraform-states

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
project — path required
environment — path required
resource — path required
resourcerun — path required
Body required
"string"
curl / cURL
curl -L -X PUT 'https://seal-io.github.io/v1/projects/:project/environments/:environment/resources/:resource/runs/:resourcerun/terraform-states' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '"string"'