Retourne la liste de tous les citoyens enregistrés dans ESX
curl --request GET \
--url https://votre-domaine.com/esx/citizens{
"success": true,
"data": [
{
"identifier": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"dateofbirth": "2023-12-25",
"sex": "m",
"height": 123,
"job": "<string>",
"job_grade": 123,
"group": "<string>",
"accounts": {
"money": 123,
"bank": 123,
"black_money": 123
},
"inventory": [
{
"name": "<string>",
"count": 123,
"slot": 123
}
],
"loadout": [
{
"name": "<string>",
"ammo": 123
}
],
"metadata": {
"health": 100,
"armor": 50
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"skin": {
"model": "<string>",
"eyeColor": 123,
"hair": {
"style": 123,
"color": 123,
"highlight": 123
},
"headBlend": {
"shapeFirst": 123,
"shapeSecond": 123,
"shapeMix": 123,
"skinFirst": 123,
"skinSecond": 123,
"skinMix": 123
},
"components": [
{
"component_id": 123,
"drawable": 123,
"texture": 123
}
],
"props": [
{
"prop_id": 123,
"drawable": 123,
"texture": 123
}
],
"headOverlays": {},
"faceFeatures": {},
"tattoos": [
{}
]
},
"status": [
{
"name": "<string>",
"val": 123,
"percent": 50
}
],
"is_dead": true,
"disabled": true,
"last_property": "<string>",
"phone_number": "<string>"
}
],
"total": 123
}Liste des citoyens récupérée avec succès
Show child attributes
Identifiant unique du citoyen
Prénom du citoyen
Nom de famille du citoyen
Date de naissance (YYYY-MM-DD)
Sexe du citoyen (m/f)
m, f Taille en centimètres
Métier actuel
Grade du métier
Groupe d'utilisateur
Show child attributes
Modèle de personnage
Couleur des yeux
Show child attributes
Première forme de visage
Seconde forme de visage
Mélange des formes
Première couleur de peau
Seconde couleur de peau
Mélange des couleurs de peau
Superpositions faciales (maquillage, barbe, etc.)
Traits du visage
Tatouages
Indique si le citoyen est mort
Indique si le compte est désactivé
Dernière propriété visitée
Numéro de téléphone du citoyen
Was this page helpful?
curl --request GET \
--url https://votre-domaine.com/esx/citizens{
"success": true,
"data": [
{
"identifier": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"dateofbirth": "2023-12-25",
"sex": "m",
"height": 123,
"job": "<string>",
"job_grade": 123,
"group": "<string>",
"accounts": {
"money": 123,
"bank": 123,
"black_money": 123
},
"inventory": [
{
"name": "<string>",
"count": 123,
"slot": 123
}
],
"loadout": [
{
"name": "<string>",
"ammo": 123
}
],
"metadata": {
"health": 100,
"armor": 50
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"skin": {
"model": "<string>",
"eyeColor": 123,
"hair": {
"style": 123,
"color": 123,
"highlight": 123
},
"headBlend": {
"shapeFirst": 123,
"shapeSecond": 123,
"shapeMix": 123,
"skinFirst": 123,
"skinSecond": 123,
"skinMix": 123
},
"components": [
{
"component_id": 123,
"drawable": 123,
"texture": 123
}
],
"props": [
{
"prop_id": 123,
"drawable": 123,
"texture": 123
}
],
"headOverlays": {},
"faceFeatures": {},
"tattoos": [
{}
]
},
"status": [
{
"name": "<string>",
"val": 123,
"percent": 50
}
],
"is_dead": true,
"disabled": true,
"last_property": "<string>",
"phone_number": "<string>"
}
],
"total": 123
}