Skip to content

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