YouTrack InCloud 7.0 Help

Get Email Notification Service Settings

GET /admin/setup/email

Get email notification service settings

GET /rest/admin/setup/email

Samples

Sample 1

Request

GET http://localhost:8081/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 123 Server: Jetty(7.2.0.v20101020) <?xml version="1.0" encoding="UTF-8" standalone="yes"?><email enabled="false"><secure>false</secure><port>25</port></email>

Sample 2

Request

GET http://localhost:8081/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 230 Server: Jetty(7.2.0.v20101020) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <email enabled="true"> <from>jetbrains.tracker@gmail.com</from> <login>jetbrains.tracker@gmail.com</login> <secure>true</secure> <port>25</port> <host>smtp.gmail.com</host> </email>
Last modified: 29 September 2016