get https://api.nodecraft.studio/v1/discovery/friends
List of servers that the current Player and their friends have created. Sorts by owned servers first, then friends servers by recent playtime activity.
Responses
List of servers that the current Player and their friends have created. Sorts by owned servers first, then friends servers by recent playtime activity.
xxxxxxxxxx
GET /v1/discovery/friends?page=1 HTTP/1.1
Accept: application/json
Host: api.nodecraft.studio
xxxxxxxxxx
{
"code": "discovery.friends.success",
"message": "Successfully listed friends servers.",
"success": true,
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "private",
"title": "My Server",
"summary": "This is a short summary of the community",
"image_tile": "https://nodecraft.com/image.png",
"players_count": 0,
"players_max": 3,
"has_password": false,
"is_favorite": false,
"game_version": "0.0.15",
"server_region": {
"id": "na-east",
"title": "North America East"
},
"distance_score": 0,
"friend_playing": 0,
"friend_recently_played": 0,
"player": {
"id": "00000000-0000-0000-0000-000000000000",
"username": "Slayer1337",
"ident": "76561198047699606",
"ident_type": "steam",
"image_avatar": "https://nodecraft.com/images/avatar.png"
},
"community": null
},
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "event",
"title": "My Server",
"summary": "This is a short summary of the community",
"image_tile": "https://nodecraft.com/image.png",
"players_count": 0,
"players_max": 3,
"has_password": false,
"is_favorite": false,
"game_version": "0.0.15",
"server_region": {
"id": "na-east",
"title": "North America East"
},
"distance_score": 0,
"friend_playing": 0,
"friend_recently_played": 0,
"event": {
"username": "Ninja",
"platform": "twitch",
"price": 0,
"date_start": "2024-01-01T00:00:00.000Z",
"date_end": "2024-01-07T00:00:00.000Z"
},
"community": {
"id": "00000000-0000-0000-0000-000000000000",
"title": "Gamecraft Community",
"summary": "This is a short summary of the community",
"image_avatar": "https://nodecraft.com/image.png"
},
"player": null
},
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "event",
"title": "My Server",
"summary": "This is a short summary of the community",
"image_tile": "https://nodecraft.com/image.png",
"players_count": 0,
"players_max": 3,
"has_password": false,
"is_favorite": false,
"game_version": "0.0.15",
"server_region": {
"id": "na-east",
"title": "North America East"
},
"distance_score": 0,
"friend_playing": 0,
"friend_recently_played": 0,
"event": {
"username": "Ninja",
"platform": "twitch",
"price": 0,
"date_start": "2024-01-01T00:00:00.000Z",
"date_end": "2024-01-07T00:00:00.000Z"
},
"community": null,
"player": {
"id": "00000000-0000-0000-0000-000000000000",
"username": "Slayer1337",
"ident": "76561198047699606",
"ident_type": "steam",
"image_avatar": "https://nodecraft.com/images/avatar.png"
}
},
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "community",
"title": "My Server",
"summary": "This is a short summary of the community",
"image_tile": "https://nodecraft.com/image.png",
"players_count": 0,
"players_max": 3,
"has_password": false,
"is_favorite": false,
"game_version": "0.0.15",
"server_region": {
"id": "na-east",
"title": "North America East"
},
"distance_score": 0,
"friend_playing": 0,
"friend_recently_played": 0,
"community": {
"id": "00000000-0000-0000-0000-000000000000",
"title": "Gamecraft Community",
"summary": "This is a short summary of the community",
"image_avatar": "https://nodecraft.com/image.png"
},
"player": null
},
{
"id": "00000000-0000-0000-0000-000000000000",
"type": "community",
"title": "My Server",
"summary": "This is a short summary of the community",
"image_tile": "https://nodecraft.com/image.png",
"players_count": 0,
"players_max": 3,
"has_password": false,
"is_favorite": false,
"game_version": "0.0.15",
"server_region": {
"id": "na-east",
"title": "North America East"
},
"distance_score": 0,
"friend_playing": 0,
"friend_recently_played": 0,
"community": null,
"player": {
"id": "00000000-0000-0000-0000-000000000000",
"username": "Slayer1337",
"ident": "76561198047699606",
"ident_type": "steam",
"image_avatar": "https://nodecraft.com/images/avatar.png"
}
}
],
"pagination": {
"count": 100,
"page": 1,
"pages_max": 10,
"per_page": 10
},
"error": false
}