Rev 3896 | Blame | Compare with Previous | Last modification | View Log | RSS feed
namespace java in.shop2020.contentnamespace py shop2020.thriftpy.contentinclude "GenericService.thrift"exception ContentServiceException{1:i64 id,2:string message}struct BulkContentUpload{1:i64 new_entity_id,2:i64 category_id,3:string compatibility,4:i32 battery_type,5:string battery_capacity,6:string summary,7:i64 existing_entity_id,8:string brand,9:string model_name,10:string model_number}struct BulkContentUploadResult{1:i64 entity_id,2:string message}service ContentService extends GenericService.GenericService {/**Push the content of the given entity to production*/bool pushContentToProduction(1:i64 entityId) throws (1:ContentServiceException cse)list<BulkContentUploadResult> uploadContent(1:list<BulkContentUpload> bulkUploadContentList)}