Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Question to Transfer API

 

Hi,

 

A question to Transfer API > Importing a file via a single POST call:

 

POST /xfer/import/MyProj/SomeFolder

Orion-Version: 1.0

Content-Length: 901024

Content-Type: application/zip

 

This is the file contents 

 

Does it mean that:

If no slug is provided and content type is “zip”, then unzip it to “SomeFolder”.

If slug X is provided, write the file with the name X.

 

What to do if type is not “zip” and no slug is provided?

 

Best Regards,

Vitaly

 


Back to the top