Files
notifications-admin/app/templates/views/documentation.html
2019-08-21 10:17:36 +01:00

35 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "content_template.html" %}
{% block per_page_title %}
Documentation
{% endblock %}
{% block content_column_content %}
<h1 class="heading-large">Documentation</h1>
<p>This documentation is for developers who want to integrate the GOV.UK Notify API with a web application or back office system.</p>
<h2 class="heading-medium">Client libraries</h2>
<p>Links to documentation open in a new tab.</p>
<ul class="list list-bullet">
{% for key, label in [
('java', 'Java'),
('net', '.NET'),
('node', 'Node JS'),
('php', 'PHP'),
('python', 'Python'),
('ruby', 'Ruby'),
] %}
<li><a href="https://docs.notifications.service.gov.uk/{{ key }}.html" target="_blank" rel="noopener">{{ label }}</a></li>
{% endfor %}
</ul>
<p>A developer should be able to set up the API client and start sending test messages in around 30 minutes. A full integration can take a few days, depending on the other systems youre using.</p>
<h2>Integrating directly with the API</h2>
<p>We recommend using the client libraries rather than integrating directly with the API.</p>
<p>Theres no documentation for using the API in this way. Youll still need to read the client documentation to understand:</p>
<ul class="list list-bullet">
<li>what the API client does</li>
<li>what development work youll need to do</li>
</ul>
<p>To send a message youll need to create an HTTPS request and add an authorisation header with your API key. The API key is encoded with JSON Web Tokens (JWT).</p>
{% endblock %}