Skip to main content
GET
/
api
/
dictionaries
/
{dictionaryId}
/
entries
Get all entries for a dictionary
curl --request GET \
  --url http://localhost:3000/api/dictionaries/{dictionaryId}/entries
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "dictionaryId": "<string>",
      "key": "<string>",
      "audioId": "<string>",
      "deletedAt": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "deletedBy": "<string>"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "totalPages": 8,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}

Path Parameters

dictionaryId
string
required

Dictionary UUID

Query Parameters

page
number
default:1

Page number (1-based)

Required range: x >= 1
Example:

1

limit
number
default:20

Number of items per page

Required range: 1 <= x <= 100
Example:

20

Search term to filter results

Maximum string length: 100
Example:

"john"

Response

data
object[]
required

Array of items

meta
object
required

Pagination metadata