Toggle a community's public discoverability (admin+).
curl --request POST \
--url https://tryno.io/api/communities/{handle}/discoverable \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/discoverable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/discoverable"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}discover
Toggle a community's public discoverability (admin+).
POST
/
communities
/
{handle}
/
discoverable
Toggle a community's public discoverability (admin+).
curl --request POST \
--url https://tryno.io/api/communities/{handle}/discoverable \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/communities/{handle}/discoverable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/communities/{handle}/discoverable"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
