# Send one part of a project too large for one request

`POST /hosting/coder/projects/import/parts` · Rivier · hosting

Send one part of a project too large for one request: up to 8 parts of at most 8 MB each, in the request body as bytes, all with the same upload identifier. Sending a part again replaces it. Nothing is read until the upload is finished.

- Scope: hosting:write
- Sdk: hosting.coderProject.importPart
- Cli: hosting coder project import part

## Parameters

- `upload` (query, required), string
- `part` (query, required), integer

## Request body

`application/octet-stream`

```json
{
  "type": "string",
  "format": "binary"
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/coder/projects/import/parts' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/octet-stream'
```
