Get Environment Git Status
GET
/v1/environments/{id}/gitGet an environment's git configuration.
Request
Path Params
id
integer
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
id
null
required
type
string
required
attributes
object
required
Example
{
"data": {
"id": null,
"type": "string",
"attributes": {
"localpath": null,
"git_root": null,
"repodef": null,
"branch": null,
"autopull": null,
"pre_script": null,
"post_script": null,
"repomodified": null,
"enabled": null,
"commit": null,
"last_trigger": null,
"last_status": null,
"last_message": null
}
}
}
Modified at 4 months ago