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

Alternative way to get images and CSS without an explicit method for each profile. #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

annapaola
Copy link
Contributor

You can ask for

/v1/images/generic/favicon
/v1/images/ebrains/favicon

/v1/css/generic
/v1/css/ebrains

and content will be provided using a single method in CSS and Images classes

@annapaola annapaola added the enhancement New feature or request label Jul 3, 2024
@annapaola annapaola force-pushed the generic-resource-handling branch from bf217b2 to 7a2ca50 Compare July 3, 2024 20:04
…each profile.

So now you can ask for

/v1/images/generic/favicon
/v1/images/ebrains/favicon

/v1/css/generic
/v1/css/ebrains

and content will be provided using a single method.
@annapaola annapaola force-pushed the generic-resource-handling branch from 7a2ca50 to 8802ec0 Compare July 3, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant