Jeff Mitchell
f05f37d0fa
Fix panic in non-generated API calls when printing as JSON ( #1095 )
...
Fixes #992
2021-04-09 13:09:51 -04:00
Jeff Mitchell
ea23737258
Port over API bits from #962 ( #965 )
2021-02-25 12:39:51 -05:00
Jeff Mitchell
813d21565f
Allow authorize-session to be invoked with target name ( #737 )
2020-10-22 08:40:00 -04:00
Jeff Mitchell
9237d6f787
Rename authorize to authorize-session ( #531 )
...
As pointed out by Rob, this makes it clearer what the action actually
is. We were sort of torn on it before, but I've definitely come around
to it.
2020-10-05 11:02:23 -04:00
Todd Knight
fd0da998e8
SDK error revamp ( #432 )
...
SDK methods now return 1 error. To differentiate between Client errors and Server errors I've also implemented the AsServerError function which returns an *api.Error if it is an error originating from the remote server or nil otherwise.
2020-09-24 14:34:58 -07:00
Jeff Mitchell
07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands ( #370 )
2020-09-19 00:18:17 -04:00