[mirotalksfu] - add param notify to API join
هذا الالتزام موجود في:
@@ -17,6 +17,7 @@ function getResponse() {
|
||||
name: 'mirotalksfu',
|
||||
audio: true,
|
||||
video: true,
|
||||
notify: true,
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -16,10 +16,11 @@ $headers = [
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
|
||||
$data = array(
|
||||
"room" => "test",
|
||||
"name" => "mirotalksfu",
|
||||
"audio" => true,
|
||||
"video" => true,
|
||||
"room" => "test",
|
||||
"name" => "mirotalksfu",
|
||||
"audio" => true,
|
||||
"video" => true,
|
||||
"notify" => true,
|
||||
);
|
||||
$data_string = json_encode($data);
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ data = {
|
||||
"name": "mirotalksfu",
|
||||
"audio": "true",
|
||||
"video": "true",
|
||||
"notify": "true",
|
||||
}
|
||||
|
||||
response = requests.post(
|
||||
|
||||
@@ -6,5 +6,5 @@ MIROTALK_URL="http://localhost:3010/api/v1/join"
|
||||
curl $MIROTALK_URL \
|
||||
--header "authorization: $API_KEY" \
|
||||
--header "Content-Type: application/json" \
|
||||
--data '{"room":"test","name":"mirotalksfu","audio":"1","video":"1"}' \
|
||||
--data '{"room":"test","name":"mirotalksfu","audio":"1","video":"1","notify":"1"}' \
|
||||
--request POST
|
||||
@@ -48,6 +48,7 @@ paths:
|
||||
- name
|
||||
- audio
|
||||
- video
|
||||
- notify
|
||||
properties:
|
||||
room:
|
||||
type: string
|
||||
@@ -57,6 +58,8 @@ paths:
|
||||
type: boolean
|
||||
video:
|
||||
type: boolean
|
||||
notify:
|
||||
type: boolean
|
||||
consumes:
|
||||
- 'application/json'
|
||||
produces:
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم