Create a server for an event
curl --request POST \
--url https://api.hyra.io/activity/sessions/{workspaceId}/{eventId}/server \
--header 'Authorization: Bearer <token>'
{
"source": "<string>",
"groups": [
{
"_id": "<string>",
"name": "<string>",
"priority": 123,
"roles": [
{
"_id": "<string>",
"user_id": "<string>"
}
],
"attendees": [
{
"_id": "<string>",
"user_id": "<string>"
}
]
}
],
"created_by": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Default Response
The response is of type object
.
curl --request POST \
--url https://api.hyra.io/activity/sessions/{workspaceId}/{eventId}/server \
--header 'Authorization: Bearer <token>'
{
"source": "<string>",
"groups": [
{
"_id": "<string>",
"name": "<string>",
"priority": 123,
"roles": [
{
"_id": "<string>",
"user_id": "<string>"
}
],
"attendees": [
{
"_id": "<string>",
"user_id": "<string>"
}
]
}
],
"created_by": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Create a server for an event
curl --request POST \
--url https://api.hyra.io/activity/sessions/{workspaceId}/{eventId}/server \
--header 'Authorization: Bearer <token>'
{
"source": "<string>",
"groups": [
{
"_id": "<string>",
"name": "<string>",
"priority": 123,
"roles": [
{
"_id": "<string>",
"user_id": "<string>"
}
],
"attendees": [
{
"_id": "<string>",
"user_id": "<string>"
}
]
}
],
"created_by": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Default Response
The response is of type object
.
curl --request POST \
--url https://api.hyra.io/activity/sessions/{workspaceId}/{eventId}/server \
--header 'Authorization: Bearer <token>'
{
"source": "<string>",
"groups": [
{
"_id": "<string>",
"name": "<string>",
"priority": 123,
"roles": [
{
"_id": "<string>",
"user_id": "<string>"
}
],
"attendees": [
{
"_id": "<string>",
"user_id": "<string>"
}
]
}
],
"created_by": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}