CatenaApiKeys
On the right hand side of this page, you will see a list of "Servers".
To configure which server is shown in example requests:
domain
environment variable.curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/request/send \
-H 'Content-Type: application/json' \
-d '{
"receiverAccountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/request/accept \
-H 'Content-Type: application/json' \
-d '{
"senderAccountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/request/decline \
-H 'Content-Type: application/json' \
-d '{
"senderAccountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/remove \
-H 'Content-Type: application/json' \
-d '{
"removingAccountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/request/outgoing \
-H 'Content-Type: application/json' \
-d '{
"limit": 0,
"offset": 0
}'
{ "outgoingFriends": [ { … } ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/request/incoming \
-H 'Content-Type: application/json' \
-d '{
"limit": 0,
"offset": 0
}'
{ "incomingFriends": [ { … } ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/friends/get \
-H 'Content-Type: application/json' \
-d '{
"limit": 0,
"offset": 0
}'
{ "friends": [ { … } ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/friends/remove-pending \
-H 'Content-Type: application/json' \
-d '{
"senderAccountId": "string",
"receiverAccountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/friends/remove \
-H 'Content-Type: application/json' \
-d '{
"accountId1": "string",
"accountId2": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/friends/get \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"limit": 0,
"offset": 0
}'
{ "friends": [ { … } ] }