mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Merge pull request #349 from alphagov/doc-change-for-notifications-api
Fix docs to line up with api
This commit is contained in:
@@ -99,16 +99,11 @@
|
|||||||
</div>
|
</div>
|
||||||
{{"""
|
{{"""
|
||||||
{
|
{
|
||||||
'notification':
|
'data':{
|
||||||
{
|
'notification': {
|
||||||
'to': '+441234123123',
|
'id':1
|
||||||
'createdAt': '2016-01-01T09:00:00.999999Z',
|
}
|
||||||
'status': 'created',
|
}
|
||||||
'id': 1,
|
|
||||||
'message': '....',
|
|
||||||
'method': 'sms',
|
|
||||||
'jobId': 1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
"""|syntax_highlight_json }}
|
"""|syntax_highlight_json }}
|
||||||
|
|
||||||
@@ -119,18 +114,19 @@
|
|||||||
|
|
||||||
{{"""
|
{{"""
|
||||||
{
|
{
|
||||||
'notification':
|
'data':{
|
||||||
{
|
'notification': {
|
||||||
'status': 'sent',
|
'status':'sent',
|
||||||
'createdAt': '2016-01-01T09:00:00.999999Z',
|
'createdAt':'2016-01-01T09:00:00.999999Z',
|
||||||
'to': '+447827992607',
|
'to':'+447827992607',
|
||||||
'method': 'sms',
|
'method':'sms',
|
||||||
'sentAt': '2016-01-01T09:01:00.999999Z',
|
'sentAt':'2016-01-01T09:01:00.999999Z',
|
||||||
'id': 1,
|
'id':1,
|
||||||
'message': '...',
|
'message':'...',
|
||||||
'jobId': 1,
|
'jobId':1,
|
||||||
'sender': 'sms-partner'
|
'sender':'sms-partner'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
"""|syntax_highlight_json }}
|
"""|syntax_highlight_json }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user