From 4c9bb4346fad1ff160f8f1d4b0356da41330451c Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 21 Sep 2026 08:50:43 +0000 Subject: [PATCH] Create Flex endpoint --- calliostro.spotify-bundle.1.0.json | 44 ++++++++++++++++++++++++++++++ index.json | 20 ++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 calliostro.spotify-bundle.1.0.json create mode 100644 index.json diff --git a/calliostro.spotify-bundle.1.0.json b/calliostro.spotify-bundle.1.0.json new file mode 100644 index 00000000..e3757c51 --- /dev/null +++ b/calliostro.spotify-bundle.1.0.json @@ -0,0 +1,44 @@ +{ + "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" + } + } +} diff --git a/index.json b/index.json new file mode 100644 index 00000000..e54d9034 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "calliostro/spotify-bundle": [ + "1.0" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2063/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2063/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +}