Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"userId":"84d5e976-d466-4c0a-af6b-9b7d7fae3819",
"itemId":"199ec202-f400-4000-8f20-811c96269c80",
"serverId":"1",
"centerId":"1",
"roleId":"1"
}
Request Code Samples
curl --location -g --request POST 'https://api.ambrus.studio/warcast-test/heroes/bind' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId":"84d5e976-d466-4c0a-af6b-9b7d7fae3819",
"itemId":"199ec202-f400-4000-8f20-811c96269c80",
"serverId":"1",
"centerId":"1",
"roleId":"1"
}'
Responses
application/json {
"id": "1cae4ff3-a75d-4ae9-9b4b-fcc10078324a",
"userId": "84d5e976-d466-4c0a-af6b-9b7d7fae3819",
"itemId": "199ec202-f400-4000-8f20-811c96269c80",
"serverId": "1",
"centerId": "1",
"roleId": "1",
"isBound": true,
"stars": 0,
"createdAt": "2025-10-17T05:38:16.281Z",
"updatedAt": "2025-10-17T05:57:59.813Z"
}
Modified at 2025-10-17 06:01:08