canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093
edits
Line 38: | Line 38: | ||
* GET /project/export/[projectname][.tgz|.zip] - export the project as a tarball or zipfile | * GET /project/export/[projectname][.tgz|.zip] - export the project as a tarball or zipfile | ||
* POST /project/import/[projectname] - create/replace the project with the provided file. The data should be a multipart form with a filedata file upload field. NOTE: if the project already exists, this will delete the project and start over (and if the project already exists, only the owner of the project can call this. If the project does not exist, anyone can call this). | * POST /project/import/[projectname] - create/replace the project with the provided file. The data should be a multipart form with a filedata file upload field. NOTE: if the project already exists, this will delete the project and start over (and if the project already exists, only the owner of the project can call this. If the project does not exist, anyone can call this). | ||
* POST /project/fromurl/[projectname] - just like import above, but the body is a URL to download for import. The URL should be a zip file or gzipped tar file. | |||
== Settings == | == Settings == |