Skip to content

adding the media library resources #25

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

Closed
wants to merge 3 commits into from
Closed

Conversation

tomepajk
Copy link
Collaborator

Registered the media files as resources
And an associative array of the ID-> uri

Modified the Server.php file to return the requested resources based on uri

@swissspidy
Copy link
Collaborator

Looking at this again, I think what we need is resource templates. This way we should be able to define a uriTemplate like media://{id} so that the client can construct them themselves and we avoid having to query all media items.

@swissspidy swissspidy deleted the add_media_resources branch March 23, 2025 19:12
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

Successfully merging this pull request may close these issues.

2 participants