Resources Setting Set Notification Template Setting
Set Notification Template Setting
Http Method
POST
End Point
/api/settings/notification-template
Request Body
Content Type
application/json
Example
{
"issueNotificationTemplate" : [ "string" ] ,
"pullRequestNotificationTemplate" : [ "string" ]
}
Response
Operation Successful
Status Code
200
Response Body
No response body if successful; error
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> -d@request-body.json -H "Content-Type: application/json" https://code.onedev.io/api/settings/notification-template
Please wait...
Page is in error, reload to recover