Browse Source

fix datasource api docs

reflects change in e2f6633d57624664654463578e8d2502bfd7ffef
Dieter Plaetinck 10 years ago
parent
commit
ac37b54ddb
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/sources/reference/http_api.md

+ 4 - 4
docs/sources/reference/http_api.md

@@ -183,7 +183,7 @@ Status Codes:
 
 ### Create data source
 
-`PUT /api/datasources`
+`POST /api/datasources`
 
 **Example Response**:
 
@@ -192,9 +192,9 @@ Status Codes:
 
         {"message":"Datasource added"}
 
-### Edit an existing data source
+### Update an existing data source
 
-`POST /api/datasources`
+`PUT /api/datasources/:datasourceId`
 
 ### Delete an existing data source
 
@@ -269,7 +269,7 @@ Adds a global user to the actual organisation.
 
 ### Delete User in Organisation
 
-`DELETE /api/orgs/:orgId/users/:userId`    
+`DELETE /api/orgs/:orgId/users/:userId`
 
 ## Users