MailSlurp\MissedEmailControllerApi
All URIs are relative to https://api.mailslurp.com
Method | HTTP request | Description |
---|---|---|
GetAllMissedEmails | Get /missed-emails | Get all MissedEmails in paginated format |
GetAllUnknownMissedEmails | Get /missed-emails/unknown | Get all unknown missed emails in paginated format |
GetMissedEmail | Get /missed-emails/{missedEmailId} | Get MissedEmail |
WaitForNthMissedEmail | Get /missed-emails/waitForNthMissedEmail | Wait for Nth missed email |
GetAllMissedEmails
PageMissedEmailProjection GetAllMissedEmails(ctx, optional)
Get all MissedEmails in paginated format
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetAllMissedEmailsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetAllMissedEmailsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
page | optional.Int32 | Optional page in list pagination | [default to 0] |
size | optional.Int32 | Optional page size in list pagination | [default to 20] |
sort | optional.String | Optional createdAt sort direction ASC or DESC | [default to ASC] |
searchFilter | optional.String | Optional search filter | |
since | optional.Time | Filter by created at after the given timestamp | |
before | optional.Time | Filter by created at before the given timestamp | |
inboxId | optional.Interface of string | Optional inbox ID filter |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
GetAllUnknownMissedEmails
PageUnknownMissedEmailProjection GetAllUnknownMissedEmails(ctx, optional)
Get all unknown missed emails in paginated format
Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetAllUnknownMissedEmailsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetAllUnknownMissedEmailsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
page | optional.Int32 | Optional page in list pagination | [default to 0] |
size | optional.Int32 | Optional page size in list pagination | [default to 20] |
sort | optional.String | Optional createdAt sort direction ASC or DESC | [default to ASC] |
searchFilter | optional.String | Optional search filter | |
since | optional.Time | Filter by created at after the given timestamp | |
before | optional.Time | Filter by created at before the given timestamp | |
inboxId | optional.Interface of string | Optional inbox ID filter |
Return type
PageUnknownMissedEmailProjection
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
GetMissedEmail
MissedEmail GetMissedEmail(ctx, missedEmailId)
Get MissedEmail
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
missedEmailId | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
WaitForNthMissedEmail
MissedEmail WaitForNthMissedEmail(ctx, , optional)
Wait for Nth missed email
Wait for 0 based missed email
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
**** | int32 | Zero based of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass =1 | |
optional | *WaitForNthMissedEmailOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a WaitForNthMissedEmailOpts struct
Name | Type | Description | Notes |
---|---|---|---|
inboxId | optional.Interface of string| Optional inbox ID filter | timeout | optional.Int64| Optional timeout milliseconds | since | optional.Time| Filter by created at after the given timestamp | before | optional.Time| Filter by created at before the given timestamp |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]