Skip to content

Send book code in the book name API #495

Description

@RevantCI
  1. Send book code in the book name API
    /booknames?language_code=hin
    Currently only book id is coming and the mapping from book code to book id is done using hard coded data it should be sent from the backend.
    eg. book_code: "exo"

  2. Remove language_id as its already in the outside json and is duplicated
    see json below.

{
"language": {
"id": 58,
"code": "hin",
"name": "Hindi"
},
"bookNames": [
{
"id": 546,
"abbr": "निर्ग.",
"short": "निर्गमन",
"long": "निर्गमन",
"book_id": 2,
"language_id": 58
},

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions