ex_heroku_client v0.1.0 Heroku.AddonConfig

Summary

Functions

Calls GET /addons/#{addon_identity}/config

Calls PATCH /addons/#{addon_identity}/config

Functions

index(addon_identity)

Calls GET /addons/#{addon_identity}/config

update(addon_identity, params \\ %{})

Calls PATCH /addons/#{addon_identity}/config

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "config": {
      "additionalItems": true,
      "items": {
        "$schema": "http://json-schema.org/draft-04/schema",
        "definitions": {
          "identity": {
            "anyOf": [
              {
                "description": "unique name of the config",
                "example": "FOO",
                "type": [
                  "string"
                ]
              }
            ]
          },
          "name": {
            "description": "unique name of the config",
            "example": "FOO",
            "type": [
              "string"
            ]
          },
          "value": {
            "description": "value of the config",
            "example": "bar",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "description": "Configuration of an Add-on",
        "properties": {
          "name": {
            "description": "unique name of the config",
            "example": "FOO",
            "type": [
              "string"
            ]
          },
          "value": {
            "description": "value of the config",
            "example": "bar",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "stability": "development",
        "strictProperties": true,
        "title": "Heroku Platform API - Add-on Config",
        "type": [
          "object"
        ]
      },
      "type": [
        "array"
      ]
    }
  },
  "type": [
    "object"
  ]
}