Question thread #57

Oct. 15th, 2017 11:24 pm
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma posting in [site community profile] dw_dev
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

API wishlist?

Oct. 10th, 2017 10:29 pm
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
[personal profile] momijizukamori posting in [site community profile] dw_dev
So my workplace gives us a chance twice a year to work on anything we want for a few days, work-related or otherwise, and I thought I'd use some of my time to actually get the new API into a state where we can make it live. With that in mind! What endpoints would you like to see implemented? We're making this Swagger/OpenAPI-compliant, so everything takes JSON as arguments and return JSON formatted data. Stuff already on the list to do or partially done:

/api/v1/users/{username} - GET, shows info about the user (specific info TBD; subset of profile, probably?)
/api/v1/users/{username}/icons - GET, lists icons
/api/v1/users/{username}/icons/{iconid} - GET, returns icon data
/api/v1/users/{username}/journals - GET, returns list of journals with write access.
-- for now, returns only user's primary journal
/api/v1/journals/{username}/accesslists - GET, list of access lists for journal
/api/v1/journals/{username}/tags - GET, list of tags for journal
/api/v1/journals/{username}/xpostaccounts - GET list of xpost accounts
/api/v1/moods - GET list of moods
/api/v1/commentsettings - GET list of allowed comment settings
/api/v1/journals/{username}/entries - POST new entry, GET list of recent entries
/api/v1/journals/{username}/entries/{id} - POST edit entry, GET specific entry
/api/v1/journals/{username}/files - POST new file
/api/v1/spec - GET, returns a description of the API

(Mark and D, as usual, get the final say - some stuff people want may end up being security/privacy risks in non-obvious ways)

So My Home Town Burned Down

Oct. 10th, 2017 08:29 am
labingi: (Default)
[personal profile] labingi
Yep, my home town has been one of the casualties of the California fires, specifically the Sonoma County fires. As far as I have heard, everyone I know is safe and well.

We don't know yet if our house survived. It's way up a hill where they're not going to get video from emergency responders driving by, and the mandatory evacuation is still in effect, so the tenants can't go back to see. All in all, as the photos start to come in, the damage is not as bad as it was in my head. The plants are going to come back fast, which is a comfort.

(no subject)

Oct. 10th, 2017 09:00 pm
lilysea: Mischievous (Mischievous)
[personal profile] lilysea posting in [community profile] metaquotes
"I hope he gets the kind of church coffee that relies on faith to make one scant teaspoonful of cheap instant serve thirty members of the congregation."  - [personal profile] sillymouse 

Context is non-believers culturally appropriating churches for nebulous reasons
.

Junk Food Junkies, rejoice!

Oct. 8th, 2017 05:25 pm
kshandra: Text: "I should perhaps be disturbed by the MASSIVE NEED I have for approval of strangers on the Internet." (Approval)
[personal profile] kshandra posting in [site community profile] dw_community_promo
Your humble narrator was once a happy member of [livejournal.com profile] trashy_eats, before departing LJ altogether for greener, less-censored pastures. Having seen a post on the Book of Face that needed to be shared, she went to see if [community profile] trashy_eats existed...only to discover that nothing had been done with the community since it was originally created seven years ago, and that the two other members listed are no longer active to request that the community be transferred.

This, she thought, simply will not do.

...

I promise I don't always write in the third person. Join me in [community profile] trashy_eats_too, won't you?
conuly: (Default)
[personal profile] conuly posting in [community profile] metaquotes
"So, fellow ambassadors, where should we designate as the capital, bearing in mind the long history and proud traditions many of our members have and taking into account--"

"The humans will screw anyone, won't they?"

"Um...well...well, yes."

"Earth. If it's not going to be my homeworld, at least make it one where the natives are up for some fun."


As Spock would surely say, the context is only logical, Captain.

Profile

dreamcypher: (Default)
dreamcypher

June 2011

S M T W T F S
   1234
567891011
1213 14 15 161718
19202122232425
2627282930  

Tags

Expand Cut Tags

No cut tags