momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
Cocoa ([personal profile] momijizukamori) wrote in [site community profile] dw_dev2017-12-10 11:56 am
Entry tags:

Looking for API testers!

The new API I've been working on (more discussion here) is getting to the stage where it needs lots of rounds of testing and feedback, because I am extremely scatterbrained and bad at testing. Benefits of helping:
1) get to play with API things now instead of whenever it's ready to go live on the production site
2) my eternal gratitude?
3) idk if you want some custom CSS or something I'm happy to help

In particular, I'd love feedback from people who make use of different security settings on tags, and access and subscription filters, because I don't use these features and thus am less certain of expected behavior.

Caveats
-I don't have API keys working yet, though they're partially written and mostly just need debugging right now. In the meantime, auth is via regular session cookies.
-posting photos is still in the works, because I have to interface with and/or convert an older API to fit the current API conventions, and trying to understand file uploads gives me a headache.
-There is no support for reading or posting comments (outside of inbox notifs) right now, because there needs to be some larger high-level conversations about privacy expectations and what kind of query load the servers can support before we can work out implementation details.
-Icons and image uploads aren't working because I was testing some icon stuff unrelated to the API and slightly borked my config - I will try to get that sorted in the next day or two.

How to do the thing
-Make an account on my dev machine. The workers for content import should be working, if you want to import content from Dreamwidth to play around with.
-Poke at the API - raw JSON-formatted description is here and a slightly cleaner HTML-formatted one is here.
-Leave me feedback! This can be anything you notice - down to 'you misspelled this word'. It's all gotta get fixed at some point, so don't worry about being too picky.
chalcedony_starlings: Two scribbled waveforms, one off-black and one off-white, overlapping, on a flat darkish purpleish background. (scribble twins)

[personal profile] chalcedony_starlings 2017-12-10 07:08 pm (UTC)(link)

How long is this likely to be around? I'm super-interested but I'm also overloaded right now.

[personal profile] casimirian 2017-12-10 07:41 pm (UTC)(link)
Thanks for the update. I've created account.

[personal profile] casimirian 2017-12-10 07:45 pm (UTC)(link)
FYI, I'll be building Python library to call this API. If anyone cares, let me know.
wohali: photograph of Joan (Default)

[personal profile] wohali 2017-12-10 08:05 pm (UTC)(link)
Hi there! I'm sorry I've been absent from the -dev IRC channel. I'm on coding break for a while.

I just wanted to say - thank you, for working on this. I'm sure it'll be incredibly useful in the future.

I'm a bit surprised that the documentation isn't broken up into logical sections, i.e. /journals/* then /users/* then... and so on. I can't actually sort out the structure of the API at all from the web docs. That said, I spent about 30 seconds on it ;)
siderea: (Default)

[personal profile] siderea 2017-12-11 12:07 am (UTC)(link)
OMG SO EXCITE!!!

Also, completely overwhelmed with other stuff atm. I have to go write a Patreon substitute this week. My hosting company is generating SSL certs wrong. Other responsibilities are eating my head. I'll get back to this as soon as I can.

Thank you so much for doing all this!
Edited 2017-12-11 00:10 (UTC)
wailor: (Default)

[personal profile] wailor 2017-12-21 01:55 pm (UTC)(link)
Wow! this is superb!

Without the intention of adding more workload to it, wouldn't it be better to follow the http://jsonapi.org/ specification? That way it would be more "standard" and a lot of apps could work with this API or use one of the multiple implementations that already exist for it.

Btw, the old API was disabled?
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2018-01-11 10:20 pm (UTC)(link)
Btw, the old API was disabled?
Belatedly, I don't think it was. What makes you think so?
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2018-01-19 02:13 am (UTC)(link)
This just to let you know that there's a question in https://dw-dev.dreamwidth.org/202722.html?thread=1566690#cmt1566690 that looks right up your alley.
brainwane: My smiling face, including a small gold bindi (Default)

RESTFest

[personal profile] brainwane 2018-01-25 09:04 pm (UTC)(link)
I want to bring your attention to RESTFest, a conference about API design -- my spouse goes a lot and finds it useful and welcoming. If you would be interested in going to one of the RESTFests this year (April 20-21st in Grand Rapids, MI USA or September 26 + 27-29th, Greenville, SC USA) but would have trouble for financial reasons, ping me and I'll put you in touch with the organizers, who have in the past wrangled scholarships.