Checks or imports an eMule profile, reading its folder without changing it.
POST/import/emule
Servers, Kad contacts, known and shared files and the preferences are taken over; ports and folders stay njMule's own. A check (dryRun, the default) changes nothing.
Request
Responses
- 200
- 400
- default
What was, or would be, taken.
The request does not follow this document, or names something the engine refuses.
Any other failure: 401 without the right token (with WWW-Authenticate: Bearer), 404 for an
unknown path, 405 for a method the path does not take (with Allow), 429 after too many wrong
tokens, 500 when the request failed, 503 when the engine cannot answer in time.
Response Headers
WWW-Authenticate
Sent with 401 and 429.
Allow
Sent with 405, the methods the path takes.