public interface AssetBankService
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<retrofit2.Response<Usage>> |
createUsage(UsageCreateQuery usageCreateQuery)
Creates a usage record for a media asset.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteMedia(MediaDeleteQuery mediaDeleteQuery)
Deletes a media asset.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteUsage(UsageDeleteQuery usageDeleteQuery)
Deletes a usage record of a media asset.
|
io.reactivex.Observable<retrofit2.Response<List<Brand>>> |
getBrands()
Get Brands.
|
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> |
getMediaDownloadUrl(MediaDownloadQuery mediaDownloadQuery)
Gets the download file URL for a specific media asset file.
|
io.reactivex.Observable<retrofit2.Response<Media>> |
getMediaInfo(MediaInfoQuery mediaInfoQuery)
Gets all the information for a specific media.
|
io.reactivex.Observable<retrofit2.Response<List<Media>>> |
getMediaList(MediaQuery mediaQuery)
Gets a list of media using query information.
|
io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> |
getMetaproperties(MetapropertyQuery metapropertyQuery)
Get Metaproperties.
|
io.reactivex.Observable<retrofit2.Response<List<Smartfilter>>> |
getSmartfilters()
Get Smartfilters.
|
io.reactivex.Observable<retrofit2.Response<List<Tag>>> |
getTags()
Get Tags.
|
io.reactivex.Observable<retrofit2.Response<List<Usage>>> |
getUsage(UsageQuery usageQuery)
Gets all the media assets usage records.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
setMediaProperties(MediaPropertiesQuery mediaPropertiesQuery)
Updates the properties of a media asset.
|
io.reactivex.Observable<SaveMediaResponse> |
uploadFile(UploadQuery uploadQuery)
Uploads a file with the information specified in the query parameter.
|
io.reactivex.Observable<UploadProgress> |
uploadFileWithProgress(UploadQuery uploadQuery)
Uploads a file with Progress Report.
|
io.reactivex.Observable<retrofit2.Response<List<Brand>>> getBrands()
Observable with list of Brand.io.reactivex.Observable<retrofit2.Response<List<Tag>>> getTags()
Observable with list of Tag.io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> getMetaproperties(MetapropertyQuery metapropertyQuery) throws IllegalAccessException
metapropertyQuery - Information about if media count should be included in the
metaproperty options or not.Observable with Map of String, Metaproperty key/value pairs.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<List<Media>>> getMediaList(MediaQuery mediaQuery) throws IllegalAccessException
mediaQuery - Information to correctly filter/paginate media.Observable with list of Media.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Media>> getMediaInfo(MediaInfoQuery mediaInfoQuery) throws IllegalAccessException
mediaInfoQuery - Information about the media we want to get the information from.Observable with Media information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> setMediaProperties(MediaPropertiesQuery mediaPropertiesQuery) throws IllegalAccessException
mediaPropertiesQuery - Information with the media asset properties new values to be
updated.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> deleteMedia(MediaDeleteQuery mediaDeleteQuery) throws IllegalAccessException
mediaDeleteQuery - Information to identify the media asset we want to delete.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<DownloadUrl>> getMediaDownloadUrl(MediaDownloadQuery mediaDownloadQuery)
mediaDownloadQuery - Information with the media we want to get the URL from.Observable with the DownloadUrl information of the media asset file.io.reactivex.Observable<retrofit2.Response<Usage>> createUsage(UsageCreateQuery usageCreateQuery) throws IllegalAccessException
usageCreateQuery - Information about the asset usage we want to create.Observable with Usage information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<List<Usage>>> getUsage(UsageQuery usageQuery) throws IllegalAccessException
usageQuery - Information about the asset usage we want to get the information from.Observable with list of Usage.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> deleteUsage(UsageDeleteQuery usageDeleteQuery) throws IllegalAccessException
usageDeleteQuery - Information about the asset usage we want to delete.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<List<Smartfilter>>> getSmartfilters()
Observable with List of Smartfilter;io.reactivex.Observable<SaveMediaResponse> uploadFile(UploadQuery uploadQuery)
uploadQuery - Upload query with the information to upload the file.Observable with the SaveMediaResponse information.io.reactivex.Observable<UploadProgress> uploadFileWithProgress(UploadQuery uploadQuery)
uploadQuery - Upload query with the information to upload the file.Observable with the UploadProgress information.Copyright © 2018. All rights reserved.