prautomation

post/v1/api/scm/prautomations/{id}/invoke

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/api/scm/prautomations/{id}/invoke
  • Auth: none declared

Path parameters

idstring required

Request body

branchstring

Branch name for the pull request (overrides default)

contextobject required

Context variables to pass to the PR automation templates

identifierstring

Repository identifier (overrides default)

Response

no description

titlestring

Title of the pull request

bodystring

Body/description of the pull request

cluster_idstring

ID of the cluster this pull request is associated with, if any

creatorstring

Username of the pull request creator in the source control provider

idstring

Unique identifier for the pull request record

inserted_atstring date-time
labelsstring[]

Labels applied to the pull request

refstring

Git ref (branch name) for the pull request

service_idstring

ID of the service this pull request is associated with, if any

shastring

Git SHA of the pull request head

stack_idstring

ID of the stack this pull request is associated with, if any

status'open' | 'merged' | 'closed'

Current status of the pull request (open, merged, closed)

updated_atstring date-time
urlstring

URL of the pull request in the source control provider

Changes

No recorded changes to this operation across all 22 revisions of this API.