Skip to content

Watchlist endpoints

Terminal window
curl -X POST "https://gitstars.io/api/watchlists" \
-H "Content-Type: application/json" \
-d '{"name":"AI tooling","ids":["123456"]}'
Terminal window
curl "https://gitstars.io/api/watchlists/:token"
Terminal window
curl -X PATCH "https://gitstars.io/api/watchlists/:token" \
-H "Content-Type: application/json" \
-d '{"name":"Updated name"}'
Terminal window
curl "https://gitstars.io/api/watchlists/:token/repositories?window=24h"
Terminal window
curl -X POST "https://gitstars.io/api/watchlists/:token/items" \
-H "Content-Type: application/json" \
-d '{"repositoryId":"123456"}'
curl -X DELETE "https://gitstars.io/api/watchlists/:token/items/123456"

Public token endpoints are distinct from signed-in /api/me/watchlist endpoints.