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 name="description"> | |
<data name="name">Stephen</data> | |
is my name. | |
</data> | |
</uber> |
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> | |
<title>Example #1</title> | |
</head> | |
<body> | |
<h1>Example #1</h1> | |
<form action="..." method="get"> | |
<input name="messageText" /> | |
<input type="createDate" /> |
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> | |
<doc> | |
The example profile here contains details on customizing any representation media type for a specific | |
application domain: Micro-blogging. It contains descriptions of valid data and transition values that | |
can appear within resource representations. This document is presented as a complete blueprint for | |
implementing a compliant client or server that supports the basic features of the target application | |
domain (Micro-blogging). | |
</doc> | |
<link rel="help" href="http://amundsen.com/hypermedia/profiles/" /> | |
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"> | |
<descriptor id="ingredient" type="semantic"> | |
<doc format="html">An ingredient of a cooking receipt</doc> | |
<descriptor id="name" type="semantic" rt="http://alps.io/schema.org/Text"> | |
<doc format="html">The name of the ingredient, e.g. "flour"</doc> | |
</descriptor> | |
<descriptor id="amount" type="semantic"> | |
<doc format="html">Describes how much of the ingredient is to be used</doc> | |
<descriptor id="unit" type="semantic" rt="http://alps.io/schema.org/Text"> |
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> | |
<link rel="profile" href="https://gist.github.com/mamund/f5ad7ebf2aa0833ceb89" /> | |
<doc> | |
An example of a highly-constrained ALPS profile. One that leaves very | |
few choices to implementors. I don't recommend this kind of profile | |
design since the aesthetics of ALPS is to create profiles that focus | |
on the problem and allow creative people to design their own solutions | |
with that problem space. - @mamund | |
</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
{ "collection" : | |
{ | |
"version" : "1.0", | |
"href" : "http://api.example.com/users", | |
"links" : [ | |
], | |
"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" : | |
{ | |
"version" : "1.0", | |
"href" : "http://api.example.com/users", | |
"links" : [ | |
], | |
"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" : | |
{ | |
"version" : "1.0", | |
"href" : "http://api.example.org/products", | |
"links" : [ | |
{"rel" : "search", "href" : "http://api.example.org/search", "prompt" : "Search"}, | |
{"rel" : "profile", "href" : "http://schema.org/Product"} | |
], |
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
{ | |
"url" : "http://api.example.com/1", | |
"givenName" : "Mike", | |
"familyname" : "Amundsen", | |
"email" : "[email protected]", | |
"phone" : "123-456-7890" | |
} |
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/assemblies/", | |
"links" : [ | |
{ | |
"rel" : "profile", | |
"href" : "http://alps.example.org/bioassembly.xml" | |
}, | |
{ |