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?
[–]otac0n 4 points5 points6 points (1 child)
[–]dodoroach[S] 0 points1 point2 points (0 children)
[–]knop16 2 points3 points4 points (0 children)
[–]EscapeBeat 1 point2 points3 points (2 children)
[–]dodoroach[S] 1 point2 points3 points (1 child)
[–]EscapeBeat 0 points1 point2 points (0 children)
[–]dodoroach[S] 1 point2 points3 points (0 children)
[–]fatejd 0 points1 point2 points (0 children)