Skip to content
Snippets Groups Projects
Unverified Commit 301ab32c authored by Alex Yarosh's avatar Alex Yarosh Committed by GitHub
Browse files

docs: Serialization API uses POST (#44439)

* call attention to POST

* wording
parent 737c24af
No related branches found
No related tags found
No related merge requests found
......@@ -469,6 +469,8 @@ There are two endpoints:
- `POST /api/ee/serialization/export`
- `POST /api/ee/serialization/import`
> We use `POST`, not `GET`, for the `/export` endpoint. The export operation does not modify your Metabase, but it's long and intensive, so we use `POST` to prevent accidental exports.
For now, these endpoints are synchronous. If the serialization process takes too long, the request can time out. In this case, we suggest using the CLI commands.
See [How export works](#how-export-works), [How import works](#how-import-works), and [Serialization best practices](#serialization-best-practices) for general information about serialization.
......@@ -613,6 +615,8 @@ curl \
substituting `YOUR_API_KEY` with your API key and `your-metabase-url` with the URL of your Metabase instance.
> We use `POST`, not `GET`, for the `/export` endpoint.
This command will download the files as a GZIP-compressed Tar file named `metabase_data.tgz`.
2. Unzip the compressed file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment