Files
Retrieves a single base64 encoded file.
Creates a new specified image and places it in the right context.
POST https://api.bundeling.com/V2/files| Name | Description | Type | Nillable | Required |
|---|---|---|---|---|
type | The type of image being created Accepted values: ad_campaigns, appcms_file, bulletinboard_file, bulletinboard_picture, chat_picture, club_logo, customer_logo, event_picture, event_header_image, form_field_data, page_layout_image, page_layout_component_image, user_profile, poll_header_image, news_header_image | string | false | true |
subtype | The subtype of form_data being created Accepted values: file, image | string | false | false |
uuid | The unique identifier of the object the image will be appended to | string | false | true |
filename | The name of the file | string | false | true |
content | The base64 encoded image | mixed | false | true |
{
"type": "event_picture",
"subtype": "form_data_file",
"uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
"filename": "event12image.jpg",
"content": "o5jibgJpYFoiJtw4oij453094uE534lkjseofj..."
}{
"id": "23oihj23ioerfjkWTzEo5tj4oi5jto4i5jt6yazRaTYIOJ",
"type": "event_picture",
"uuid": "23oihj23ioerfjkWTzEo5tj4oi5jto4i5jt6yazRaTYIOJ",
"filename": "test.jpg",
"status": "Created successfully"
}