---
title: "POST /resourceAlias/{alias}/children"
method: POST
path: "/resourceAlias/{alias}/children"
tags: ["postChildrenForAlias"]
---

# POST /resourceAlias/{alias}/children

`POST /resourceAlias/{alias}/children`

Prepare upload of files or create container/nested containers like "mkdir -p"

## Path parameters

- `alias` string, required

## Query parameters

- `conflictResolution` 'RENAME' | 'OVERWRITE' | 'NONE' | 'INVALID'
- `lockToken` string
- `option` 'DEFAULT' | 'METADATA' | 'MIGRATIONMETADATA' | 'ADDITIONALMETADATA' | 'WIN32PROPERTIES' | 'PARENTS' | 'PROPERTIES' | 'DOWNLOAD' | 'INTERNALDOWNLOAD' | 'UPLOAD' | 'INTERNALUPLOAD' | 'OPEN' | 'SHARES' | 'THUMBNAILS' | 'DISPLAYRESOURCE' | 'SYNC' | 'INVALID' | 'FULLPATH' | 'TAGS'

## Headers

- `cookie` string
- `If-Match` string

## Request body

- object[]
  - `forceOverwrite` boolean
  - `ovewrite` boolean
  - `path` string, required
  - `resourceType` 'CONTAINER' | 'ALIASCONTAINER' | 'FILE', required
  - `sha256` string
  - `size` integer
  - `uploadType` 'SIMPLE' | 'SIMPLECHUNK' | 'CHUNKED' | 'URI' | 'FORM'
  - `properties` ResourceCreationPropertiesModel
    - `ui:win32` UiWin32
      - `readOnly` boolean
      - `hidden` boolean
      - `system` boolean
      - `creationMillis` integer
      - `lastModificationMillis` integer
      - `lastAccessMillis` integer
    - `ui:share` UiShareModel
      - `share` ShareModel[]
        - `ownerName` string
        - `name` string
        - `expirationMillis` integer
        - `resourcePermission` SharePermission
          - `readable` boolean
          - `writable` boolean
          - `deletable` boolean
          - `notificationEnabled` boolean
        - `hasPin` boolean

## Response `207`

MULTI STATUS

## Other responses

- `400` — BAD REQUEST, No path provided, path too long or path contains illegal characters
- `409` — CONFLICT, file resource already exists (inside of the multistatus)
- `412` — PRECONDITION, FAILED non-matching Etag of 'If-Match' Header
- `423` — LOCKED, Resource or parent resource is locked (inside of the multistatus)
- `507` — INSUFFICIENT STORAGE, insufficient storage or quotas exceeded (inside of the multistatus)

---

[API](https://skmtc.net/iterate-ch/apis/restfs.md) · [All operations](https://skmtc.net/iterate-ch/apis/restfs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/iterate-ch/restfs/revisions/517e17452ca3/schema)
