Friendship
Web API References for Friendship Service
Explore the list of Web APIs functions available for friendship service, including detailed descriptions and usage examples.
To use service functions, first ensure that the service is activated before. You can see services by opening "Service Hub" From the game's dashboard header.
Retrieves a list of friendship requests received by the current user based on the provided parameters.
get
Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
GET /api/table/services/friendship/request HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Retrieves a list of friendship requests sent by the current user based on the provided parameters.
get
Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
GET /api/table/services/friendship/requesting HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Path parameters
requestIdinteger · int32Required
Responses
200
OK
post
POST /api/table/services/friendship/request/{requestId} HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Path parameters
requestIdinteger · int32Required
Responses
200
OK
delete
DELETE /api/table/services/friendship/request/{requestId} HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Body
target_user_idinteger · int32Required
Responses
200
OK
post
POST /api/table/services/friendship/request HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"target_user_id": 1
}
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Query parameters
skipinteger · int32Optional
limitinteger · int32Optional
Responses
200
OK
get
GET /api/table/services/friendship HTTP/1.1
Host:
Accept: */*
200
OK
{
"list": [
{
"id": 1,
"name": "text",
"image": "text",
"username": "text",
"label": "text",
"tags": "text",
"is_ban": true,
"is_tester": true,
"is_guest": true,
"first_login": "2025-07-03T12:21:09.204Z",
"last_login": "2025-07-03T12:21:09.204Z",
"status": 1,
"accepted_at": "2025-07-03T12:21:09.204Z"
}
],
"totalCount": 1
}
Last updated