|
|
|
@ -95,7 +95,7 @@ generateSpecificReport()
|
|
|
|
|
# https://forge.chapril.org/api/swagger
|
|
|
|
|
#$(curl -s --dump-header - "https://forge.chapril.org/api/v1/admin/orgs?limit=1&page1&token=$GITEA_API_KEY" > t)
|
|
|
|
|
#$(curl -s "https://forge.chapril.org/api/v1/users/search?limit=1&token=$GITEA_API_KEY" | jq '. | length' > t)
|
|
|
|
|
local accountCount=$(curl -s "https://forge.chapril.org/api/v1/users/search?limit=100000&token=$GITEA_API_KEY" | jq '. | length')
|
|
|
|
|
local accountCount=$(curl -s "https://forge.chapril.org/api/v1/users/search?limit=100000&token=$GITEA_API_KEY" | jq '.data | length')
|
|
|
|
|
echo "Nombre de comptes = $accountCount"
|
|
|
|
|
|
|
|
|
|
#$(curl -s "https://forge.chapril.org/api/v1/admin/orgs?limit=100000&token=$GITEA_API_KEY" | jq '. | length' > t)
|
|
|
|
|