Files

Upload file

POST https://SUB_DOMAIN.hugery.com/api/external/v1/files/upload-file

This endpoint allows you to get free cakes.

Query Parameters

Name
Type
Description

fileUrl

string

{
    "status": 200,
    "data": {
        "id": "6b380079-fd23-4b9f-84d6-34ccd6d089d2",
        "type": "image",
        "meta": {
            "width": 576,
            "height": 326
        },
        "info": {
            "name": "image.png",
            "mimeType": "image/png",
            "size": 26751,
            "path": "/bucket/1588857072534100/a12887a71e786dbba0060db4fec708e9/image.png"
        },
        "url": {
            "200x200": "https://static.hugery.com/200x200/bucket/1588857072534100/a12887a71e786dbba0060db4fec708e9/image.png",
            "640x760": "https://static.hugery.com/640x760/bucket/1588857072534100/a12887a71e786dbba0060db4fec708e9/image.png",
            "1280x880": "https://static.hugery.com/1280x880/bucket/1588857072534100/a12887a71e786dbba0060db4fec708e9/image.png",
            "default": "https://static.hugery.com/bucket/1588857072534100/a12887a71e786dbba0060db4fec708e9/image.png"
        },
        "updatedAt": 1588857073
    }
}

Last updated