Fetch downstream addresses
GET/domains/:domain/downstream-address
Retrieve stored downstream addresses for the domain.
Request
Path Parameters
The domain name.
Query Parameters
Possible values: >= 1
The number of results to return, defaults to 10.
The offset into the results to return, defaults to 0.
Responses
- 200
- 400
- 403
- 404
- 500
Downstream addresses were fetched successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
records
object[]
The priority of the dowsntream address. Only addresses with the highest priority (the lowest numerical value) are selected.
Downstream addresses are selected in proportion to their weights. For example, if there are two downstream addresses, A with weight 40, and B with weight 10, then A is selected 80% of the time and B is selected 20% of the time.
TCP port on which the downstream mail server is listening.
The canonical hostname of the host providing the service, ending in a dot.
Possible values: <= 255 characters
{
"records": [
{
"priority": 0,
"weight": 0,
"port": 0,
"target": "string"
}
]
}
Bad Request, returned in the case that an error occurs while converting an A-label domain to a U-label domain name.
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Returned in the case that the domain is associated with an api key that is different than the one in the request, the domain is associated with a different customer, or the domain in the request is an alias domain.
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
The domain does not exist.
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"message": "string",
"errors": [
"string"
]
}