indieweb / micropub-extensions

Issue tracking for Micropub extensions
https://indieweb.org/Micropub-extensions
10 stars 0 forks source link

Query name and response consistency #41

Open manton opened 4 years ago

manton commented 4 years ago

Documenting a few differences that came up in chat. I'm not necessarily suggesting any of this change, because a lot of these have been implemented for a while. But there should probably be a kind of "style guide" for new extensions.

q=contact:

q=category:

q=source (without a url param):

q=config:

q=syndicate-to:

manton commented 4 years ago

Edited to remove speculation about post-types. They are not really the same thing as the type for JSON requests.

jalcine commented 3 years ago

I'm a bit hesistant about q=source being q=items because of the semantics of the query. q=config is a bit weird because it's very variable depending on what extensions you've defined (maybe could be solved/normalized with #44).

That said, would normalizing the output for q=contact, q=category, q=source and q=syndicate-to to be something similar to what q=source gives? Namely, assuming a items and paging being provided at the least for queries that are meant to return a list of zero or more items.