TPAC 2015
Vivien Lacourba, W3C Systems Team
TPAC October 2015
Sapporo, Japan
Currently only expose public data:
{
status: "Recommendation",
uri: http://www.w3.org/TR/2014/REC-html5-20141028/,
date: "2014-10-28",
informative: false,
title: "HTML5",
shortlink: http://www.w3.org/TR/html5/,
editor-draft: http://www.w3.org/html/wg/drafts/html/master/,
process-rules: http://www.w3.org/2005/10/Process-20051014/,
_links: {
self: { href: (...)/specifications/html5/versions/20141028 },
editors: { href: (...)/specifications/html5/versions/20141028/editors },
deliverers: { href: (...)/specifications/html5/versions/20141028/deliverers },
specification: { href: (...)/specifications/html5 },
predecessor-version: { href: (...)/specifications/html5/versions/20141028/predecessors }
}
}
Call the API passing the key as either a:
https://api-test.w3.org/groups?apikey=xxx
Authorization
Authorization: W3C-API apikey="xxx"
https://github.com/w3c/apiary
<html data-api-key="abc123def456">
<head>
<title class="apiary-name">[Loading…]</title>
</head>
<body data-group-id="68239">
<h1>
<span class="apiary-name">[Loading…]</span>
<em class="apiary-type">[Loading…]</em>
</h1>
<p class="apiary-description">[Loading…]</p>
<h2>Chairs</h2>
<div class="apiary-chairs">[Loading…]</div>
<script src="//www.w3.org/scripts/jquery/2.1/jquery.min"></script>
<script src="//w3c.github.io/apiary/apiary.js"></script>
</body>
</html>
Traverse JSON results and follow links up to the field in question;
then concatenate with @
all property names present in the path.
https://api-test.w3.org/domains/41381?embed=1
_links.lead.title
apiary-lead@title