🤚Manage

Here you can manage any file or image already uploaded to the CDN;

/manage/list

Here you can list all files uploaded to the CDN;

QUERIES: (optional) ?page=<PAGENUMBER> ?limit=<LIMIT PER PAGE> PERMISSIONS: * NONE

GET https://cdn.nextfur.net/v1/manage/list?page=<PAGENUMBER>&limit=<LIMITNUMBER>

Expected output:

{
  "success": true,
  "data": {
    "files": [
      {
        "originalName": "429321829158.webp",
        "fileID": "081083974133",
        "extension": ".webp",
        "mimetype": "image/webp",
        "size": 30346,
        "uploadedAt": "2025-10-13T02:58:23.133Z",
        "uploader": "127.0.0.1",
        "urls": {
          "view": "http://cdn.nextfur.net/v1/file/081083974133.webp",
          "download": "http://cdn.nextfur.net/v1/download/081083974133.webp"
         }
       }
    ]
  }
}

/manage/info/:fileID

PERMISSIONS: * NONE FILE ID: * <IMAGEID>

GET https://cdn.nextfur.net/v1/manage/info/:fileID

Expected output:

{
    "success": true,
    "data": {
        ...metadata,
        urls: {
            "view": "http://cdn.nextfur.net/v1/file/081083974133.webp",
            "download": "http://cdn.nextfur.net/v1/download/081083974133.webp"
        }
    }
}

/manage/delete/:fileID

PERMISSIONS: * IMAGE OWNER'S TOKEN FILE ID: * <IMAGEID>

GET https://cdn.nextfur.net/v1/manage/delete/:fileID
let response = await fetch('https://cdn.nextfur.net/v1/manage/delete/' + fileID, {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify({
        action: "delete",
        authorization: token
    })
})

Expected output:

{
    "success": true
    "message": "File delete successfully"
}

Last updated