From f298fd514ac87bf6b5f8aad0eaacbee627104699 Mon Sep 17 00:00:00 2001 From: hunterowens Date: Thu, 16 Aug 2018 17:43:18 -0700 Subject: [PATCH] Pagination fix. Fixes #20 --- meta.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta.md diff --git a/meta.md b/meta.md new file mode 100644 index 00000000..3e096765 --- /dev/null +++ b/meta.md @@ -0,0 +1,11 @@ +# Meta information for MDS APIs + +MDS follows the [JSON API](http://jsonapi.org/format/#fetching-pagination) compliance for pagination. + +All API reponses must provide the following members + +the following keys MUST be used for pagination links: +`first`: the first page of data +`last`: the last page of data +`prev`: the previous page of data +`next`: the next page of data