Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: use json objects instead of keys for listing (tags) #173

Open
radhta opened this issue Nov 7, 2021 · 0 comments
Open

API: use json objects instead of keys for listing (tags) #173

radhta opened this issue Nov 7, 2021 · 0 comments

Comments

@radhta
Copy link

radhta commented Nov 7, 2021

Current:

			"tags": {
				"111": "electro",
				"23": "electronic",
				"243": "soundtrack",
				"307": "synthwave",
				"1558": "video.game",
				"8": "trance"
			},

Desired:

"tags": [
    {
        "genreid": 111,
        "genrename": "electro"
    },
    {
        "genreid": 23,
        "genrename": "electronic"
    },
    {
        "genreid": 243,
        "genrename": "soundtrack"
    },
    {
        "genreid": 307,
        "genrename": "synthwave"
    },
    {
        "genreid": 1558,
        "genrename": "video.game"
    },
    {
        "genreid": 8,
        "genrename": "trance"
    }
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant