route.api_unknown
Route group names an API the application doesn't declare.
Area 7, HTTP; not declinable; the next step is usually the agent's.
A group names an API app.jadpo declares; with none declared there is one, main:
type Memo = Text { max_length: 200}type MemoId = Uuid {}type AddMemo = Input { text: Memo}type MemoView = Output { text: Memo}action add_memo(input: AddMemo) -> MemoView { return MemoView { text: input.text }}routes Memos { prefix: /memos api: admin POST / { authentication: RouteAuthentication.none input: AddMemo output: MemoView run: add_memo(input) }}
error Memos belongs to API admin, which isn't declared
--> main.jadpo:23:10
|23 | api: admin | ^^^^^ not declared
- reason
- With no
apis:inapp.jadpothere is one API,main, at/. - next
- Declare
adminunderapis:inapp.jadpo(agent) - rule
- route.
api_ unknown - help
- https://jadpo.
dev/docs/errors/route. api_ unknown
Markdown for agents: /docs/errors/route.api_unknown.md.Built from Jadpo main at aee2e8f.