PATCH/projects/api/v3/budget/notifications/{notificationId}.json
Update an existing notification.
Path Params
- Name
notificationId
- Type
- integer
- required
- Description
Body Params
ProjectBudgetRequest contains information of a notification to be created or updated.
- Name
notification
- Type
- object
- Description
- ProjectBudgetNotification contains all the information returned from a notification.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
Response contains information about a specific notification.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 404
- Description
- 404 Not Found No Data
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
200 OK
Response
{
"notification": {
"action": "string",
"command": "string",
"date": "string",
"description": "string",
"event": "string",
"extraDescription": "string",
"extraInfo": "string",
"extraLink": "string",
"id": 0,
"installation": {
"id": 0,
"meta": {},
"type": "string"
},
"item": {
"id": 0,
"type": "string"
},
"link": "string",
"popUp": true,
"privacy": {
"lockdownId": 0,
"private": true
},
"project": {
"id": 0,
"name": "string"
},
"read": true,
"user": {
"avatar_url": "string",
"firstname": "string",
"id": 0,
"lastname": "string"
}
}
}