Sha256: f4073c2e85191bd7631df4172dca0897f4977deb5c949d141ae6901db469ec59

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

{
  "protocol" : "AccessToken",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "AccessToken",
    "doc" : "A Twilio Access token that the client can use to authenticate with Avvo's Twilio IP Messaging Channels",
    "fields" : [ {
      "name" : "identity",
      "type" : "string"
    }, {
      "name" : "token",
      "type" : "string"
    } ]
  }, {
    "type" : "record",
    "name" : "AccessTokenRequestParams",
    "doc" : "The accepted attributes that we'd like to fetch by in the index endpoint",
    "fields" : [ {
      "name" : "push_notifications_sid",
      "type" : [ "null", "int" ],
      "doc" : "The Twilio Push Notifications SID for the client, used primarily by the iOS SDK"
    }, {
      "name" : "endpoint_id",
      "type" : [ "null", "int" ],
      "doc" : "The unique endpoint ID for the IP Messaging Client"
    } ]
  } ],
  "messages" : {
    "index" : {
      "request" : [ {
        "name" : "params",
        "type" : "AccessTokenRequestParams"
      } ],
      "response" : {
        "type" : "array",
        "items" : "AccessToken"
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/messaging/compiled/access_token.avpr