You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: _posts/2.5/2021-06-09-new.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,39 @@ Private guest lobby message, display position in waiting line
67
67
68
68
A new API endpoint was added: `/insertDocument`. Now, it is possible to send a batch of documents with all the common presentation parameters such as `current`, `downloadable` and `removable`.
69
69
70
-
All the presentations are sent via payload (the body of the request), whether by a link to download the file or by `base64` encoded file.
70
+
All the presentations are sent via payload (the body of the request) such as when preuploading documents in `/create` endpoint, whether by a link to download the file or by `base64` encoded file.
71
+
72
+
You can send the request via greenlight or bash, as displayed below:
73
+
74
+
```bash
75
+
curl -s -X POST "https://{your-host}/bigbluebutton/api/insertDocument?meetingID=Test&checksum=6b76e90b9a20481806a7ef513bc81ef0299609ed" --header "Content-Type: application/xml" --data '<modules>
76
+
<module name="presentation">
77
+
<document current="true" downloadable="true" url="{link to download the presentation}" filename="sample.pdf"/>
- It is responsible to insert a presentation in a meeting that already exists;
86
+
- It works the same way as preuploading documents in `/create` endpoint: the requests are sent with a payload expliciting the presentations in a xml string. As an example refer to the [notes in "new" route.](#insertdocument)
87
+
82
88
# API Data Types
83
89
84
90
There are three types in the API.
@@ -324,6 +330,7 @@ The following section describes the administration calls
324
330
| create | Creates a new meeting. |
325
331
| join | Join a new user to an existing meeting. |
326
332
| end | Ends meeting. |
333
+
| insertDocument | Insert a batch of documents via API call |
327
334
328
335
## Monitoring
329
336
@@ -529,6 +536,54 @@ There is only an XML response for this call if the `redirect` parameter is set t
529
536
</response>
530
537
```
531
538
539
+
## insertDocument
540
+
541
+
This endpoint insert one or more documents into a running meeting via API call
0 commit comments