View Media-library
Copied
https://api.ocamba.com/v2/ocamba/media-library/{id}
Copied
https://api.ocamba.com/v2/ocamba/media-library/{id}
Retrieves the details of a Media-library if a valid identifier was provided
Name
Descriptionidstringrequired
Unique identifier for media library.Example: id=423
200 - OK
Name
Descriptionitems[ media-library ]
An array of all created items.Media Library
Name
Descriptionapp_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
totalinteger
A total number of items.Example: 1
tip
1 If you don't know the media library id, list the media libraries to find it.