import 'package:cloudflare_dart/api.dart';All URIs are relative to https://api.cloudflare.com/client/v4
| Method | HTTP request | Description |
|---|---|---|
| addParticipant | POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants | Add a participant |
| createMeeting | POST /accounts/{account_id}/realtime/kit/{app_id}/meetings | Create a meeting |
| deleteMeetingParticipant | DELETE /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id} | Delete a participant |
| editParticipant | PATCH /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id} | Edit a participant's detail |
| getAllMeetings | GET /accounts/{account_id}/realtime/kit/{app_id}/meetings | Fetch all meetings for an App |
| getMeeting | GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id} | Fetch a meeting for an App |
| getMeetingParticipant | GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id} | Fetch a participant's detail |
| getMeetingParticipants | GET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants | Fetch all participants of a meeting |
| regenerateToken | POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}/token | Refresh participant's authentication token |
| replaceMeeting | PUT /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id} | Replace a meeting |
| updateMeeting | PATCH /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id} | Update a meeting |
AddParticipant201Response addParticipant(accountId, appId, meetingId, addParticipantRequest)
Add a participant
Adds a participant to the given meeting ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | ID of the meeting. Fetch the meeting ID using the create a meeting API.
final AddParticipantRequest addParticipantRequest = ; // AddParticipantRequest |
try {
final response = api.addParticipant(accountId, appId, meetingId, addParticipantRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->addParticipant: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | ID of the meeting. Fetch the meeting ID using the create a meeting API. | |
| addParticipantRequest | AddParticipantRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMeeting201Response createMeeting(accountId, appId, createMeetingRequest)
Create a meeting
Create a meeting for the given App ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final CreateMeetingRequest createMeetingRequest = ; // CreateMeetingRequest | Create meeting body
try {
final response = api.createMeeting(accountId, appId, createMeetingRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->createMeeting: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| createMeetingRequest | CreateMeetingRequest | Create meeting body | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteMeetingParticipant200Response deleteMeetingParticipant(accountId, appId, meetingId, participantId)
Delete a participant
Deletes a participant for the given meeting and participant ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final String participantId = participantId_example; // String | ID of the participant. You can fetch the participant ID using the add a participant API.
try {
final response = api.deleteMeetingParticipant(accountId, appId, meetingId, participantId);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->deleteMeetingParticipant: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| participantId | String | ID of the participant. You can fetch the participant ID using the add a participant API. |
DeleteMeetingParticipant200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AddParticipant201Response editParticipant(accountId, appId, meetingId, participantId, editParticipantRequest)
Edit a participant's detail
Updates a participant's details for the given meeting and participant ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final String participantId = participantId_example; // String | ID of the participant. You can fetch the participant ID using the add a participant API.
final EditParticipantRequest editParticipantRequest = ; // EditParticipantRequest |
try {
final response = api.editParticipant(accountId, appId, meetingId, participantId, editParticipantRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->editParticipant: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| participantId | String | ID of the participant. You can fetch the participant ID using the add a participant API. | |
| editParticipantRequest | EditParticipantRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAllMeetings200Response getAllMeetings(accountId, appId, pageNo, perPage, startTime, endTime, search)
Fetch all meetings for an App
Returns all meetings for the given App ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final num pageNo = 8.14; // num | The page number from which you want your page search results to be displayed.
final num perPage = 8.14; // num | Number of results per page
final DateTime startTime = 2013-10-20T19:20:30+01:00; // DateTime | The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.
final DateTime endTime = 2013-10-20T19:20:30+01:00; // DateTime | The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.
final String search = search_example; // String | The search query string. You can search using the meeting ID or title.
try {
final response = api.getAllMeetings(accountId, appId, pageNo, perPage, startTime, endTime, search);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->getAllMeetings: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| pageNo | num | The page number from which you want your page search results to be displayed. | [optional] |
| perPage | num | Number of results per page | [optional] |
| startTime | DateTime | The start time range for which you want to retrieve the meetings. The time must be specified in ISO format. | [optional] |
| endTime | DateTime | The end time range for which you want to retrieve the meetings. The time must be specified in ISO format. | [optional] |
| search | String | The search query string. You can search using the meeting ID or title. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMeeting201Response getMeeting(accountId, appId, meetingId, name)
Fetch a meeting for an App
Returns a meeting details in an App for the given meeting ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final String name = name_example; // String |
try {
final response = api.getMeeting(accountId, appId, meetingId, name);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->getMeeting: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| name | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetMeetingParticipant200Response getMeetingParticipant(accountId, appId, meetingId, participantId)
Fetch a participant's detail
Returns a participant details for the given meeting and participant ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final String participantId = participantId_example; // String | ID of the participant. You can fetch the participant ID using the add a participant API.
try {
final response = api.getMeetingParticipant(accountId, appId, meetingId, participantId);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->getMeetingParticipant: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| participantId | String | ID of the participant. You can fetch the participant ID using the add a participant API. |
GetMeetingParticipant200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetMeetingParticipants200Response getMeetingParticipants(accountId, appId, meetingId, pageNo, perPage)
Fetch all participants of a meeting
Returns all participants detail for the given meeting ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | ID of the meeting. Fetch the meeting ID using the create a meeting API.
final num pageNo = 8.14; // num | The page number from which you want your page search results to be displayed.
final num perPage = 8.14; // num | Number of results per page
try {
final response = api.getMeetingParticipants(accountId, appId, meetingId, pageNo, perPage);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->getMeetingParticipants: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | ID of the meeting. Fetch the meeting ID using the create a meeting API. | |
| pageNo | num | The page number from which you want your page search results to be displayed. | [optional] |
| perPage | num | Number of results per page | [optional] |
GetMeetingParticipants200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegenerateToken200Response regenerateToken(accountId, appId, meetingId, participantId)
Refresh participant's authentication token
Regenerates participant's authentication token for the given meeting and participant ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | ID of the meeting. You can fetch the meeting ID using the create a meeting API.
final String participantId = participantId_example; // String | ID of the participant. You can fetch the participant ID using the add a participant API.
try {
final response = api.regenerateToken(accountId, appId, meetingId, participantId);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->regenerateToken: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | ID of the meeting. You can fetch the meeting ID using the create a meeting API. | |
| participantId | String | ID of the participant. You can fetch the participant ID using the add a participant API. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMeeting201Response replaceMeeting(accountId, appId, meetingId, createMeetingRequest)
Replace a meeting
Replaces all the details for the given meeting ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final CreateMeetingRequest createMeetingRequest = ; // CreateMeetingRequest | Create meeting body
try {
final response = api.replaceMeeting(accountId, appId, meetingId, createMeetingRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->replaceMeeting: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| createMeetingRequest | CreateMeetingRequest | Create meeting body | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateMeeting201Response updateMeeting(accountId, appId, meetingId, updateMeetingRequest)
Update a meeting
Updates a meeting in an App for the given meeting ID.
import 'package:cloudflare_dart/api.dart';
final api = CloudflareDart().getMeetingsApi();
final String accountId = accountId_example; // String |
final String appId = appId_example; // String |
final String meetingId = 550e8400-e29b-41d4-a716-446655440000; // String | The unique identifier for the meeting.
final UpdateMeetingRequest updateMeetingRequest = ; // UpdateMeetingRequest | Create meeting body
try {
final response = api.updateMeeting(accountId, appId, meetingId, updateMeetingRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling MeetingsApi->updateMeeting: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| appId | String | ||
| meetingId | String | The unique identifier for the meeting. | |
| updateMeetingRequest | UpdateMeetingRequest | Create meeting body | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]