post
https://jf.example.com/xray/api/v1/configuration/import
Imports user-defined Xray configurations from a previously exported ZIP file (or an extracted directory) under the Xray backup config folder ({XRAY_HOME}/var/work/server/backup/config/).
Place the exported ZIP on the target server under that folder, then pass its relative path in src_path (for example xray@000_xray_exported_config_1710000000.zip). Absolute paths and paths containing .. are rejected.
Import dependencies mirror export:
-
Importing watches requires importing policies.
-
Importing ignore rules requires importing watches.
When async is true, the API returns immediately after starting the import and writes the result to a temporary import_results_* file next to the source path.
Requires an admin user.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
