Skip to content

Commit 3468364

Browse files
committed
add v1 endpoint for retrieving agents
1 parent b52afa1 commit 3468364

File tree

2 files changed

+10
-0
lines changed
  • web/src/app/api/v1/agents/[publisherId]/[agentId]

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { GET as wrapped } from '@/app/api/agents/[publisherId]/[agentId]/[version]/route'
2+
3+
export function GET(...args: Parameters<typeof wrapped>) {
4+
return wrapped(...args)
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { GET as wrapped } from '@/app/api/agents/[publisherId]/[agentId]/latest/route'
2+
3+
export function GET(...args: Parameters<typeof wrapped>) {
4+
return wrapped(...args)
5+
}

0 commit comments

Comments
 (0)