message
Return all messages from a specific application.
Changed onget/application/{id}/message
Request
- Base URLhttp://localhost
- Auth
- API key in header Authorization
- or API key in header X-Gotify-Key
- or API key in query parameter token
- or HTTP basic
Path parameters
idinteger required
the application id
Query parameters
limitinteger
the maximal amount of messages to return
sinceinteger
return all messages with an ID less than this value
Response
Ok
Example response
{
"messages": [
{
"appid": 5,
"date": "2018-02-27T19:36:10.5045044+01:00",
"extras": {
"home::appliances::lighting::on": {
"brightness": 15
},
"home::appliances::thermostat::change_temperature": {
"temperature": 23
}
},
"id": 25,
"message": "**Backup** was successfully finished.",
"priority": 2,
"title": "Backup"
}
],
"paging": {
"limit": 123,
"next": "/message?limit=50&since=123456",
"since": 5,
"size": 5
}
}Changes
- info
the endpoint scheme security
clientTokenAuthorizationHeaderwas added to the API
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info