🤝Friend
Last updated
Last updated
GET
[endpoint]/v3/friend/list
online_only
will show friends that make API activity on last 30 seconds. Currently this feature is not reliable if no game send user's activity via REST API. This will have better reliability after development of WebSocket as we will ping-pong the user every 5 seconds.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
[endpoint]/v3/friend/request
GET
[endpoint]/v3/friend/request/incoming
GET
[endpoint]/v3/friend/request/outgoing
POST
[endpoint]/v3/friend/request/accept
GET
[endpoint]/v3/friend/request/accept-all
POST
[endpoint]/v3/friend/favorites/add
POST
[endpoint]/v3/friend/favorites/remove
POST
[endpoint]/v3/friend/remove
WARNING!!! This will remove friend relation from both friend list
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
favorite_only
Boolean
Only show favorite friends. Default false
online_only
Boolean
Only show online friends (read notes above). Default false
limit
Integer
Limit amount of data shows. Default no limit
offset
Integer
Start showing data from number of offset. Default no offset
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
target_komo_username*
String
KOMO username to make friend request
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
relation_id*
Integer
Relation ID
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
Authorization*
String
Bearer Token
X-Api-Key*
String
API Key
target_komo_username*
String
KOMO username to add favorites
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
target_komo_username*
String
KOMO username to remove favorites
Authorization*
String
Bearer token
X-Api-Key*
String
API Key
target_komo_username*
String
KOMO username of friends to remove