Medium

부분 유료
Verified
분류별 Nishu Jain | 업데이트됨 לפני 14 ימים | Data
인기

9.7 / 10

지연 시간

798ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Non-membership articles

Rapid account: Lfranikowski
lfranikowski
לפני שנה

Hi, is there a way to filter articles based on member-only, non member-only?

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented לפני שנה

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 articles

Hope this will be helpful to filter member-only and non-member articles. Let me know if you have any doubts.

Rapid account: Lfranikowski
lfranikowski Commented לפני שנה

Thanks from advance it would be great 😃

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented לפני שנה

I’ll see what I can do 😃

Rapid account: Lfranikowski
lfranikowski Commented לפני שנה

It would be better if it could be added to aggregating endpoint (ex. top feeds, latest posts), article info would not be very helpful.

Rapid account: Nishujain 199719 Vg Ifu FH Zx VZ
nishujain199719-vgIfuFHZxVZ Commented לפני שנה

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입