This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST bug_filters/_bulk | |
{"index": {}} | |
{"tags":{"player":{"type":"player","name":"3 à 8 joueurs","min":3,"max":8},"time":{"type":"time","name":"Environ 20 min","maxTime":20},"age":{"type":"age","name":"À partir de 10 ans","minAge":10},"theme=Pirates":{"type":"theme=Pirates","name":"Pirates"},"theme":["Pirates"],"type=Bluff":{"type":"type=Bluff","name":"Bluff"},"type":["Bluff","Déduction","Identité Secrète","Jeux Ambiance","Jeux de Voyage"],"type=Déduction":{"type":"type=Déduction","name":"Déduction"},"type=Identité+Secrète":{"type":"type=Identité+Secrète","name":"Identité Secrète"},"type=Jeux+Ambiance":{"type":"type=Jeux+Ambiance","name":"Jeux Ambiance"},"type=Jeux+de+Voyage":{"type":"type=Jeux+de+Voyage","name":"Jeux de Voyage"}},"characteristics":{"Langue":"Français","Nombredejoueurs":"De 3 à 8 joueurs","Duree":"20 minutes","Age":"À partir de 10 ans","Theme(s)":"Pirates","Type(s)":"Bluff","Gamme":"Aucune gamme","Editeur(s)":"Savana","Auteur(s)":"Jean-Xia Chou","Illustrateur(s)":"Laura Bazzoni"},"reviews":["Un |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastify.post( | |
"/", | |
{ | |
schema: { | |
body: { | |
required: ["name", "credits", "language", "image"], | |
properties: { | |
name: { type: "string" }, | |
credits: { type: "string" }, | |
language: { type: "string" }, |