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

Standard way of indicating post type #43

Open
njkleiner opened this issue Jan 8, 2020 · 1 comment
Open

Standard way of indicating post type #43

njkleiner opened this issue Jan 8, 2020 · 1 comment

Comments

@njkleiner
Copy link

njkleiner commented Jan 8, 2020

The Microsub specification currently does not define a standard way of including an item's post type in a timeline response.

From what I can tell, there are currently some server implementations that include post type in their response, like Aperture in the post-type property, but there does not seem to be consensus on how to do this (mainly due to a lack of implementations).

Wouldn't it make sense to make this part of the spec? I would consider this a part of data normalization/transformation which is literally the purpose of a server.

I suggest we use a top-level field like _kind (to match _id, _is_read and _source) as a standard way to indicate post type, post-type seems inappropriate since post type is part of an items metadata and not a MF2/JF2 property.

@jalcine
Copy link

jalcine commented Apr 7, 2022

Good point! I'm in favor of using _kind as well since type would be overloaded. This is going to be implemented in Lighthouse.

(Originally published at: https://jacky.wtf/2022/4/nu/nu5nq7OBzE7j6yE5RHS9unJA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants