wildebeest/functions/api/v1/filters.ts

11 wiersze
255 B
TypeScript

// https://docs.joinmastodon.org/methods/filters/#get-v1
const headers = {
'content-type': 'application/json; charset=utf-8',
}
export const onRequest = async () => {
const out: Array<any> = []
return new Response(JSON.stringify(out), { headers })
}