-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
51 lines (46 loc) · 1.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title>json:api examples</title>
<style type="text/css">
li {
padding: 0.25em 0;
list-style-type: disc;
}
footer {
position: fixed;
bottom: 0;
}
</style>
</head>
<body>
<h1>json:api examples</h1>
<h3>Single resources</h3>
<ul>
<li><a href="resource_human_api.php">Basic example, via the human-friendly API</a></li>
<li><a href="resource_spec_api.php">Basic example, via the specification-based API</a></li>
<li><a href="relationships.php">Adding relationships</a></li>
<li><a href="resource_nested_relations.php">Nested relations</a></li>
<li><a href="resource_links.php">Different link options</a></li>
</ul>
<h3>Resources collections</h3>
<ul>
<li><a href="collection.php">Basic example</a></li>
<li><a href="collection_canonical.php">Example from jsonapi.org's homepage</a></li>
</ul>
<h3>Errors</h3>
<ul>
<li><a href="errors_exception_native.php">Via php's native exception</a></li>
<li><a href="errors_all_options.php">All options</a></li>
</ul>
<h3>Misc</h3>
<ul>
<li><a href="meta_only.php">Meta-only use-cases</a></li>
<li><a href="status_only.php">Status-only</a></li>
<li><a href="output.php">Different ways to output</a></li>
</ul>
<footer>
<p><a href="https://github.com/lode/jsonapi">GitHub</a></p>
</footer>
</body>
</html>