@@ -222,6 +222,7 @@ A user wants to create a database in DBRepo.
```bash
curl -sSL \
-X POST \
-H "Authorization: Bearer ACCESS_TOKEN" \
-d '{"name":"Danube Water Quality Measurements","container_id":1,"is_public":true}' \
http://localhost/api/database | jq .id
```
...
...
@@ -394,6 +395,7 @@ access to. This is the default for self-created databases like above in [Create
```bash
curl -sSL \
-X POST \
-H "Authorization: Bearer ACCESS_TOKEN" \
-d '{"filename":"FILEKEY","separator":","}' \
http://localhost/api/analyse/determinedt | jq
```
...
...
@@ -403,6 +405,7 @@ access to. This is the default for self-created databases like above in [Create
```bash
curl -sSL \
-X POST \
-H "Authorization: Bearer ACCESS_TOKEN" \
-d '{"name":"Danube water levels","description":"Measurements of the river danube water levels","columns":[{"name":"datetime","type":"timestamp","dfid":1,"primary_key":false,"null_allowed":true},{"name":"level","type":"bigint","size":255,"primary_key":false,"null_allowed":true}]}' \
http://localhost/api/database/1/table | jq .id
```
...
...
@@ -419,6 +422,7 @@ access to. This is the default for self-created databases like above in [Create