Skip to main contentIBM Video Streaming Developers

Virtual Events Registration

Get registration gate data of a virtual event

GET /channels/{channelId}/virtual-events/{eventId}/gate.json

Success response

Upon success, a response with HTTP status “200 OK” is returned with the following key-value pairs inside the gate root object.

KEYTYPEDESCRIPTION
enabledbooleanRegistration gate is enabled/disabled

Example of a success response:

{
"gate": {
"enabled": true
}
}

Error responses

Possible error responses:

HTTP RESPONSE CODEERROR VALUEERROR CONDITIONS
401 Unauthorizedinvalid_tokenThe provided access token is missing, revoked, expired or malformed
402 Payment Requiredinvalid_requestThe feature is not enabled for the user
403 Forbiddenlack_of_ownershipThe API user is not allowed to manage the given channel or event
404 Not Foundnot_foundChannel or event not found
500 Server Errorserver_errorAn error occurred
503 Service UnavailableThere is a temporary error on the server which makes it impossible to serve the request

Update registration gate data of a virtual event

PUT /channels/{channelId}/virtual-events/{eventId}/gate.json

Parameters

PARAMETERTYPEIMPORTANCEDESCRIPTION
enablestringREQUIREDtrue or false

The Content-Type of the request should be application/x-www-form-urlencoded.

Example of the request:

PUT /channels/123/virtual-events/100/gate.json HTTP/1.1
Host: api.video.ibm.com
Authorization: Bearer 3c2573673b782f6544405a22636f3d5d3b6f3950
Content-Type: application/x-www-form-urlencoded
enable=false

Success response

Upon success, a response with HTTP status “204 No Content” is returned.

Error responses

Possible error responses:

HTTP RESPONSE CODEERROR VALUEERROR CONDITIONS
400 Bad Requestbad_requestInvalid value was supplied
401 Unauthorizedinvalid_tokenThe provided access token is missing, revoked, expired or malformed
402 Payment Requiredinvalid_requestThe feature is not enabled for the user
403 Forbiddenlack_of_ownershipThe API user is not allowed to manage the given channel or event
404 Not Foundnot_foundChannel or event not found
500 Server Errorserver_errorAn error occurred
503 Service UnavailableThere is a temporary error on the server which makes it impossible to serve the request

Get registration form publish status of a virtual event

GET /channels/{channelId}/virtual-events/{eventId}/form.json

Success response

Upon success, a response with HTTP status “200 OK” is returned with the following key-value pairs inside the form root object.

KEYTYPEDESCRIPTION
publishedbooleanRegistration form is published or unpublished

Example of a success response:

{
"form": {
"published": true
}
}

Error responses

Possible error responses:

HTTP RESPONSE CODEERROR VALUEERROR CONDITIONS
401 Unauthorizedinvalid_tokenThe provided access token is missing, revoked, expired or malformed
402 Payment Requiredinvalid_requestThe feature is not enabled for the user
403 Forbiddenlack_of_ownershipThe API user is not allowed to manage the given channel or event
404 Not Foundnot_foundChannel or event not found
500 Server Errorserver_errorAn error occurred
503 Service UnavailableThere is a temporary error on the server which makes it impossible to serve the request

Get calendar data for an event

GET /channels/{channelId}/virtual-events/{eventId}/calendar.json

Success response

Upon success, a response with HTTP status “200 OK” is returned with the following key-value pairs inside the calendar root object.

KEYTYPEDESCRIPTION
icsstringString representation of the .ics file data

Example of a success response:

{
"calendar": {
"ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:icalendar-ruby\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nDTSTAMP:20201010T1010Z\r\nUID:8df6cc2f-75a0-456b-a067-55b42fabc9e8\r\nDTSTART;TZID=Europe/Budapest:20201010T101010\r\nDTEND;TZID=Europe/Budapest:20201011T10110\r\nDESCRIPTION:Event\r\nLOCATION:https://secure.video.ibm.com/channel/123/event/100\r\nSUMMARY:Event\r\nURL:https://secure.video.ibm.com/channel/123/event/100\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"
}
}

Error responses

Possible error responses:

HTTP RESPONSE CODEERROR VALUEERROR CONDITIONS
401 Unauthorizedinvalid_tokenThe provided access token is missing, revoked, expired or malformed
402 Payment Requiredinvalid_requestThe feature is not enabled for the user
403 Forbiddenlack_of_ownershipThe API user is not allowed to manage the given channel or event
404 Not Foundnot_foundChannel or event not found
500 Server Errorserver_errorAn error occurred
503 Service UnavailableThere is a temporary error on the server which makes it impossible to serve the request