POST
/
organisations
/
{organisationId}
/
hubs
/
{hubId}
/
boards
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/hubs/{hubId}/boards \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "id": "<string>",
  "orgId": "<string>",
  "name": "<string>",
  "hubId": "<string>",
  "status": "unknown",
  "activePublishInfo": {
    "id": "<string>",
    "taskId": "<string>",
    "lastEventId": "<string>",
    "listeners": [
      {
        "id": "<string>",
        "appNodeId": "<string>",
        "operationNodeId": "<string>",
        "url": "<string>",
        "contentType": "<string>",
        "security": {},
        "additionalHeaders": {},
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  },
  "recentPublishHistory": [
    {
      "id": "<string>",
      "taskId": "<string>",
      "lastEventId": "<string>",
      "listeners": [
        {
          "id": "<string>",
          "appNodeId": "<string>",
          "operationNodeId": "<string>",
          "url": "<string>",
          "contentType": "<string>",
          "security": {},
          "additionalHeaders": {},
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "deletedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "tags": {},
  "thumbnailUrl": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required
hubId
string
required

Body

application/json
Payload to create a new Board belonging to a Hub.

The body is of type object.

Response

201
application/json
A single Board result

The response is of type object.