Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Expose Exchange bounty publishing and submission routes (#4568)

Developers Digest8c7ee97c5e1b
diff --git a/apps/api/src/routes/exchange.ts b/apps/api/src/routes/exchange.ts
index 7abd18a1a..96fe23bbf 100644
--- a/apps/api/src/routes/exchange.ts
+++ b/apps/api/src/routes/exchange.ts
@@ -168,6 +168,30 @@ exchangeRouter.get(
wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
);
+exchangeRouter.post(
+ "/publisher/bounties",
+ authMiddleware(RateLimiterMode.Labs),
+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
+);
+
+exchangeRouter.post(
+ "/publisher/bounties/:id/claim",
+ authMiddleware(RateLimiterMode.Labs),
+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
+);
+
+exchangeRouter.post(
+ "/publisher/bounties/:id/submit",
+ authMiddleware(RateLimiterMode.Labs),
+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
+);
+
+exchangeRouter.post(
+ "/publisher/bounties/:id/skill",
+ authMiddleware(RateLimiterMode.Labs),
+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
+);
+
exchangeRouter.post(
"/applications",
authMiddleware(RateLimiterMode.Labs),