Terug naar alle discussies
Non-membership articles
lfranikowski
7 months ago
Hi, is there a way to filter articles based on member-only, non member-only?
Doe mee aan de discussie - voeg hieronder een opmerking toe
Log in / Schrij u in om nieuwe opmerkingen te plaatsen
Hi Łukasz, Good News!
Two new attributes are added to the Article Info Endpoint ?
is_series
(Boolean): “True” if the article is in a Series, else “False”is_locked
(Boolean): “True” if the article is members-only, else “False” for free articlesHope this will be helpful to filter member-only and non-member articles. Let me know if you have any doubts.
Thanks from advance it would be great 😃
I’ll see what I can do 😃
It would be better if it could be added to aggregating endpoint (ex. top feeds, latest posts), article info would not be very helpful.
Hi Łukasz,
Currently, I’ve not added this datapoint in the API. I will look into this, if it is possible for me to implement.
If it’s possible, I’ll add it in the “Article’s Info” Endpoint ( /article/{article_id} )
I’ll update you once it’s done. Thanks for raising this query!
If you have any other doubts or suggestions, feel free to open a discussion here. Or you can email me at "nishu@mediumapi.com".
Thanks again
Nishu