get listing
GET /api/rest/admin/system/smtp-connections
Parameters
Name |
Description |
filter[id]
|
id filter
|
filter[name]
|
name filter
|
Request
Headers
Route
GET /api/rest/admin/system/smtp-connections
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "1",
"type": "smtp-connections",
"links": {
"self": "http://example.org/api/rest/admin/system/smtp-connections/1"
},
"attributes": {
"name": "smtp_connection1",
"host": "host",
"port": 25,
"from-address": "address@email.com",
"auth-user": null,
"auth-password": null,
"global": true
}
},
{
"id": "2",
"type": "smtp-connections",
"links": {
"self": "http://example.org/api/rest/admin/system/smtp-connections/2"
},
"attributes": {
"name": "smtp_connection2",
"host": "host",
"port": 25,
"from-address": "address@email.com",
"auth-user": null,
"auth-password": null,
"global": true
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/system/smtp-connections?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/system/smtp-connections?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}