Create a course in a community.
curl --request POST \
--url https://tryno.io/api/communities/{handle}/courses \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/courses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/courses"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"communityId": "<string>",
"title": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}courses
Create a course in a community.
POST
/
communities
/
{handle}
/
courses
Create a course in a community.
curl --request POST \
--url https://tryno.io/api/communities/{handle}/courses \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/courses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/courses"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){
"id": "<string>",
"communityId": "<string>",
"title": "<string>",
"publishedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.

