Skip to content

Commit

Permalink
Site updated to d067aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagov-jenkins committed Sep 21, 2017
1 parent 81e4248 commit f686c81
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
<span class="header__title">
Content API
<span class="phase-banner">Work In Progress</span>
<span class="phase-banner">Beta</span>
</span>
</a>
</div>
Expand Down
10 changes: 5 additions & 5 deletions getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
<span class="header__title">
Content API
<span class="phase-banner">Work In Progress</span>
<span class="phase-banner">Beta</span>
</span>
</a>
</div>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h1 id="getting-started">Getting Started</h1>
<p>This guide introduces a number of key concepts in GOV.UK Content API through
the usage of examples. It utilises <a href="https://curl.haxx.se/">curl</a> for
interfacing with the API on the command line and is chosen due to the wide
availability of curl- however you may prefer the structured output of
availability of curl, however you may prefer the structured output of
using <a href="https://httpie.org/">HTTPie</a> or piping the curl responses
through <a href="https://stedolan.github.io/jq/">jq</a>.</p>
<h2 id="accessing-content">Accessing Content</h2>
Expand Down Expand Up @@ -168,7 +168,7 @@ <h3 id="document-type-and-schema-name">Document type and schema name</h3><div cl
the name of the format on GOV.UK. Often these fields share the same value as
there is often only one schema for a particular <code>document_type</code>.</p>

<p>This is the case with <a href="https://www.gov.uk/api/content/vat-rates">Vat Rates</a> where the content returned
<p>This is the case with <a href="https://www.gov.uk/api/content/vat-rates">VAT Rates</a> where the content returned
utilises the <a href="https://github.com/alphagov/govuk-content-schemas/blob/d0606b8a1add8066d90bcb00e890fd619340fd81/dist/formats/answer/frontend/schema.json"><code>answer</code> schema</a>.</p>
<h3 id="details">Details</h3><div class="highlight"><pre class="highlight plaintext"><code>{
...
Expand All @@ -184,7 +184,7 @@ <h3 id="details">Details</h3><div class="highlight"><pre class="highlight plaint
structure is described by the <a href="#document-type-and-schema-name">schema</a>, which
itself is defined by the <code>schema_name</code> field.</p>

<p>In the case of <a href="https://www.gov.uk/api/content/vat-rates">Vat Rates</a> an <a href="https://github.com/alphagov/govuk-content-schemas/blob/d0606b8a1add8066d90bcb00e890fd619340fd81/dist/formats/answer/frontend/schema.json"><code>answer</code> schema</a>
<p>In the case of <a href="https://www.gov.uk/api/content/vat-rates">VAT Rates</a> an <a href="https://github.com/alphagov/govuk-content-schemas/blob/d0606b8a1add8066d90bcb00e890fd619340fd81/dist/formats/answer/frontend/schema.json"><code>answer</code> schema</a>
is used. The <code>answer</code> schema allows a <code>body</code> value, which contains the HTML
for the page and a <code>external_related_links</code> value, which is an array that can
be used to provide links to associated pages hosted off GOV.UK.</p>
Expand All @@ -197,7 +197,7 @@ <h3 id="links">Links</h3>
<p>The values that can be used for link types are defined within the
<a href="#document-type-and-schema-name">schema</a> associated with the content.
This value describes the type of relationship between content. For example,
with <a href="https://www.gov.uk/api/content/vat-rates">Vat Rates</a> there is a relationship with a link type of
with <a href="https://www.gov.uk/api/content/vat-rates">VAT Rates</a> there is a relationship with a link type of
<code>mainstream_browse_pages</code>. The purpose of this link type is to enable linking
to pages to help users find similar content that is suitable for a mainstream
audience.</p>
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
<span class="header__title">
Content API
<span class="phase-banner">Work In Progress</span>
<span class="phase-banner">Beta</span>
</span>
</a>
</div>
Expand Down Expand Up @@ -135,7 +135,7 @@
<h1 id="gov-uk-content-api">GOV.UK Content API</h1>
<div class="phase-tag">
<p>
<strong class="phase-banner">Work In Progress</strong>
<strong class="phase-banner">Beta</strong>
<span>
This is a trial service — your
<a href="http://www.smartsurvey.co.uk/s/GPYGP">feedback</a>
Expand Down Expand Up @@ -219,7 +219,7 @@ <h2 id="security-and-compliance">Security and compliance</h2><h3 id="reporting-v
<h3 id="https">HTTPS</h3>
<p>GOV.UK Content API follows government HTTPS security guidelines. The
Hypertext Transfer Protocol Secure (HTTPS), which involves the Transport Layer
Security (TLS) protocol is used by the platform to provide secure connections.</p>
Security (TLS) protocol, is used by the platform to provide secure connections.</p>
<h3 id="security-patches">Security patches</h3>
<p>We treat security vulnerabilities in the platform and library code in the GOV.UK
Content API as our highest priority. The codebase will be updated as soon as
Expand Down
2 changes: 1 addition & 1 deletion reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</span>
<span class="header__title">
Content API
<span class="phase-banner">Work In Progress</span>
<span class="phase-banner">Beta</span>
</span>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/screen-old-ie.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion stylesheets/screen.css

Large diffs are not rendered by default.

0 comments on commit f686c81

Please sign in to comment.