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
var thisPage = function() { | |
var g = {}; | |
g.msg = {}; | |
g.listUrl = '/tasks/'; | |
function init() {} | |
function showResponse() {} | |
function showControls() {} |
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://example.org/schedules", | |
"links" : [ | |
{"link" : {"rel" : "profile", "href" : "http://example.org/profiles/schedules"}, | |
{"link" : {"rel" : "http://example.org/rels/rssfeed", "href" : "http://example.org/schedules/index.rss"} | |
], |
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": { | |
"qbe": [ | |
{ | |
"href": "http://example.org/Customers", | |
"method" : "POST", | |
"data": [ | |
{"name": "fname", "prompt": "First Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "lname", "prompt": "Last Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "age", "prompt": "Age:", "operators": []}, |
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
// cj write template | |
{ | |
"template" : { | |
"data" : [ | |
{"name" : "qwe", "value" : ""}, | |
{"name" : "rty", "file" : ""} | |
] | |
} | |
} |
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"}, | |
"data" : | |
[ |
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" : { | |
"links" : [], | |
"metadata" : { | |
"data" :[ | |
{"name" : "pagecount", "value" : "257", "prompt" : "Pages:"} | |
] | |
}, | |
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://example.org/template-v-items/", | |
"links" : [ | |
{"rel" : "help", "href" : "http://example.org/template-v-item/publications.html"}, | |
{"rel" : "profile", "href" : "http://example.org/template-v-item/profiles/publications.alps"} | |
], | |
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="http://example.org/documentation/products.html" /> | |
<doc> | |
This is a prototype product API. | |
</doc> | |
<!-- transitions --> | |
<descriptor id="item" type="safe" rt="#product"> | |
<doc>Retrieve A Single Product</doc> | |
</descriptor> |