Instance handshake

Handshake request from Studio to an Extension

Instance handshake

POST https://example-service.lvis.io/lvis

Request Body

Name
Type
Description

id

string

Unique identifier across all platform instances, in UUID format.

name

string

Human-readable platform instance name.

auth_endpoint

string

Authentication endpoint.

static_host

string

Static host, which can be used to fetch public feeds.

{
  "service_id": "demographics",
  "service_type": "demographics",
  "analytics": true,
  "listings_notifications": false,
  "elements_notifications": false,
  "event_feeds": [
    {
      "id": "results",
      "name": "Segments Results"
    },
    {
      "id": "player_stats",
      "name": "Player statistics"
    }
  ],
  "event_subscription": {
    "types": ["event_created", "event_template_created"],
    "path": "/events_endpoint"
  }
}

Example

Response parameters

service_id

3rd party service identifier

service_type

analytics

Optional boolean flag to enable/disable Analytics API

listings_notifications

Flag shows whether Listings notification enabled

elements_notifications

Flag shows whether Elements notification enabled

event_feeds

Service feeds; Optional

event_subscription

Webhook events subscription configuration. Optional. When omitted, current subscriptions are removed.

Webhook events subscription

In order to subscribe to certain webhook events, handshake response must contain event_subscription object.

event_subscription.types - array of supported event types to subscribe. event_subscription.path - path to the webhook endpoint of the service.