Spanish Total.js
English
Documentation For AI agents
Contents

Status codes and limits

The answers of OpenSync, the WebSocket close codes and the limits.

.md GitHub
On this page

HTTP answers

RequestAnswer
GET, POST, PUT, PATCH or DELETE to /sync/{channel}/200, empty body.
Another method, or a deeper path such as /sync/a/b/404
A file upload larger than about 2 MB431
/download/{id}.dat that is unknown or expired404
/setup/ without the setup token or with a wrong one401
GET / without a stream request200, plain text OpenSync v1 (a new instance redirects to /setup/).

WebSocket

Close codeReason
4001Wrong or removed token, or the IP address is locked.

Locked IP address

After six requests with a wrong token from one IP address, OpenSync refuses every request from that address that needs a token, even with the right token. This covers the setup interface and new client connections. The lock ends within 15 minutes, or when OpenSync restarts. See Access problems.

Limits

WhatLimit
File uploadabout 2 MB per request
Messages for offline clientsnot kept
Download linksuntil OpenSync restarts
Made in Europe