# Upload vector file

| Description     | Uploads a file.                                      |
| --------------- | ---------------------------------------------------- |
| **Description** | Uploads a file using a multipart form.               |
| **Endpoint**    | `/path/{pathId}/vector/timestamp/{timestampId}/file` |
| **Method**      | POST                                                 |

### Access Level Rules

| **Minimum Access Level** | edit+ |
| ------------------------ | ----- |

### Processing Units

| **Minimum processing units** | 2 |
| ---------------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="400">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the vector layer.</td><td>true</td><td></td></tr><tr><td><code>timestampId</code></td><td>The id of the vector timestamp.</td><td>true</td><td></td></tr><tr><td><code>name</code></td><td>The name of the file to be uploaded.</td><td>true</td><td></td></tr><tr><td><code>format</code></td><td>The format of the file.</td><td>true</td><td></td></tr><tr><td><code>data</code></td><td>The file to be uploaded.</td><td>true</td><td></td></tr><tr><td><code>epsg</code></td><td>The epsg of the file as an integer. Required if the file itself does not contain a coordinate system.</td><td>false</td><td>Default null.</td></tr><tr><td><code>method</code></td><td>The method through which the data is processed. Must be one of "full", "downsample" or "simplify".</td><td>false</td><td>Default "full".</td></tr><tr><td><code>dateColumns</code></td><td>Array of strings containing the column names of date columns.</td><td>false</td><td>Default null.</td></tr><tr><td><code>datePatterns</code></td><td>Array of date patterns of the dateColumns. Must be a format similar to %y-%m-%dT%H:%M:%S.</td><td>false</td><td>Default null.</td></tr><tr><td><code>fastUpload</code></td><td>Boolean indicating whether to perform fast upload, which allows faster processing speeds at the cost of temporarily disabling the timestamp. Mandatory to be true when the file contains over 1 million geometries.</td><td>false</td><td>Default false.</td></tr></tbody></table>
