put https://api.nodecraft.studio/v1/invites//
Respond to an invite from another Player to join a server. Will send a Notification to the inviting Player. A sender cannot update an invite.
Responses
Respond to an invite from another Player to join a server. Will send a Notification to the inviting Player. A sender cannot update an invite.
xxxxxxxxxx
PUT /v1/invites/invite_id/pending HTTP/1.1
Accept: application/json
Host: api.nodecraft.studio
​
​
xxxxxxxxxx
26{
"code": "invites.update.success",
"message": "Successfully updated invite.",
"success": true,
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"date_expires": "2024-01-01T00:00:00.000Z",
"date_created": "2024-01-01T00:00:00.000Z",
"status": "pending",
"server": {
"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"
},
"sender": {
"id": "00000000-0000-0000-0000-000000000000",
"username": "Slayer1337",
"ident": "76561198047699606",
"ident_type": "steam",
"image_avatar": "https://nodecraft.com/images/avatar.png"
}
},
"error": false
}