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" : "http://api.example.com/list", | |
"links" : [ | |
{"rel" : "payment", "href" : "http://api.example.com/payment", "prompt" : "Select Payment Method"} | |
], | |
"items" : [ |
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": { | |
"href": "/characters.json", | |
"links" : [ | |
{"rel" : "collection", "href" : "/characters/the_doctor/actors.json", "render" : "embedded"} | |
], | |
"embedded": [ | |
{ |
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
<alps version="1.0"> | |
<link rel="self" href="https://rawgit.com/mamund/9ed1614903f5bddec660/raw/b5e5d0f7250ca5af4169e369036289e52fd6f290/people-search.xml" /> | |
<link rel="help" href="https://developers.google.com/+/api/latest/people/search" /> | |
<doc type="text"> | |
Search all public profiles. Try it now or see an example. | |
For large result sets, results are paginated. For the most up-to-date search results, | |
do not use a pageToken older than five minutes. Instead, restart pagination by | |
repeating the original request (omitting pageToken). | |
</doc> |
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
<alps version="1.0"> | |
<link rel="help" href="https://github.com/RESTFest/2014-Greenville/wiki/Hack%20Day" /> | |
<!-- semantic descriptors (data elements) --> | |
<descriptor id="todoid" type="semantic" /> | |
<descriptor id="todoTitle" type="semantic" /> | |
<descriptor id="todoDateDue" type="semantic" /> | |
<descriptor id="todoNotes" type="semantic" /> | |
<descriptor id="categoryid" type="semantic" /> | |
<descriptor id="categoryTitle" type="semantic" /> |
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
// dealing with comments related to multiple entities | |
{ | |
"comment" : { | |
"id" : "...", | |
"dateCreated" : "...", | |
"authorId" : "...", | |
"commentText" : "...", | |
"associations" : [ | |
{"id" : "...", "type" : "problem"}, | |
{"id" : "...", "type" : "incident"}, |
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
<html> | |
<head> | |
<!-- for test display only --> | |
<title>To Do List</title> | |
<style> | |
.name, .scheduledTime, .status, .item {display:block} | |
</style> | |
</head> | |
<body> | |
<!-- for test display only --> |
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
{ | |
"uber" : | |
{ | |
"version" : "1.0", | |
"data" : | |
[ | |
{"rel" : ["self"], "url" : "http://example.org/"}, | |
{"rel" : ["profile"], "url" : "http://example.org/profiles/people-and-places"}, | |
{ |
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
Verifying that +mamund is my openname (Bitcoin username). https://onename.io/mamund |
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
/******************************************************* | |
* big-todo | |
* Representation Service for collection+json | |
* January 2015 | |
* Mike Amundsen (@mamund) | |
* Soundtrack : Out to Lunch : Eric Dolphy | |
*******************************************************/ | |
var transitions = require('./../transitions.js'); |
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" : "http://api.example.com/users", | |
"links" : [ | |
], | |
"items" : [ | |
], |