All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
create_or_update_email_configuration | POST /v2/facts/{proj_id}/{env_id}/email_configurations | Create Or Update Email Configuration |
get_email_configuration | GET /v2/facts/{proj_id}/{env_id}/email_configurations | Get Email Configuration |
send_test_email | POST /v2/facts/{proj_id}/{env_id}/email_configurations/send_test_email | Send Test Email |
models::EmailConfigurationRead create_or_update_email_configuration(proj_id, env_id, email_configuration_create) Create Or Update Email Configuration
Create new configuration or updates the email configuration
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
email_configuration_create | EmailConfigurationCreate | [required] |
models::EmailConfigurationRead
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::EmailConfigurationRead get_email_configuration(proj_id, env_id) Get Email Configuration
Gets the email configuration defined within an environment.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] |
models::EmailConfigurationRead
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value send_test_email(proj_id, env_id, email_configuration_create) Send Test Email
Sends a test email to the email address defined in the user.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
email_configuration_create | EmailConfigurationCreate | [required] |
serde_json::Value
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]