From 7e7450054ce603c7a1b8e0c3192dbc626fa9677e Mon Sep 17 00:00:00 2001 From: Dr Washington Sanchez Date: Mon, 16 Oct 2017 09:51:39 +1000 Subject: [PATCH] Limit images/tags in GET /ob/posts Based on feedback, make it clear that there should be a limit. --- obip-0004.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obip-0004.md b/obip-0004.md index e48285f..f6f6eb5 100644 --- a/obip-0004.md +++ b/obip-0004.md @@ -137,6 +137,8 @@ Returns an array of posts from the user or a peer (i.e. `/ob/posts/:peerId`): ] ``` +- A reasonable limit on the maximum number of array elements in `images` and `tags` should be imposed + #### GET `ob/post` Returns an individual post from the user or a peer (i.e. `/ob/post/:peerId/:slug_or_hash`):