Skip to main content
POST
Create a watch

Body

application/json
provider
string
required

Connector id: github or npm

resource
string
required

Watched resource, e.g. owner/repo or npm package

event
string

Event type; comma-separated for multiple

installation
string

Console provider installation id

name
string

Human name for this watch

placement
string

auto|local|console (default: auto)

project
string

Console project id

resourceId
string

Console provider resource id

Response

Success — body conforms to the @Returns schema.

capabilities
object
required
next
object
required
status
string
required
watch
object
required
{key}
any