logo by user c1

basement
community

search

wall of shame

technical feedback Forum api status?

joined feb 18, 2023

avatar

Apprentice keyboard warrior

joined feb 18, 2023

How's the api going? The documentation page is blank for me, or maybe I don't understand how to proceed from the instructions given

api docs page

posted 2/20/2023, 12:33 am

joined dec 4, 2022

avatar

joined dec 4, 2022

lol i didn't realize that page looked like that on mobile. i'm using a documentation theme for that site, so it looks like you'll have to view it desktop sizes because there's a whole sidebar that's being hidden

posted 2/20/2023, 1:08 am

joined feb 18, 2023

avatar

Apprentice keyboard warrior

joined feb 18, 2023

quoting partly_cloudy:

you'll have to view it desktop sizes because there's a whole sidebar that's being hidden

Oh shit man, my bad. Checked it on desktop and it's working perfectly.

Is there any way to mark posts in a thread as "read"? Lets say I read them using the API, I would like not to have them marked as "unread" the next time I access the forum using my browser.

i wanna command line baby

oh ye

posted 2/22/2023, 11:50 pm

joined dec 4, 2022

avatar

joined dec 4, 2022

@guites

currently, you can only mark an individual post as read like so:

curl 'https://api.basementcommunity.com/posts/462/read' \ -X 'POST' \ -H 'authority: api.basementcommunity.com' \ -H 'accept: application/json, text/plain, */*' \ -H 'authorization: Bearer API_KEY_HERE' --compressed

this gets executed any time you visit a thread page and will mark the last post on the page as read. are you asking about something different?

edited 2/23/2023, 8:42 pm

joined dec 4, 2022

avatar

joined dec 4, 2022

posted 2/23/2023, 5:09 am

joined feb 18, 2023

avatar

Apprentice keyboard warrior

joined feb 18, 2023

quoting partly_cloudy:

@guites

currently, you can only mark an individual post as read like so:

curl 'https://api.basementcommunity.com/posts/462/read' \ -X 'POST' \ -H 'authority: api.basementcommunity.com' \ -H 'accept: application/json, text/plain, */*' \ -H 'authorization: Bearer API_KEY_HERE --compressed

thanks, seems like this is it! Will try out back at home

posted 2/23/2023, 12:07 pm

technical feedback Forum api status?