Merge pull request #349 from alphagov/doc-change-for-notifications-api

Fix docs to line up with api
This commit is contained in:
Adam Shimali
2016-03-24 16:24:24 +00:00

View File

@@ -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 }}