ex_heroku_client v0.4.0 Heroku.SniEndpoint

Summary

Functions

Calls POST /apps/#{app_identity}/sni-endpoints

Calls DELETE /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

Calls GET /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

Calls GET /apps/#{app_identity}/sni-endpoints

Calls PATCH /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

Functions

create(app_identity, params)

Calls POST /apps/#{app_identity}/sni-endpoints

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "certificate_chain": {
      "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
      "example": "-----BEGIN CERTIFICATE----- ...",
      "readOnly": false,
      "type": [
        "string"
      ]
    },
    "private_key": {
      "description": "contents of the private key (eg .key file)",
      "example": "-----BEGIN RSA PRIVATE KEY----- ...",
      "readOnly": false,
      "type": [
        "string"
      ]
    }
  },
  "required": [
    "certificate_chain",
    "private_key"
  ],
  "type": [
    "object"
  ]
}
destroy(app_identity, sni_endpoint_identity)

Calls DELETE /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

get(app_identity, sni_endpoint_identity)

Calls GET /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

index(app_identity)

Calls GET /apps/#{app_identity}/sni-endpoints

update(app_identity, sni_endpoint_identity, params)

Calls PATCH /apps/#{app_identity}/sni-endpoints/#{sni_endpoint_identity}

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "certificate_chain": {
      "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
      "example": "-----BEGIN CERTIFICATE----- ...",
      "readOnly": false,
      "type": [
        "string"
      ]
    },
    "private_key": {
      "description": "contents of the private key (eg .key file)",
      "example": "-----BEGIN RSA PRIVATE KEY----- ...",
      "readOnly": false,
      "type": [
        "string"
      ]
    }
  },
  "required": [
    "certificate_chain",
    "private_key"
  ],
  "type": [
    "object"
  ]
}