Import application archives
POST
/applications/importContract
Parameter | Value |
|---|---|
| Section | applications |
| Authentication | CookieAuth |
| Consumes | multipart/form-data |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| files | formData | yes | file | One or more .pa application archives (maximum 10) |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Import results: {results:[{fileName, id, name, error}], importedCount, failedCount} | object |
400 | Invalid multipart form, no files provided, or too many files provided | object |
401 | Unauthorized | object |
500 | Failed to prepare temporary storage | object |
{ "cursor": { "count": 0, "currentPage": 0, "totalPages": 0, "totalRows": 0 }, "data": {} }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }