Project

General

Profile

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.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/10/2023
Due date:
% Done:

100%

Estimated time:
2.00 h (Total: 3.50 h)
Spent time:
(Total: 2.00 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>"}
}


Subtasks

Task #3122: Allow caching for /bookSource API Closed07/10/2023Ayush Khandelwal

Actions
#1

Updated by Ayush Khandelwal over 1 year ago

  • Description updated (diff)
#2

Updated by Venmuhilan B over 1 year ago

  • Status changed from New to In Progress
#3

Updated by Venmuhilan B over 1 year ago

  • Description updated (diff)
  • Status changed from In Progress to New
  • Assignee changed from Venmuhilan B to Abhijata Sen
#4

Updated by Abhijata Sen over 1 year ago

  • Status changed from New to In Progress
#5

Updated by Venmuhilan B over 1 year ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Abhijata Sen to Ayush Khandelwal
  • % Done changed from 0 to 100
#7

Updated by Venmuhilan B over 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Ayush Khandelwal to Venmuhilan B
#8

Updated by Venmuhilan B over 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Venmuhilan B to Ayush Khandelwal
#9

Updated by Ayush Khandelwal over 1 year ago

  • Status changed from Feedback to Closed

Working as expected

#10

Updated by Ram Kordale over 1 year ago

  • 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.

#11

Updated by Venmuhilan B over 1 year ago

  • Status changed from Reopened to In Progress
#12

Updated by Venmuhilan B over 1 year ago

  • Status changed from In Progress to Feedback
#13

Updated by Venmuhilan B over 1 year ago

  • Assignee changed from Venmuhilan B to Ayush Khandelwal
#14

Updated by Ram Kordale about 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF