From c196128f3b6b534239ae0b6edadd002cd7082aeb Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sun, 20 Sep 2026 09:38:33 +0000 Subject: [PATCH] Create Flex endpoint --- calliostro.spotify-web-api-bundle.1.0.json | 48 ++++++++++++++++++++++ index.json | 20 +++++++++ 2 files changed, 68 insertions(+) create mode 100644 calliostro.spotify-web-api-bundle.1.0.json create mode 100644 index.json diff --git a/calliostro.spotify-web-api-bundle.1.0.json b/calliostro.spotify-web-api-bundle.1.0.json new file mode 100644 index 00000000..a0efdffb --- /dev/null +++ b/calliostro.spotify-web-api-bundle.1.0.json @@ -0,0 +1,48 @@ +{ + "manifests": { + "calliostro/spotify-web-api-bundle": { + "manifest": { + "bundles": { + "Calliostro\\SpotifyWebApiBundle\\CalliostroSpotifyWebApiBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SPOTIFY_CLIENT_ID": "", + "SPOTIFY_CLIENT_SECRET": "", + "#SPOTIFY_REDIRECT_URI": "" + } + }, + "files": { + "config/packages/calliostro_spotify_web_api.yaml": { + "contents": [ + "calliostro_spotify_web_api:", + " # Your Client ID from the Spotify Developer Dashboard (https://developer.spotify.com/dashboard/applications)", + " client_id: '%env(SPOTIFY_CLIENT_ID)%'", + "", + " # Your Client Secret", + " client_secret: '%env(SPOTIFY_CLIENT_SECRET)%'", + "", + " # Optional: Address to redirect to after authentication success OR failure (required for Authorization Code flow)", + " # redirect_uri: '%env(SPOTIFY_REDIRECT_URI)%'", + "", + " # Optional: Client options for jwilsson/spotify-web-api-php", + " # options:", + " # auto_refresh: false", + " # auto_retry: false", + " # return_assoc: false", + "", + " # Optional: Custom token provider service (defaults to built-in Client Credentials TokenProvider)", + " # token_provider: calliostro_spotify_web_api.token_provider", + "" + ], + "executable": false + } + }, + "ref": "e37028111d87a7ae99ed6785dc5c5e17e888433d" + } + } +} diff --git a/index.json b/index.json new file mode 100644 index 00000000..a9e34523 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "calliostro/spotify-web-api-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-2062/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2062/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +}