Skip to content
On this page

Docs / Moving in

Move your city over in ten minutes

Paste a read-only Fivemanage key. We copy every screenshot, clip and sound across, and hand you a list of what each old link becomes. Nothing on Fivemanage is changed or deleted, so you can go back at any point.

  1. Paste your key

    Read-only is enough. It’s encrypted while the move runs and deleted the moment it finishes.

  2. We copy everything

    Every file, with its folder and its name. Identical files are stored once, so you pay for what you actually have.

  3. You get the link list

    A spreadsheet of every old link and the new one that replaces it. Search and replace it into your scripts and your database.

Most scripts need only a new URL and key

FiveDock answers the same upload addresses Fivemanage does. screenshot-basic and any script that lets you set the upload URL keep working once you swap the URL and the key. A few, such as lb-phone, have the Fivemanage address built into escrowed code and need a small edit.

Every address we answer

Change the base URL from Fivemanage’s to https://api.fivedock.dev, and the key to an API token (fd_live_…) from the Tokens page. Paths, field names and answers keep their shape.

Lua
-- before
Config.Upload = {
  url = 'https://api.fivemanage.com/api/v3/file',
  key = 'your-fivemanage-key',
}

-- after: the same path on our host, and an API token from Tokens
-- (fd_live_…, not the fda_live_ agent key from server.cfg)
Config.Upload = {
  url = 'https://api.fivedock.dev/api/v3/file',
  key = 'fd_live_…',
}
Upload API addresses
AddressScopeWhat it does
Files
POST /api/v3/fileScope · files:writeUpload one file as multipart/form-data.
POST /api/v3/file/base64Scope · files:writeUpload one file sent as base64 in a JSON body.
POST /api/v3/file/archiveScope · files:writeUpload a .zip or .rar and store every file in it. FiveDock only.
GET /api/v3/fileScope · files:readList your files, a page at a time.
GET /api/v3/file/{id}Scope · files:readRead one file’s details.
DELETE /api/v3/file/{id}Scope · files:deleteDelete one file.
Upload links
GET /api/v3/file/presigned-urlScope · files:writeMint a one-time upload link. It lasts 15 minutes unless you ask for less or more.
POST /api/v3/file/presigned-url/{ticket}Scope · None, the link is the credentialUpload through a link minted above, with no token.
GET /api/v2/presigned-urlScope · files:writeMint an upload link the older way. It lasts 5 minutes unless you ask for less or more.
POST /api/v2/presigned-url/{ticket}Scope · None, the link is the credentialUpload through a link minted the older way, with no token.
Fivemanage v2
POST /api/v2/imageScope · files:writeUpload an image. The file goes in the image field or in file.
POST /api/v2/videoScope · files:writeUpload a video. The file goes in the video field or in file.
POST /api/v2/audioScope · files:writeUpload a sound. The file goes in the audio field or in file.
Fivemerr
POST /v1/media/imagesScope · files:writeUpload an image. The file goes in file or data.
POST /v1/media/videosScope · files:writeUpload a video. The file goes in file or data.
POST /v1/media/audiosScope · files:writeUpload a sound. The file goes in file or data.
Logs
POST /api/logsScope · logs:writeSend one log event.
POST /api/logs/batchScope · logs:writeSend log events in a batch.
POST /api/v3/logsScope · logs:writeSend logs to Fivemanage’s v3 address.

Only these addresses are answered. If a script calls one that is not listed, such as the older /api/image, point it at the matching address above.

Fields, upload links, limits and errors in the upload API reference

What we won’t promise

Old links point at an address Fivemanage owns, not us, so we can’t make them forward on their own. That’s what the link list is for.