docs(import): correct formatting of json examples for export and import (#4142)

Co-authored-by: Florian Forster <florian@caos.ch>
This commit is contained in:
Stefan Benz
2022-08-08 14:33:56 +02:00
committed by GitHub
parent 50acb22399
commit 46e5c0da97

View File

@@ -35,9 +35,9 @@ curl --request POST \
"org_ids": [ "70669144072186707", "70671105999825752" ],
"excluded_org_ids": [ ],
"with_passwords": true,
"with_otp": true
"timeout": "30s",
"response_output": true,
"with_otp": true,
"timeout": "30s",
"response_output": true
}' -o export.json
```
@@ -80,15 +80,16 @@ curl --request POST \
--header 'Content-Type: application/json' \
--data ' "{
"org_ids": [ "70669144072186707", "70671105999825752" ],
"excluded_org_ids": [ ],
"with_passwords": true,
"with_otp": true,
"timeout": "10m",
"gcs_output": {
"path": "export.json",
"bucket": "caos-zitadel-exports",
"serviceaccount_json": "XXXX"
}' -o export.json
"excluded_org_ids": [ ],
"with_passwords": true,
"with_otp": true,
"timeout": "10m",
"gcs_output": {
"path": "export.json",
"bucket": "caos-zitadel-exports",
"serviceaccount_json": "XXXX"
}
}'
```
* "org_ids": to select which organizations should be exported
@@ -114,12 +115,12 @@ curl --request POST \
--header 'Authorization: Bearer XXXX' \
--header 'Content-Type: application/json' \
--data '{
"timeout": "10m",
"data_orgsv1_gcs": {
"path": "export.json",
"bucket": "caos-zitadel-exports",
"serviceaccount_json": "XXXX"
}
"timeout": "10m",
"data_orgsv1_gcs": {
"path": "export.json",
"bucket": "caos-zitadel-exports",
"serviceaccount_json": "XXXX"
}
}'
```