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
-
I'm writing a server implementation and have a some questions/thoughts that I have come up with as I worked:
code
property in theError
type is of typestring
, yet the examples shownumber
, I assumed this to be an mistype but I wanted to bring it up.Error
type be used or just respond with a500: Internal Server Error
with no body?405: Method Not Allowed
is used as the example Validation error response, instead of400: Bad Request
?api_key
auth schema is notAuthorization: Bearer
? If not, should the header name not beApi-Key
to keep in line with the header of the HTTP headers?GET /subscriptions/{guid}
return a Validation error but notGET /subscriptions
considering that route has query parameters? Or is that the wrongError
response 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: Gone
vs responding with theSubscription
'sdeleted
property set?podcast_auth
OAuth 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-Type
header required in the request? What should the server do if it wasn't, should it prioritize one over the other?Accept: application/xml
be restricted toapplication/xml; charset=utf-8
or 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