v1

latestOpenAPI 3.0.1Apache 2.02026-07-1759153352.8 KB
Session

Create a session resource

Create a session resource.

post/sessions

Request body

serviceIdstring
tagsTags
type'Dial' | 'Bind' | 'Invalid'

Response

The create request was successful and the resource has been added at the following location

Example response

{
  "data": {
    "_links": {
      "key": {
        "method": "method",
        "comment": "comment",
        "href": "https://openapi-generator.tech"
      }
    },
    "type": "Dial",
    "tags": {},
    "token": "token",
    "createdAt": "2000-01-23T04:56:07.000+00:00",
    "apiSession": {
      "_links": {
        "key": {
          "method": "method",
          "comment": "comment",
          "href": "https://openapi-generator.tech"
        }
      },
      "name": "name",
      "id": "id",
      "entity": "entity"
    },
    "edgeRouters": [
      {
        "hostname": "hostname",
        "urls": {
          "key": "urls"
        },
        "cost": 5248,
        "name": "name",
        "noTraversal": true,
        "disabled": true,
        "isOnline": true,
        "supportedProtocols": {
          "key": "supportedProtocols"
        },
        "appData": {},
        "syncStatus": "syncStatus"
      },
      {
        "hostname": "hostname",
        "urls": {
          "key": "urls"
        },
        "cost": 5248,
        "name": "name",
        "noTraversal": true,
        "disabled": true,
        "isOnline": true,
        "supportedProtocols": {
          "key": "supportedProtocols"
        },
        "appData": {},
        "syncStatus": "syncStatus"
      }
    ],
    "identityId": "identityId",
    "service": {
      "_links": {
        "key": {
          "method": "method",
          "comment": "comment",
          "href": "https://openapi-generator.tech"
        }
      },
      "name": "name",
      "id": "id",
      "entity": "entity"
    },
    "id": "id",
    "serviceId": "serviceId",
    "apiSessionId": "apiSessionId",
    "updatedAt": "2000-01-23T04:56:07.000+00:00"
  },
  "meta": {
    "apiEnrollmentVersion": "apiEnrollmentVersion",
    "apiVersion": "apiVersion",
    "pagination": {
      "offset": 6.027456183070403,
      "limit": 0.8008281904610115,
      "totalCount": 1.4658129805029452
    },
    "filterableFields": [
      "filterableFields",
      "filterableFields"
    ]
  }
}