Create Media-library


                https://api.ocamba.com/v2/ocamba/media-library
            

Uploads the media to the system


Name
Description
app_idstring
A unique application identifier generated by the Ocamba platform.


Example: 1000123

company_idstring
A unique company identifier generated by the Ocamba platform.


Example: 1000123

create_timedateTime
Timezone: GMT.


Example: 2021-07-30 12:50:13

heightinteger
Available only for image mime types, represent height of image in pixels.


Example: 300

idstring
A unique identifier generated by the Ocamba platform.


Example: 12

locationstring (url)
Url location where file is stored.


Example: https://sm.ocmcore.com/share/6191234/adex/media/3945083025-example.png

mime_typestring
Mime type of the file.


Example: image/jpeg

namestring
Name of the file.


Example: example

sizeinteger
Size of file in bytes.


Example: 4356

update_timedateTime
Timezone: GMT.


Example: 2021-07-30 12:50:13

user_idstring
A unique user identifier generated by the Ocamba platform.


Example: 1123143

widthinteger
Available only for image mime types, represent width of image in pixels.


Example: 300
tip
1 Image upload can only be accomplished using the multipart/form-data, as shown in the example.
200 Arrow
--form 'app="adex"' \
--form 'file=@"path/example.jpeg"'