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,15 +99,10 @@
</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,8 +114,8 @@
{{""" {{"""
{ {
'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',
@@ -131,6 +126,7 @@
'jobId':1, 'jobId':1,
'sender':'sms-partner' 'sender':'sms-partner'
} }
}
} }
"""|syntax_highlight_json }} """|syntax_highlight_json }}