Files
symfony-flex-recipes-contrib/calliostro.spotify-bundle.1.0.json
T
github-action[bot]andgithub-action[bot] 4c9bb4346f Create Flex endpoint
2026-09-21 08:50:43 +00:00

45 lines
2.0 KiB
JSON

{
"manifests": {
"calliostro/spotify-bundle": {
"manifest": {
"bundles": {
"Calliostro\\SpotifyBundle\\CalliostroSpotifyBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SPOTIFY_CLIENT_ID": "",
"SPOTIFY_CLIENT_SECRET": ""
}
},
"files": {
"config/packages/calliostro_spotify.yaml": {
"contents": [
"calliostro_spotify:",
" # Required for Client Credentials Flow (get from https://developer.spotify.com/dashboard)",
" client_id: '%env(SPOTIFY_CLIENT_ID)%'",
" client_secret: '%env(SPOTIFY_CLIENT_SECRET)%'",
"",
" # Optional: HTTP User-Agent header for API requests",
" # user_agent: 'MyApp/1.0 (+https://myapp.com)'",
"",
" # Optional: Retry resilience and token management settings (defaults shown)",
" # auto_retry: true # Automatically wait and retry on 429 rate limits (default: true)",
" # max_retries: 3 # Maximum number of retry attempts (default: 3)",
" # proactive_refresh: true # Renew tokens proactively before expiration (default: true)",
"",
" # Optional: Proactive rate limiting (requires symfony/rate-limiter)",
" # rate_limiter: spotify_api",
""
],
"executable": false
}
},
"ref": "0b121b26a0353d9a24db117c446e63f37455b385"
}
}
}