Closed singhpratyush closed 8 years ago
Cool. Let's first move the APIs under /api/v1
namespace.
I like /api/v1/g/<video id>
over the json suffixed counterpart.
@singh-pratyush96 How do you propose to standardize responses ?
I will create docs/api/v1/API.md
mentioning the plan. Changes will be made upon discussion.
@singh-pratyush96 Ok. Please use your fork for making changes and then send PRs.
Currently, the API calls are like
/g/<video id>
and/search?q=<query>
.Make it more standard like
/api/v1/g/<video id>
(or/api/v1/g/<video id>.json
,/api/v1/g/<video id>.xml
, etc. )/api/v1/search?q=<query>
(possibly with more parameters likeoffset
andlimit
)The response needs to be standardized too.
Have a look at White House API Standards.