cURL
curl --request GET \ --url https://api.offlineprotocol.com/api/v1/connections/{username} \ --header 'Authorization: Bearer <token>'
{ "data": { "connections": [ { "id": "163cb292-1430-4247-9fd2-3f28658a365b", "peer": "goodie" } ] } }
Retrieves user’s connections.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The username whose connections to retrieve
Connections retrieved
Show child attributes
"163cb292-1430-4247-9fd2-3f28658a365b"
"goodie"