Skip to content

Get a specific party

GET
/parties/{id}
curl --request GET \
--url http://localhost:8000/api/v1/parties/1 \
--header 'Authorization: Bearer <token>'
id
required
integer

Successful response

Media type application/json
object
id

ID of the party

integer
type

Type of the party

string
name

Name of the party

string
description

Description of the party

string
icon

Party icon

object
id

ID of the icon

integer
path

Image of the icon

string
type

Type of icon( image or icon or emoji)

string
Example generated
{
"id": 1,
"type": "example",
"name": "example",
"description": "example",
"icon": {
"id": 1,
"path": "example",
"type": "example"
}
}

Unauthorized

Party not found

Server error