post https://api.nodecraft.studio/v1/allows/server/
Create a new Server Allow for another recipient Player. Only permitted for owner or moderators.
Responses
Create a new Server Allow for another recipient Player. Only permitted for owner or moderators.
xxxxxxxxxx
POST /v1/allows/server/server_id HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.nodecraft.studio
​
​
xxxxxxxxxx
26{
"code": "allows.server.create",
"message": "Successfully created Allow.",
"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"
},
"player": {
"id": "00000000-0000-0000-0000-000000000000",
"username": "Slayer1337",
"ident": "76561198047699606",
"ident_type": "steam",
"image_avatar": "https://nodecraft.com/images/avatar.png"
}
},
"error": false
}