Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create git automation state

POST/workspaces/{organizationId}/git-automation-states
Path parameters
organizationIdstringrequired
Request body
application/json
stateIdstringrequired
prStatestringrequired
Responses
201State created
idstringrequired
organizationIdstringrequired
stateIdstringrequired
prStatestringrequired
createdAtstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/workspaces/string/git-automation-states" \
  -H "Content-Type: application/json" \
  -d '{
  "stateId": "string",
  "prState": "string"
}'
Response
{
  "id": "string",
  "organizationId": "string",
  "stateId": "string",
  "prState": "string",
  "createdAt": "string"
}