Project

General

Profile

Task #3119

Updated by Venmuhilan B over 1 year ago

API name: content/api/v1/bookSource 
 Method: POST Request Body: 
 *Request Body:* 
 { 
   "bookIds": [<array of bookId/documentProcessingId>] 
 } 
 Here, bookId means documentProcessingId 

 Get the o-url from document_1 of each documentProcessingIds(i.e *Get the Ourl based on the documentId - "<documentProcessingId>-1"* ) Method: POST 
 The response should be of the below format. 

 *Response:* ----- 
 Response: 
 It should contain key value pairs pair of documentProcessingId & book's books first document o-url i.e. source-url 
 ex: 
 { 
 "fde65e15-ecb4-4bd8-a307-1f4c937d288f" : {"sourceUrl": "<o-url from document 1>"} 
 "afqwx-ecb4-4bd8-a307-45gdl6efe" : {"sourceUrl": "<o-url from document 1>"} 
 }

Back