AutoretrieveApi
All URIs are relative to **
Method | HTTP request | Description |
---|---|---|
adminAutoretrieveInitPost | POST /admin/autoretrieve/init | Register autoretrieve server |
adminAutoretrieveListGet | GET /admin/autoretrieve/list | List autoretrieve servers |
autoretrieveHeartbeatPost | POST /autoretrieve/heartbeat | Marks autoretrieve server as up |
adminAutoretrieveInitPost
Register autoretrieve server
This endpoint registers a new autoretrieve server
Example
adminAutoretrieveInitPost
Parameters
Name | Type | Description | Notes |
---|---|---|---|
addresses | string | Autoretrieve's comma-separated list of addresses | |
pubKey | string | Autoretrieve's public key |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not Applicable
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
adminAutoretrieveListGet
List autoretrieve servers
This endpoint lists all registered autoretrieve servers
Example
adminAutoretrieveListGet
Parameters
This endpoint does not need any parameter.
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not Applicable
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
autoretrieveHeartbeatPost
Marks autoretrieve server as up
This endpoint updates the lastConnection field for autoretrieve
Example
autoretrieveHeartbeatPost token:value
Parameters
Name | Type | Description | Notes |
---|---|---|---|
token | string | Autoretrieve's auth token |
Return type
(empty response body)
Authorization
HTTP request headers
- Content-Type: Not Applicable
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]