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

q=last on media endpoint #10

dshanske opened this issue Mar 26, 2019 · 3 comments


Copy link

commented Mar 26, 2019

@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


This comment has been minimized.

Copy link
Member Author

commented Mar 26, 2019

The second question is, should media in the last five minutes be the expected default behavior? Should last mean last?


This comment has been minimized.

Copy link

commented Mar 26, 2019

I added this to the Micropub Extensions page as a proposed extension so people can find this discussion easier.


This comment has been minimized.

Copy link

commented May 10, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.