ex_heroku_client v0.1.0 Heroku.LogSession

Summary

Functions

Calls POST /apps/#{app_identity}/log-sessions

Functions

create(app_identity, params \\ %{})

Calls POST /apps/#{app_identity}/log-sessions

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "dyno": {
      "description": "dyno to limit results to",
      "example": "web.1",
      "readOnly": false,
      "type": [
        "string"
      ]
    },
    "lines": {
      "description": "number of log lines to stream at once",
      "example": 10,
      "readOnly": false,
      "type": [
        "integer"
      ]
    },
    "source": {
      "description": "log source to limit results to",
      "example": "app",
      "readOnly": false,
      "type": [
        "string"
      ]
    },
    "tail": {
      "description": "whether to stream ongoing logs",
      "example": true,
      "readOnly": false,
      "type": [
        "boolean"
      ]
    }
  },
  "type": [
    "object"
  ]
}