Task #3119
Feature #3116: Couple of changes to ChatGPT answer page on the site
BE: Create a new api for fetching the source-url based on books.
Description
API name: content/api/v1/bookSource
Method: POST
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" )
The response should be of the below format.
Response:
It should contain key value pairs of documentProcessingId & book's 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>"}
}
Subtasks
Updated by Anonymous almost 2 years ago
- Description updated (diff)
- Status changed from In Progress to New
- Assignee changed from Anonymous to Anonymous
Updated by Anonymous almost 2 years ago
- Status changed from In Progress to Feedback
- Assignee changed from Anonymous to Anonymous
- % Done changed from 0 to 100
Updated by Anonymous almost 2 years ago
Updated by Anonymous almost 2 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Anonymous to Anonymous
Updated by Anonymous almost 2 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Anonymous to Anonymous
Updated by Ram Kordale almost 2 years ago
- Status changed from Closed to Reopened
- Assignee changed from Anonymous to Anonymous
- Priority changed from Immediate to Urgent
As mentioned by Ven, please add caching.