api/projects/search/watch-list
https://scrapbox.io/api/projects/search/watch-list
parameters
q: 検索ワード
ids: 検索対象のproject id
どうやら実際にwatch listにあるprojectでなくてもいいらしい
自分が参加しているproject idを入れると500 Internal Server Errorが出てしまうので注意
2022-03-25 19:04:31 直った模様
自分が参加しているprojectsを指定しても何も返ってこない
指定できるidの数に上限はなさそう
応答の型
code:ts
type Response = {
searchQuery: string;
projects: {
_id: string;
name: string;
displayName: string;
image?: string;
}[];
query: {
words: string[];
excludes: string[];
};
}