Add comments to counterbadge.example.json

This commit is contained in:
s3lph 2022-01-01 01:28:06 +01:00
parent fb4761a336
commit 72ecb3e609
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5

View file

@ -1,22 +1,24 @@
{ {
"counters": { "counters": {
"my-treasure-hunt": { "my-treasure-hunt": { # Give your counter a reasonable slug name.
"display_name": "My rC3 Treasure Hunt", "display_name": "My rC3 Treasure Hunt", # ... and a reasonable display name.
"unique_tokens": [ "unique_tokens": [
# Generate unique, non-guessable tokens for each place to visit
"bc243542-f7d9-4474-943a-15e5936c9943", "bc243542-f7d9-4474-943a-15e5936c9943",
"d6cf7658-a556-4784-bcb7-06d12fc47f54", "d6cf7658-a556-4784-bcb7-06d12fc47f54",
"ee81ad35-2a04-4781-9a09-e925ce2b5eab", "ee81ad35-2a04-4781-9a09-e925ce2b5eab",
"202102f8-aca9-42e1-b6f9-0cb7d0dbb380", "202102f8-aca9-42e1-b6f9-0cb7d0dbb380",
"generate unique, non-guessable tokens for each place to visit" "05cbbbc0-282e-4ef8-a5af-0be91a914818"
], ],
"profile_url": "https://api.rc3.world/api/me", "profile_url": "https://api.rc3.world/api/me", # Adapt to your event's profile API URL
"redeem_url": "https://api.rc3.world/api/c/rc3_21/badges/redeem_token", "redeem_url": "https://api.rc3.world/api/c/rc3_21/badges/redeem_token", # Adapt to your event's redeem URL
"api_token": "Your assembly's API token. Generate it at Maschinenraum / Authentication / Request a New Token", "api_token": "Your assembly's API token. Generate it at Maschinenraum / Authentication / Request a New Token",
"issue_at": { "issue_at": {
"1": "A permanent redeem token", # Add badge issue tokens to taste
"5": "Another permanent redeem token. Generate it at Maschinenraum / Badges / <the badge> / Create Badge Redeem Token" "1": "A permanent redeem token, issued after the first place is found ",
"5": "Another permanent redeem token, issued after all five places are found"
}, },
"oauth": { "oauth": { # Adapt to your event's OAuth endpoints
"client_id": "Your OAuth2 Client ID. Register a public OAuth2-Client at Maschinenraum / Authentication / New Application", "client_id": "Your OAuth2 Client ID. Register a public OAuth2-Client at Maschinenraum / Authentication / New Application",
"client_secret": "Your OAuth2 Client Secret", "client_secret": "Your OAuth2 Client Secret",
"authorize_url": "https://rc3.world/sso/authorize/", "authorize_url": "https://rc3.world/sso/authorize/",