List the current user's draft posts in a community.
curl --request GET \
--url https://tryno.io/api/communities/{handle}/drafts \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/drafts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/drafts"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"communityId": "<string>",
"authorId": "<string>",
"body": "<string>",
"pinnedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}feed
List the current user's draft posts in a community.
GET
/
communities
/
{handle}
/
drafts
List the current user's draft posts in a community.
curl --request GET \
--url https://tryno.io/api/communities/{handle}/drafts \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/drafts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/drafts"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"communityId": "<string>",
"authorId": "<string>",
"body": "<string>",
"pinnedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}Autorizações
Clerk-managed session cookie (or the first-party tryno_session bridge cookie). Sent automatically by browsers on same-origin requests.

