Bundeling
Api Documentation

Files

Retrieves a single base64 encoded file.
Creates a new specified image and places it in the right context.
Json
XML
POST https://api.bundeling.com/V1/files

Parameters

Body

NameDescriptionTypeRequired
typeThe type of image being created
Accepted values: user_profile, customer_logo, event_picture, club_logo, bulletinboard_picture
stringtrue
idThe id of the object the image will be appended tointtrue
filenameThe name of the filestringtrue
contentThe base64 encoded imagestringtrue

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "type": "event_picture",
    "id": 12,
    "filename": "event12image.jpg",
    "content": "o5jibgJpYFoiJtw4oij453094uE534lkjseofj..."
}

Example response

{
    "id": "23oihj23ioerfjkWTzEo5tj4oi5jto4i5jt6yazRaTYIOJ",
    "type": "event_picture",
    "status": "Created successfuly"
}