RESTful API Question

Hello,

Not sure if such questions are answered on this subreddit but, I have a question about an API design. I’m planning to design a url pattern where it will look like

base/{userid}/{fileid}/meta

BUT this api frequently has to return meta of ALL files of this user. How should I go about designing it? Just add a check to see if the path is something like “all” or is this just a bad URL pattern?

submitted by /u/dodoroach
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! http://bit.ly/2GZJexN

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close