Skip to content

Latest commit

 

History

History
106 lines (64 loc) · 2.61 KB

MailServerApi.md

File metadata and controls

106 lines (64 loc) · 2.61 KB

MailServerApi

All URIs are relative to https://<CONFLUENCE_URL>/rest/bootstrapi/1

Method HTTP request Description
getMailServerPop GET /mail-server/pop Get the default POP mail server
getMailServerSmtp GET /mail-server/smtp Get the default SMTP mail server
setMailServerPop PUT /mail-server/pop Set the default POP mail server
setMailServerSmtp PUT /mail-server/smtp Set the default SMTP mail server

getMailServerPop

MailServerPopBean getMailServerPop()

Get the default POP mail server

Parameters

This endpoint does not need any parameter.

Return type

MailServerPopBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getMailServerSmtp

MailServerSmtpBean getMailServerSmtp()

Get the default SMTP mail server

Parameters

This endpoint does not need any parameter.

Return type

MailServerSmtpBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

setMailServerPop

MailServerPopBean setMailServerPop(MailServerPopBean)

Set the default POP mail server

Parameters

Name Type Description Notes
MailServerPopBean MailServerPopBean

Return type

MailServerPopBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

setMailServerSmtp

MailServerSmtpBean setMailServerSmtp(MailServerSmtpBean)

Set the default SMTP mail server

Parameters

Name Type Description Notes
MailServerSmtpBean MailServerSmtpBean

Return type

MailServerSmtpBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json