public interface BynderApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<retrofit2.Response<Void>> |
addMediaToCollection(String collectionId,
Map<String,String> params)
Adds media assets to a collection.
|
io.reactivex.Observable<retrofit2.Response<CampaignId>> |
createCampaign(CampaignDataQuery body) |
io.reactivex.Observable<retrofit2.Response<Void>> |
createCollection(Map<String,String> params)
Creates a collection.
|
io.reactivex.Observable<retrofit2.Response<JobActionResponse>> |
createJob(JobCreateQuery body) |
io.reactivex.Observable<retrofit2.Response<Usage>> |
createUsage(Map<String,String> params)
Creates a usage record for a media asset.
|
io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> |
createWorkflowGroup(WorkflowGroupDataQuery body) |
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteCampaign(String campaignId) |
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteCollection(Map<String,String> params)
Deletes a collection.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteJob(String jobId) |
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteMedia(Map<String,String> params)
Deletes a media asset.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteUsage(Map<String,String> params)
Deletes a usage record of a media asset.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteWorkflowGroup(String groupId) |
io.reactivex.Observable<retrofit2.Response<FinaliseResponse>> |
finaliseUpload(Map<String,String> params)
Finalises a completely uploaded file.
|
io.reactivex.Observable<retrofit2.Response<UploadAdditionalMediaResponse>> |
finaliseUploadAdditional(String mediaId,
Map<String,String> params) |
io.reactivex.Observable<retrofit2.Response<List<Campaign>>> |
getAllCampaigns() |
io.reactivex.Observable<retrofit2.Response<List<WorkflowGroup>>> |
getAllWorkflowGroups() |
io.reactivex.Observable<retrofit2.Response<List<WorkflowMetaproperty>>> |
getAllWorkflowMetaproperties() |
io.reactivex.Observable<retrofit2.Response<List<WorkflowUser>>> |
getAllWorkflowUsers() |
io.reactivex.Observable<retrofit2.Response<List<Brand>>> |
getBrands()
Gets list of the brands.
|
io.reactivex.Observable<retrofit2.Response<Campaign>> |
getCampaign(String campaignId) |
io.reactivex.Observable<retrofit2.Response<List<Job>>> |
getCampaignJobs(String campaignId,
Map<String,String> params) |
io.reactivex.Observable<retrofit2.Response<String>> |
getClosestS3Endpoint()
Gets the URL of the Amazon S3 bucket-endpoint in the region closest to the server.
|
io.reactivex.Observable<retrofit2.Response<Collection>> |
getCollectionInfo(Map<String,String> params)
Gets all the collection information for a specific collection id.
|
io.reactivex.Observable<retrofit2.Response<List<String>>> |
getCollectionMediaIds(String collectionId)
Gets a list of the media assets ids of a collection.
|
io.reactivex.Observable<retrofit2.Response<List<Collection>>> |
getCollections(Map<String,String> params)
Gets list of the collections.
|
io.reactivex.Observable<retrofit2.Response<List<Derivative>>> |
getDerivatives()
Gets list of the account derivatives.
|
io.reactivex.Observable<retrofit2.Response<Job>> |
getJob(String jobId) |
io.reactivex.Observable<retrofit2.Response<List<JobMedia>>> |
getJobMedia(String jobId) |
io.reactivex.Observable<retrofit2.Response<JobPresetContainer>> |
getJobPreset(String jobPresetId) |
io.reactivex.Observable<retrofit2.Response<List<Job>>> |
getJobs(Map<String,String> params) |
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> |
getMediaDownloadUrl(String mediaId)
Gets the download file URL for a specific media id.
|
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> |
getMediaDownloadUrl(String mediaId,
String mediaItemId)
Gets the download file URL for specific media item id.
|
io.reactivex.Observable<retrofit2.Response<Media>> |
getMediaInfo(Map<String,String> params)
Gets all the media information for a specific media id.
|
io.reactivex.Observable<retrofit2.Response<List<Media>>> |
getMediaList(Map<String,String> params)
Gets a list of media assets filtered by parameters.
|
io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> |
getMetaproperties(Map<String,String> params)
Gets map of the metaproperties.
|
io.reactivex.Observable<retrofit2.Response<PollStatus>> |
getPollStatus(Map<String,String> params)
Gets poll processing status of finalised files.
|
io.reactivex.Observable<retrofit2.Response<List<DeletedMedia>>> |
getRecentlyRemovedMediaList(Map<String,String> params) |
io.reactivex.Observable<retrofit2.Response<List<Smartfilter>>> |
getSmartfilters()
Gets list of the smartfilters.
|
io.reactivex.Observable<retrofit2.Response<List<Tag>>> |
getTags()
Gets list of the tags.
|
io.reactivex.Observable<retrofit2.Response<UploadRequest>> |
getUploadInformation(Map<String,String> params)
Initialises a file upload with Bynder and returns authorisation information to allow
uploading to the Amazon S3 bucket-endpoint.
|
io.reactivex.Observable<retrofit2.Response<List<Usage>>> |
getUsage(Map<String,String> params)
Gets all the media assets usage records.
|
io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> |
getWorkflowGroup(String groupId) |
io.reactivex.Observable<retrofit2.Response<WorkflowMetaproperty>> |
getWorkflowMetaproperty(String metapropertyId) |
io.reactivex.Observable<retrofit2.Response<CampaignId>> |
modifyCampaign(String campaignId,
CampaignDataQuery body) |
io.reactivex.Observable<retrofit2.Response<JobActionResponse>> |
modifyJob(String jobId,
JobModifyQuery body) |
io.reactivex.Observable<retrofit2.Response<Void>> |
modifyMedia(Map<String,String> params)
Modifies the media metadata for a specific media id.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
registerChunk(Map<String,String> params)
Registers an uploaded chunk in Bynder.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
removeMediaFromCollection(String collectionId,
Map<String,String> params)
Removes media assets from a collection.
|
io.reactivex.Observable<retrofit2.Response<SaveMediaResponse>> |
saveMedia(Map<String,String> params)
Saves a new media asset in Bynder.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
shareCollection(String collectionId,
Map<String,String> params)
Shares a collection.
|
io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> |
updateWorkflowGroup(String groupId,
WorkflowGroupDataQuery body) |
@GET(value="/api/v4/account/derivatives/") io.reactivex.Observable<retrofit2.Response<List<Derivative>>> getDerivatives()
Observable with list of Derivative.@GET(value="/api/v4/brands/") io.reactivex.Observable<retrofit2.Response<List<Brand>>> getBrands()
Observable with list of Brand.@GET(value="/api/v4/tags/") io.reactivex.Observable<retrofit2.Response<List<Tag>>> getTags()
Observable with list of Tag.@GET(value="/api/v4/metaproperties/") io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> getMetaproperties(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with Map of metaproperties.@GET(value="/api/v4/media/") io.reactivex.Observable<retrofit2.Response<List<Media>>> getMediaList(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with list of Media.@GET(value="/api/v4/media/") io.reactivex.Observable<retrofit2.Response<Media>> getMediaInfo(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with Media information.@FormUrlEncoded @POST(value="/api/v4/media/") io.reactivex.Observable<retrofit2.Response<Void>> modifyMedia(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with the Response.@DELETE(value="/api/v4/media/") io.reactivex.Observable<retrofit2.Response<Void>> deleteMedia(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with the Response.@GET(value="/api/v4/media/{id}/download/")
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> getMediaDownloadUrl(@Path(value="id")
String mediaId)
mediaId - Media id of which we want to get the download URL.Observable with the DownloadUrl information of the media.@GET(value="/api/v4/media/{id}/download/{itemId}/")
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> getMediaDownloadUrl(@Path(value="id")
String mediaId,
@Path(value="itemId")
String mediaItemId)
mediaId - Media id of which the media item belongs to.mediaItemId - Media item id of which we want to get the download URL.Observable with the DownloadUrl information of the media item.@FormUrlEncoded @POST(value="/api/media/usage/") io.reactivex.Observable<retrofit2.Response<Usage>> createUsage(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with Usage information.@GET(value="/api/media/usage/") io.reactivex.Observable<retrofit2.Response<List<Usage>>> getUsage(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with list of Usage.@DELETE(value="/api/media/usage/") io.reactivex.Observable<retrofit2.Response<Void>> deleteUsage(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with the Response.@GET(value="/api/v4/smartfilters/") io.reactivex.Observable<retrofit2.Response<List<Smartfilter>>> getSmartfilters()
Observable with List of smartfilters.@GET(value="/api/v4/collections/") io.reactivex.Observable<retrofit2.Response<List<Collection>>> getCollections(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with list of Collection.@GET(value="/api/v4/collections/") io.reactivex.Observable<retrofit2.Response<Collection>> getCollectionInfo(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with Collection information.@FormUrlEncoded @POST(value="/api/v4/collections/") io.reactivex.Observable<retrofit2.Response<Void>> createCollection(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with the Response.@DELETE(value="/api/v4/collections/") io.reactivex.Observable<retrofit2.Response<Void>> deleteCollection(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with the Response.@GET(value="/api/v4/collections/{id}/media/")
io.reactivex.Observable<retrofit2.Response<List<String>>> getCollectionMediaIds(@Path(value="id")
String collectionId)
collectionId - Collection id of which we want to get the media assets ids.Observable with list of media assets ids.@FormUrlEncoded
@POST(value="/api/v4/collections/{id}/media/")
io.reactivex.Observable<retrofit2.Response<Void>> addMediaToCollection(@Path(value="id")
String collectionId,
@FieldMap
Map<String,String> params)
collectionId - Collection id to which we want to add media assets.params - FieldMap with parameters.Observable with the Response.@DELETE(value="/api/v4/collections/{id}/media/")
io.reactivex.Observable<retrofit2.Response<Void>> removeMediaFromCollection(@Path(value="id")
String collectionId,
@QueryMap
Map<String,String> params)
collectionId - Collection id from which we want to remove media assets.params - QueryMap with parameters.Observable with the Response.@FormUrlEncoded
@POST(value="/api/v4/collections/{id}/share/")
io.reactivex.Observable<retrofit2.Response<Void>> shareCollection(@Path(value="id")
String collectionId,
@FieldMap
Map<String,String> params)
collectionId - Id of the collection we want to share.params - FieldMap with parameters.Observable with the Response.@FormUrlEncoded @POST(value="/api/upload/init/") io.reactivex.Observable<retrofit2.Response<UploadRequest>> getUploadInformation(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with UploadRequest authorisation information.@GET(value="/api/upload/endpoint/") io.reactivex.Observable<retrofit2.Response<String>> getClosestS3Endpoint()
Observable with the URL.@FormUrlEncoded @POST(value="/api/v4/upload/") io.reactivex.Observable<retrofit2.Response<Void>> registerChunk(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with the Response.@FormUrlEncoded @POST(value="/api/v4/upload/") io.reactivex.Observable<retrofit2.Response<FinaliseResponse>> finaliseUpload(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with FinaliseResponse information.@FormUrlEncoded
@POST(value="/api/v4/media/{id}/save/additional/")
io.reactivex.Observable<retrofit2.Response<UploadAdditionalMediaResponse>> finaliseUploadAdditional(@Path(value="id")
String mediaId,
@FieldMap
Map<String,String> params)
@GET(value="/api/v4/upload/poll/") io.reactivex.Observable<retrofit2.Response<PollStatus>> getPollStatus(@QueryMap Map<String,String> params)
params - QueryMap with parameters.Observable with PollStatus information.@FormUrlEncoded @POST(value="/api/v4/media/save/") io.reactivex.Observable<retrofit2.Response<SaveMediaResponse>> saveMedia(@FieldMap Map<String,String> params)
params - FieldMap with parameters.Observable with the SaveMediaResponse information.@GET(value="/api/workflow/campaigns/") io.reactivex.Observable<retrofit2.Response<List<Campaign>>> getAllCampaigns()
@GET(value="/api/workflow/campaigns/{id}/")
io.reactivex.Observable<retrofit2.Response<Campaign>> getCampaign(@Path(value="id")
String campaignId)
@POST(value="/api/workflow/campaigns/") io.reactivex.Observable<retrofit2.Response<CampaignId>> createCampaign(@Body CampaignDataQuery body)
@PUT(value="/api/workflow/campaigns/{id}/")
io.reactivex.Observable<retrofit2.Response<CampaignId>> modifyCampaign(@Path(value="id")
String campaignId,
@Body
CampaignDataQuery body)
@DELETE(value="/api/workflow/campaigns/{id}/")
io.reactivex.Observable<retrofit2.Response<Void>> deleteCampaign(@Path(value="id")
String campaignId)
@GET(value="/api/workflow/presets/job/{id}/")
io.reactivex.Observable<retrofit2.Response<JobPresetContainer>> getJobPreset(@Path(value="id")
String jobPresetId)
@GET(value="/api/workflow/jobs/") io.reactivex.Observable<retrofit2.Response<List<Job>>> getJobs(@QueryMap Map<String,String> params)
@GET(value="/api/workflow/campaigns/{id}/jobs/")
io.reactivex.Observable<retrofit2.Response<List<Job>>> getCampaignJobs(@Path(value="id")
String campaignId,
@QueryMap
Map<String,String> params)
@GET(value="/api/workflow/jobs/{id}/")
io.reactivex.Observable<retrofit2.Response<Job>> getJob(@Path(value="id")
String jobId)
@GET(value="/api/workflow/jobs/{id}/media/")
io.reactivex.Observable<retrofit2.Response<List<JobMedia>>> getJobMedia(@Path(value="id")
String jobId)
@POST(value="/api/workflow/jobs/") io.reactivex.Observable<retrofit2.Response<JobActionResponse>> createJob(@Body JobCreateQuery body)
@PUT(value="/api/workflow/jobs/{id}/")
io.reactivex.Observable<retrofit2.Response<JobActionResponse>> modifyJob(@Path(value="id")
String jobId,
@Body
JobModifyQuery body)
@DELETE(value="/api/workflow/jobs/{id}/")
io.reactivex.Observable<retrofit2.Response<Void>> deleteJob(@Path(value="id")
String jobId)
@GET(value="api/workflow/metaproperties/") io.reactivex.Observable<retrofit2.Response<List<WorkflowMetaproperty>>> getAllWorkflowMetaproperties()
@GET(value="api/workflow/metaproperties/{id}/")
io.reactivex.Observable<retrofit2.Response<WorkflowMetaproperty>> getWorkflowMetaproperty(@Path(value="id")
String metapropertyId)
@GET(value="api/workflow/users/") io.reactivex.Observable<retrofit2.Response<List<WorkflowUser>>> getAllWorkflowUsers()
@GET(value="api/workflow/groups/") io.reactivex.Observable<retrofit2.Response<List<WorkflowGroup>>> getAllWorkflowGroups()
@GET(value="api/workflow/groups/{id}/")
io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> getWorkflowGroup(@Path(value="id")
String groupId)
@POST(value="api/workflow/groups/") io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> createWorkflowGroup(@Body WorkflowGroupDataQuery body)
@PUT(value="api/workflow/groups/{id}/")
io.reactivex.Observable<retrofit2.Response<WorkflowGroup>> updateWorkflowGroup(@Path(value="id")
String groupId,
@Body
WorkflowGroupDataQuery body)
@DELETE(value="api/workflow/groups/{id}/")
io.reactivex.Observable<retrofit2.Response<Void>> deleteWorkflowGroup(@Path(value="id")
String groupId)
@GET(value="api/trash/media/") io.reactivex.Observable<retrofit2.Response<List<DeletedMedia>>> getRecentlyRemovedMediaList(@QueryMap Map<String,String> params)
Copyright © 2024. All rights reserved.