History
Last updated
Was this helpful?
Last updated
Was this helpful?
This endpoint is used to see terraform states changes over time for a Terrakube workspace.
To use this endpoint you should have "manageWorkspace" access at team level and a Terrakube workspace
data.type
string
Should be "history"
data.attributes.output
string
Unique variable name
{
"data": {
"type": "history",
"attributes": {
"output": "Terraform JSON State URL"
}
}
}
Returns the relationship history
workspace Identifier
Filters the collection of history using a 'disjoint' RSQL expression
Number of pages to return. Can be used with page[size]
Number of elements per page. Can be used with page[number]
Offset from 0 to start paginating. Can be used with page[limit]
Maximum number of items to return. Can be used with page[offset]
For requesting total pages/records be included in the response page meta data
GET /api/v1/workspace/{workspaceId}/history HTTP/1.1
Host:
Accept: */*
Successful response
{
"data": [],
"included": [
{
"attributes": {},
"id": "text",
"relationships": {},
"type": "text"
}
]
}