We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API has support for .tag which as name suggests, tags each response when request is tagged. This enables async usage of API and other issues:
.tag
!trap
'1'
on version 5.25 with url which is malformed:
<--- /tool/fetch (11) <--- =url=http://wp.pl/xxx (21) <--- .tag=3 (6) <--- EOS ---> !re (3) ---> =status=connecting (18) ---> .tag=3 (6) ---> EOS ---> !re (3) ---> =status=failed (14) ---> .tag=3 (6) ---> EOS ---> !re (3) ---> =status=failed (14) ---> .tag=3 (6) ---> EOS <--- /cancel (7) <--- =tag=3 (6) <--- .tag=7 (6) <--- EOS ---> !trap (5) ---> =category=2 (11) ---> =message=interrupted (20) ---> .tag=3 (6) ---> EOS ---> !done (5) ---> .tag=7 (6) ---> EOS ---> !trap (5) ---> =message=failure: 301 Moved Permanently (39) ---> .tag=3 (6) ---> EOS ---> !done (5) ---> .tag=3 (6) ---> EOS
on version 6.1 with url that exists:
<--- /tool/fetch <--- =url=http://noc.gts.pl/1mb.gts <--- .tag=1 <--- EOS ---> !re ---> =status=connecting ---> .tag=1 ---> EOS ---> !re ---> =status=downloading ---> =downloaded=753 ---> =total=1000 ---> =duration=2d09:29:51 ---> .tag=1 ---> EOS ---> !re ---> =status=finished ---> .tag=1 ---> EOS ---> !done ---> .tag=1 ---> EOS
on version 6.1 with url which is malformed:
<--- /tool/fetch <--- =url=http://noc.gts.pl/1mb.gtsss <--- .tag=1 <--- EOS ---> !re ---> =status=connecting ---> .tag=1 ---> EOS ---> !re ---> =status=failed ---> .tag=1 ---> EOS ---> !trap ---> =message=failure: closing connection: <404 Not Found> 217.153.108.10:80 (4) ---> .tag=1 ---> EOS ---> !done ---> .tag=1 ---> EOS
Canceling a listen command returns !trap which is not actually any error at all:
listen
<--- '/ip/address/listen' <--- '.tag=10' <--- EOS ---> '!re' ---> '.tag=10' ---> '=.id=*A' ---> '=address=1.1.1.1/32' ---> '=network=1.1.1.1' ---> '=interface=br-lan' ---> '=actual-interface=br-lan' ---> '=invalid=false' ---> '=dynamic=false' ---> '=disabled=false' ---> EOS ---> '!re' ---> '.tag=10' ---> '=.id=*A' ---> '=.dead=true' ---> EOS <--- '/cancel' <--- '=tag=10' <--- '.tag=20' <--- EOS ---> '!trap' ---> '.tag=10' ---> '=category=2' ---> '=message=interrupted' ---> EOS ---> '!done' ---> '.tag=20' ---> EOS ---> '!done' ---> '.tag=10' ---> EOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
API has support for
.tag
which as name suggests, tags each response when request is tagged. This enables async usage of API and other issues:!trap
errors'1'
(int as a string) API must return same type.on version 5.25 with url which is malformed:
on version 6.1 with url that exists:
on version 6.1 with url which is malformed:
Canceling a
listen
command returns!trap
which is not actually any error at all:The text was updated successfully, but these errors were encountered: