Set Notification Template Setting
- Http Method
- POST
- End Point
-
/~api/settings/notification-template
- Request Body
-
- Content Type
- application/json
- Example
-
{
"issueNotification" : "string" ,"pullRequestNotification" : "string" ,"buildNotification" : "string" ,"packNotification" : "string" ,"commitNotification" : "string" ,"issueNotificationUnsubscribed" : "string" ,"pullRequestNotificationUnsubscribed" : "string" ,"serviceDeskIssueOpened" : "string" ,"serviceDeskIssueOpenFailed" : "string" ,"userInvitation" : "string" ,"emailVerification" : "string" ,"passwordReset" : "string" ,"stopwatchOverdue" : "string" ,"alert" : "string"
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- No response body
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/settings/notification-template