files

Give a file a new path (spec 2026-10-05 §3.3): 409 when to is taken.

A row update only: the blob's key is not its path, so no byte moves. The file keeps its id, so a chat attachment that points at it still resolves.

post/companies/{company_id}/files/move

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/companies/{company_id}/files/move
  • Auth: HTTP bearer

Path parameters

company_idstring uuid required

Request body

fromstring required

The file's current path, exactly as listed.

tostring required

The new path. Refused (409) when a file is already there.

Response

Successful Response

idstring required
pathstring required
size_bytesinteger required
content_typestring nullable required
created_atstring date-time required
updated_atstring date-time required

Changes