[mirotalksfu] - add param notify to API join

هذا الالتزام موجود في:
Miroslav Pejic
2022-01-21 22:02:58 +01:00
الأصل 7059a0a7bd
التزام c99fdb3a0a
10 ملفات معدلة مع 54 إضافات و20 حذوفات

عرض الملف

@@ -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: