Closed pyhedgehog closed 7 years ago
There are related problem - I haven't found how to get owner of key. Even worse - fake header x-hookio-user-session-name
is anonymous
for api requests.
I've checked that if x-hookio-user-session-name
set in request it's ignored. But it's replaced by anonymous
instead of key owner.
This appears to be resolved locally and working in the new version of SDK.
Will update / close this issue when the deployment is live.
Okay, the new role for listing / searching services is called hook::find
.
Will continue to polish this and have it ready for next release.
Old internal keys ({..., "name": "api-access-key", "key_type": "internal", ...}
) don't have hook::find
role. Related to #243.
I will be sure to run a migration script which generates all new roles for the old internal keys.
Noted. Thank you.
Also /keys
interface not yet has checkbox for hook::find
role.
That's fixed locally now.
Is auto-enumerated from resource definition.
And should we have another issue for request interface+API for editing existing keys?
Is refactored already.
see: https://github.com/bigcompany/hook.io/tree/master/view/keys
More tests I have locally.
Should work with JSON now.
We need to get docker or vagrant working for developers to do local dev...
Release is coming soon. Been very busy with stack
refactor into hook.io.
Cool. stack
is more important.
@pyhedgehog - Please check out python
and python3
binaries to see if we can integrate hook.io SDK
If you can make single request work I can start to update with new APIs.
https://github.com/Stackvana/stack/blob/master/bin/binaries/python https://github.com/Stackvana/stack/blob/master/bin/binaries/python3
Can also look at : https://github.com/bigcompany/hook.io-sdk/tree/dev
for reference. working the dev
branch
@pyhedgehog
I've completely revamped the API and keys API.
This should be resolved in production now.
Working API calls should exist for all endpoints here: https://github.com/bigcompany/hook.io-sdk/tree/master/examples
Please let me know if you still not able to read the data you need.
I have a correct
$hook_private_key
but/services
has no hooks listed:When I'm using
/login
, everything works fine: