From 0df399f11c550bfea0bb6d1d175c4666e2f174e2 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 15 Jan 2016 20:14:05 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20parts=20of=20the=20page=20that=20aren?= =?UTF-8?q?=E2=80=99t=20in=20the=20story?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.pivotaltracker.com/story/show/111614524 Not clear if we are going to have code examples on this page, or if the documentation will be hosted somewhere else. It seems unecessary to put documentation behind a log in, so I’d lean towards this page just being links. --- app/templates/views/api-keys.html | 59 ++++++++++++++++--------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/app/templates/views/api-keys.html b/app/templates/views/api-keys.html index 7243753c9..13122838b 100644 --- a/app/templates/views/api-keys.html +++ b/app/templates/views/api-keys.html @@ -3,48 +3,51 @@ {% from "components/api-key.html" import api_key %} {% block page_title %} -GOV.UK Notify | API keys and documentation + GOV.UK Notify | API keys and documentation {% endblock %} {% block maincolumn_content %} -

API documentation and key

+
+
-

How to integrate GOV.UK Notify into your service

+

+ API keys and documentation +

-

blah blah blah this is where we tell you how the API works

+

+ How to integrate GOV.UK Notify into your service +

-

Repositories

+

+ blah blah blah this is where we tell you how the API works +

-

https://github.com/alphagov/notifications-api
- GOV.UK Notify API

- -

A python api client for GOV.UK Notify

+

Repositories

-

Python client

-

blah blah blah this is what to do for Python

+

+ GOV.UK Notify API +

-
-

- here is; - some() { - code.stuff(); - } -

+

+ GOV.UK Notify Python client +

+ +

API key for [service name]

+ + {{ api_key('d30512af92e1386d63b90e5973b49a10') }} + +

API endpoint

+ +

+ https://www.notify.works/api/endpoint +

+ +
-

- -
- -

API key for [service name]

- -

API endpoint: https://www.notify.works/api/endpoint

- - {{ api_key('d30512af92e1386d63b90e5973b49a10') }} - {{ page_footer( back_link=url_for('.dashboard', service_id=service_id), back_link_text='Back to dashboard'