logos & stars

This commit is contained in:
fred 2024-02-04 15:13:48 +01:00
parent 6661e8b9ed
commit 29a07a95c3
9 changed files with 39 additions and 0 deletions

BIN
WWW/favicon.cesium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
WWW/favicon.gchange.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
WWW/favicon.minetest.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
WWW/favicon.p4n.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
WWW/favicon.radar.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

BIN
WWW/favicon.transiscope.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
WWW/favicon.tw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
WWW/favicon.vdo.ninja.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,39 @@
#!/bin/bash
# Vérifier si la variable "issuer" est fournie en argument
if [ -z "$1" ]; then
echo "Veuillez fournir la variable 'issuer' en argument."
exit 1
fi
# Stocker la variable "issuer" fournie en argument
issuer=$1
# Construire le JSON avec la variable "issuer"
json_data='{
"size": 25,
"_source": ["id", "kind", "level"],
"query": {
"bool": {
"filter": [
{"term": {"kind": "STAR"}}
],
"must": [
{
"term": {
"issuer": "'"$issuer"'"
}
}
]
}
}
}'
# URL cible
url="https://data.gchange.fr/like/record/_search"
# Envoyer la requête POST avec curl
response=$(curl -X POST -H "Content-Type: application/json" -d "$json_data" "$url")
# Afficher la réponse
echo "$response"