-
Notifications
You must be signed in to change notification settings - Fork 1
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
q=last on media endpoint #10
Comments
The second question is, should media in the last five minutes be the expected default behavior? Should last mean last? |
I added this to the Micropub Extensions page as a proposed extension so people can find this discussion easier. |
I would say if the media wasn't uploaded in the last hour I would prefer to not have it attached. 5 minutes might be too short of a time - but last image ever uploaded has been confusing me. |
At the Micropub Pop-up Session 2020, it was decided to sunset q=last in favor of q=source&limit=1, see #14 |
@aaronpk implemented this in his endpoint and in Quill.
It returns a url property only.
When I implemented it, discovered that his implementation
Only returns images
Only media uploaded in the last 5 minutes
Brainstorming on iterating the last command with some modifiers
To start, a type modifier
type = all, video, audio, photo - defaults to photo
The text was updated successfully, but these errors were encountered: