Liftbay
API referenceProjects

Set my build emails for this project

PUT
/v1/orgs/{org}/projects/{project}/notifications

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

Request Body

application/json
  1. body
buildSucceeded*boolean
buildFailed*boolean

Response Body

OK

application/json
  1. response
buildSucceeded*boolean
buildFailed*boolean
curl -X PUT "https://example.com/v1/orgs/string/projects/string/notifications" \  -H "Content-Type: application/json" \  -d '{    "buildSucceeded": true,    "buildFailed": true  }'
{  "buildSucceeded": true,  "buildFailed": true}