Files
herolib/lib/threefold/zerohub
root 8b0f692673 fix: Fix docker examples
- Moved `httpconnection` import from `clients` to `core`.
- Changed `tfgrid-sdk-ts` dashboard to playground.
- Added ipaddr to node_local().
- Added public keyword to OpenSSLGenerateArgs.
- Improved DockerEngine image and container loading.
- Added utils.contains_ssh_port.
- Improved error handling in DockerEngine.
- Improved Docker registry handling.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
Co-authored-by: omda <mahmmoud.hassanein@gmail.com>
2025-01-28 14:08:42 +01:00
..
2024-12-30 12:22:36 +02:00
2024-12-30 12:22:36 +02:00
2024-12-30 12:22:36 +02:00
2025-01-28 14:08:42 +01:00

ZeroHub

This is a SAL for the ZeroHub

The default hub we connect to is https://hub.grid.tf/

for developers

more info see https://github.com/threefoldtech/0-hub#public-api-endpoints-no-authentication-needed

TODO: implement each endpoint on the zerohub here at client

Hub Authorization

ZeroHub authorized enpoints can be accessed with exporting a jwt in env vars. to do so:

  • go to https://hub.grid.tf, and on the login section try Generate API Token
  • copy the token you got and export HUB_JWT=<jwt>