ex_heroku_client v0.3.0 Heroku.LogDrain

Summary

Functions

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

Calls DELETE /apps/#{app_identity}/log-drains/#{log_drain_query_identity}

Calls GET /apps/#{app_identity}/log-drains/#{log_drain_query_identity}

Calls GET /apps/#{app_identity}/log-drains

Functions

create(app_identity, params)

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

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "url": {
      "description": "url associated with the log drain",
      "example": "https://example.com/drain",
      "readOnly": true,
      "type": [
        "string"
      ]
    }
  },
  "required": [
    "url"
  ],
  "type": [
    "object"
  ]
}
destroy(app_identity, log_drain_query_identity)

Calls DELETE /apps/#{app_identity}/log-drains/#{log_drain_query_identity}

get(app_identity, log_drain_query_identity)

Calls GET /apps/#{app_identity}/log-drains/#{log_drain_query_identity}

index(app_identity)

Calls GET /apps/#{app_identity}/log-drains