Server Implementation Questions #97
Txuritan
started this conversation in
General / Meta
Replies: 1 comment
-
|
Hi @Txuritan and thank you for your interest and feedback! This looks like a pretty good list to go through and check. I will do this soonish and will get back to you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a server implementation and have a some questions/thoughts that I have come up with as I worked:
codeproperty in theErrortype is of typestring, yet the examples shownumber, I assumed this to be an mistype but I wanted to bring it up.Errortype be used or just respond with a500: Internal Server Errorwith no body?405: Method Not Allowedis used as the example Validation error response, instead of400: Bad Request?api_keyauth schema is notAuthorization: Bearer? If not, should the header name not beApi-Keyto keep in line with the header of the HTTP headers?GET /subscriptions/{guid}return a Validation error but notGET /subscriptionsconsidering that route has query parameters? Or is that the wrongErrorresponse to use for that?GET /subscriptions/{guid}can respond with410: Gone, is this used for when the subscription is deleted from the user's subscriptions or server? If user when should it respond with410: Gonevs responding with theSubscription'sdeletedproperty set?podcast_authOAuth schema, is the server acting as a OAuth provider? If not is there a plan to tell clients what providers a server supports?POST subscriptions), is theContent-Typeheader required in the request? What should the server do if it wasn't, should it prioritize one over the other?Accept: application/xmlbe restricted toapplication/xml; charset=utf-8or is there a need to support UTF-16 as well?These were jotted down as I went, so do I apologize for how they are written.
Beta Was this translation helpful? Give feedback.
All reactions