List server logs

GET /servers/{serverId}/logs

Parameters
search optionalStringSearching string if you wanted to search from list of logs
HTTP Request
GET https://manage.runcloud.io/api/v2/servers/{serverId}/logs
Request
curl --request GET \
  --url https://manage.runcloud.io/api/v2/servers/7/logs \
  -u YOUR_API_KEY:YOUR_API_SECRET \
  --header 'accept: application/json' \
  --header 'content-type: application/json'
Response
{
  "data": [
    {
      "kind": "Info",
      "content": "Unban IP Address 1.1.1.222 from SSH",
      "created_at": "2019-06-27 13:09:35"
    },
    {
      "kind": "Info",
      "content": "Unban IP Address 1.1.1.1 from SSH",
      "created_at": "2019-06-27 13:08:10"
    },
    {
      "kind": "High Priority Info",
      "content": "Successfully deployed firewall rules",
      "created_at": "2019-06-27 10:16:21"
    },
    ....
    ....
    ....
  ],
  "meta": {
    "pagination": {
      "total": 1304,
      "count": 15,
      "per_page": 15,
      "current_page": 1,
      "total_pages": 87,
      "links": {
        "next": "https:\/\/runcloud-gateway.test\/api\/v2\/servers\/7\/logs?page=2"
      }
    }
  }
}