Created
March 28, 2017 18:21
-
-
Save mamund/6eca5c52b3bbea64fa9ce303a0fd6e68 to your computer and use it in GitHub Desktop.
page-level properties for cj documentrs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
collection: { | |
version: "1.0", | |
href: "//api.example.org/", | |
title: "Long List of Stuff", | |
properties: { | |
current-page: "3", | |
page-count: "1001", | |
item-count: "15034" | |
}, | |
links: [ | |
{ | |
href: "http://api.example.org/pages;p=1", | |
rel: "first", | |
prompt: "First Page" | |
}, | |
{ | |
href: "http://api.example.org/pages;p=2", | |
rel: "previous", | |
prompt: "Previous Page" | |
}, | |
{ | |
href: "http://api.example.org/pages;p=4", | |
rel: "next", | |
prompt: "Next Page" | |
}, | |
{ | |
href: "http://api.example.org/pages;p=last", | |
rel: "last", | |
prompt: "Last Page" | |
} | |
], | |
items: [], | |
queries:[], | |
template:[] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment