Added name and id in response of create/update (#7016)

This commit is contained in:
Utkarsh Bhatnagar authored and Torkel Ödegaard committed 2016-12-20 13:02:26 +01:00
1 parent fa01022494
commit 13c4ce68ee
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -158,7 +158,7 @@ parent = "http_api"
HTTP/1.1 200
Content-Type: application/json
{"id":1,"message":"Datasource added"}
{"id":1,"message":"Datasource added", "name": "test_datasource"}
## Update an existing data source
@@ -193,7 +193,7 @@ parent = "http_api"
HTTP/1.1 200
Content-Type: application/json
{"message":"Datasource updated"}
{"message":"Datasource updated", "id": 1, "name": "test_datasource"}
## Delete an existing data source