Message: Get From User Session

Request - From the plugin

API name: go.processor.session.get

Request parameters: empty

Request headers: empty

Request body: This should contain plugin-id of requesting plugin.

Example request:

{
    "plugin-id": "sample-plugin-id"
}

Response - From the server

Expected response body: The server is expected to send a response, which contains a session-data as key-value pair.

Example response:

{
    "verification-code": "123456",
    "sms-sent-on": "2011-07-14T19:43:37.100Z"
}

Schema information

JSON schema of request from the server:

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "/",
  "type": "object",
  "properties": {
    "plugin-id": {
      "id": "plugin-id",
      "type": "string",
      "required: true
    }
  },
  "additionalProperties": false
}

JSON schema of expected response:



results matching ""

    No results matching ""