Veri eşleme
| LMS | Sotech Meet |
|---|---|
| Ders oturumu kimliği | correlationTag |
| Eğitmen | host-link ya da role: "host" |
| Asistan | role: "cohost" |
| Öğrenci kimliği | externalUserId |
| Büyük amfi dersi | isWebinar: true |
| Ders kaydı | recordingMode: "Auto" |
Ders planlama
Ders programına bir oturum eklendiğinde toplantıyı oluşturun; saat değişince PATCH, iptal edilince DELETE çağırın. Etiket olarak LMS'teki oturum kimliğini kullanın.
curl -X POST "https://meet.sotech.com.tr/api/v1/integration/meetings" \
-H "X-Api-Key: $SOTECH_MEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"topic": "MAT101 — Week 3",
"correlationTag": "lms:session:8421",
"startUtc": "2026-12-05T10:00:00Z",
"durationMinutes": 90,
"recordingMode": "Auto",
"waitingRoom": true
}'const res = await fetch("https://meet.sotech.com.tr/api/v1/integration/meetings", {
method: "POST",
headers: {
"X-Api-Key": process.env.SOTECH_MEET_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"topic": "MAT101 — Week 3",
"correlationTag": "lms:session:8421",
"startUtc": "2026-12-05T10:00:00Z",
"durationMinutes": 90,
"recordingMode": "Auto",
"waitingRoom": true
}),
});
if (!res.ok) throw new Error(`Sotech Meet: ${res.status} ${(await res.json()).code}`);
const data = await res.json();import os, requests
res = requests.post(
"https://meet.sotech.com.tr/api/v1/integration/meetings",
headers={"X-Api-Key": os.environ["SOTECH_MEET_API_KEY"]},
json={
"topic": "MAT101 — Week 3",
"correlationTag": "lms:session:8421",
"startUtc": "2026-12-05T10:00:00Z",
"durationMinutes": 90,
"recordingMode": "Auto",
"waitingRoom": True
},
timeout=30,
)
res.raise_for_status()
data = res.json()using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", Environment.GetEnvironmentVariable("SOTECH_MEET_API_KEY"));
var body = new StringContent("""
{
"topic": "MAT101 — Week 3",
"correlationTag": "lms:session:8421",
"startUtc": "2026-12-05T10:00:00Z",
"durationMinutes": 90,
"recordingMode": "Auto",
"waitingRoom": true
}
""", System.Text.Encoding.UTF8, "application/json");
var res = await http.PostAsync("https://meet.sotech.com.tr/api/v1/integration/meetings", body);
res.EnsureSuccessStatusCode();
var json = await res.Content.ReadAsStringAsync();Derse katılım
Eğitmen "Dersi başlat" düğmesine bastığında host-link, öğrenci "Derse katıl" düğmesine bastığında tek kişilik join-links çağırın ve kullanıcıyı dönen webUrl'e yönlendirin. Bağlantıları saklamayın; her tıklamada yenisini üretin.
curl -X POST "https://meet.sotech.com.tr/api/v1/integration/meetings/03c7ab8b-9d45-48e2-a3f2-5cba3b77bbb7/join-links" \
-H "X-Api-Key: $SOTECH_MEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"participants": [
{
"displayName": "Ayşe Yılmaz",
"email": "[email protected]",
"externalUserId": "student-204"
}
]
}'const res = await fetch("https://meet.sotech.com.tr/api/v1/integration/meetings/03c7ab8b-9d45-48e2-a3f2-5cba3b77bbb7/join-links", {
method: "POST",
headers: {
"X-Api-Key": process.env.SOTECH_MEET_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"participants": [
{
"displayName": "Ayşe Yılmaz",
"email": "[email protected]",
"externalUserId": "student-204"
}
]
}),
});
if (!res.ok) throw new Error(`Sotech Meet: ${res.status} ${(await res.json()).code}`);
const data = await res.json();import os, requests
res = requests.post(
"https://meet.sotech.com.tr/api/v1/integration/meetings/03c7ab8b-9d45-48e2-a3f2-5cba3b77bbb7/join-links",
headers={"X-Api-Key": os.environ["SOTECH_MEET_API_KEY"]},
json={
"participants": [
{
"displayName": "Ayşe Yılmaz",
"email": "[email protected]",
"externalUserId": "student-204"
}
]
},
timeout=30,
)
res.raise_for_status()
data = res.json()using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", Environment.GetEnvironmentVariable("SOTECH_MEET_API_KEY"));
var body = new StringContent("""
{
"participants": [
{
"displayName": "Ayşe Yılmaz",
"email": "[email protected]",
"externalUserId": "student-204"
}
]
}
""", System.Text.Encoding.UTF8, "application/json");
var res = await http.PostAsync("https://meet.sotech.com.tr/api/v1/integration/meetings/03c7ab8b-9d45-48e2-a3f2-5cba3b77bbb7/join-links", body);
res.EnsureSuccessStatusCode();
var json = await res.Content.ReadAsStringAsync();Biletli öğrenci, eğitmen gelmeden derse girerse "sunucu bekleniyor" ekranında bekler ve eğitmen başlatınca kendiliğinden girer.
Ders sonrası
- meeting.ended webhook'u gelince yoklamayı çekin; isFinal true ise LMS'e yazın. externalUserId öğrenciyle eşleşir, totalSeconds katılım süresidir.
- recording.completed gelince kayıt listesini alın, dosyayı indirip kendi deponuza yazın.
- Dosyayı doğruladıktan sonra Sotech Meet kopyasını DELETE ile silin.
- Günde bir kez, hâlâ sürüyor görünen dersleri status ucuyla uzlaştırın.
curl "https://meet.sotech.com.tr/api/v1/integration/recordings/8a1e5f0c-2d4b-4c1a-9b7e-3f6d2a1c0e9b/download" \
-H "X-Api-Key: $SOTECH_MEET_API_KEY" \
-L -o recording.mp4import { writeFile } from "node:fs/promises";
const res = await fetch("https://meet.sotech.com.tr/api/v1/integration/recordings/8a1e5f0c-2d4b-4c1a-9b7e-3f6d2a1c0e9b/download", {
headers: { "X-Api-Key": process.env.SOTECH_MEET_API_KEY },
});
if (!res.ok) throw new Error(`Sotech Meet: ${res.status}`);
await writeFile("recording.mp4", Buffer.from(await res.arrayBuffer()));import os, requests
with requests.get(
"https://meet.sotech.com.tr/api/v1/integration/recordings/8a1e5f0c-2d4b-4c1a-9b7e-3f6d2a1c0e9b/download",
headers={"X-Api-Key": os.environ["SOTECH_MEET_API_KEY"]},
stream=True, timeout=60,
) as res:
res.raise_for_status()
with open("recording.mp4", "wb") as f:
for chunk in res.iter_content(chunk_size=1 << 20):
f.write(chunk)using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", Environment.GetEnvironmentVariable("SOTECH_MEET_API_KEY"));
await using var stream = await http.GetStreamAsync("https://meet.sotech.com.tr/api/v1/integration/recordings/8a1e5f0c-2d4b-4c1a-9b7e-3f6d2a1c0e9b/download");
await using var file = File.Create("recording.mp4");
await stream.CopyToAsync(file);Sotech Learn
Sotech Learn kullanıyorsanız entegrasyon hazırdır: Sotech Meet, Zoom, Teams ve BigBlueButton'ın yanında bir canlı ders sağlayıcısı olarak seçilir. Ders oluşturma, eğitmen ve öğrenci bağlantıları, yoklama aktarımı ve kayıt içe alma ek geliştirme gerektirmez.