YouTrack Standalone 7.0 Help

Set up Email Notification Service

POST /admin/setup/email

Setup email notification settings

POST /rest/admin/setup/email

Samples

Sample 1

Request

POST http://localhost:8081/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 0 Server: Jetty(7.2.0.v20101020)

Sample 2

Request

POST http://localhost:8081/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 400 Bad Request Expires: Tue, 18 May 2010 01:34:03 GMT Content-Type: text/html;charset=UTF-8 Cache-Control: no-store, no-cache, must-revalidate Cache-Control: post-check=0, pre-check=0 Pragma: no-cache Content-Length: 6993 Server: Jetty(7.2.0.v20101020)

Sample 3

Request

POST http://localhost:8081/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <actual file content, not shown here>

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 2 February 2017