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

Closed
dshanske opened this issue Mar 26, 2019 · 4 comments
Closed

q=last on media endpoint #10

dshanske opened this issue Mar 26, 2019 · 4 comments

Comments

@dshanske
Copy link
Member

@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

@dshanske
Copy link
Member Author

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

@EdwardHinkle
Copy link

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

@RosemaryOrchard
Copy link

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.

@dshanske
Copy link
Member Author

At the Micropub Pop-up Session 2020, it was decided to sunset q=last in favor of q=source&limit=1, see #14

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

No branches or pull requests

3 participants