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.
Added by Ayush Khandelwal over 1 year ago.
Updated about 1 year ago.
Estimated time:
2.00 h (Total: 3.50 h)
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>"}
}
- Description updated (diff)
- Status changed from New to In Progress
- Description updated (diff)
- Status changed from In Progress to New
- Assignee changed from Venmuhilan B to Abhijata Sen
- Status changed from New to In Progress
- Status changed from In Progress to Feedback
- Assignee changed from Abhijata Sen to Ayush Khandelwal
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
- Assignee changed from Ayush Khandelwal to Venmuhilan B
- Status changed from Resolved to Feedback
- Assignee changed from Venmuhilan B to Ayush Khandelwal
- Status changed from Feedback to Closed
- Status changed from Closed to Reopened
- Assignee changed from Ayush Khandelwal to Venmuhilan B
- Priority changed from Immediate to Urgent
As mentioned by Ven, please add caching.
- Status changed from Reopened to In Progress
- Status changed from In Progress to Feedback
- Assignee changed from Venmuhilan B to Ayush Khandelwal
- Status changed from Feedback to Closed
Also available in: Atom
PDF