Download OpenAPI specification:
REST API for accessing historical Damascus National Library catalogue data from its inception in 1882. This API provides read-only access to books, authors, genres, and endowments from the original documentary source.
Retrieve a list of all books in the catalogue
| author | integer <int64> Filter by author ID |
| genre | integer <int64> Filter by genre ID |
| endowment | integer <int64> Filter by endowment ID |
| manuscript | boolean Filter by manuscript status |
boolean Filter by print status | |
| search | string [ 1 .. 2048 ] characters Generic free-text search term to filter books |
| limit | integer [ 1 .. 1000 ] Default: 100 Maximum number of results to return |
| offset | integer >= 0 Default: 0 Number of results to skip |
{- "items": [
- {
- "id": 1,
- "number": 234,
- "title": "كتاب الأغاني",
- "manuscript": true,
- "print": false,
- "comment": "نسخة مخطوطة قديمة",
- "editor_comment": "حالة جيدة، خط واضح",
- "volume": "الجزء الأول",
- "genre": {
- "id": 1,
- "name": "الأدب والشعر"
}, - "endowment": {
- "id": 1,
- "name": "مكتبة الخديوي"
}, - "authors": [
- {
- "id": 1,
- "name": "الأصفهاني، أبو الفرج"
}
]
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}Retrieve details of a specific book by ID
| id required | integer <int64> Book ID |
{- "id": 1,
- "number": 234,
- "title": "كتاب الأغاني",
- "manuscript": true,
- "print": false,
- "comment": "نسخة مخطوطة قديمة",
- "editor_comment": "حالة جيدة، خط واضح",
- "volume": "الجزء الأول",
- "genre": {
- "id": 1,
- "name": "الأدب والشعر"
}, - "endowment": {
- "id": 1,
- "name": "مكتبة الخديوي"
}, - "authors": [
- {
- "id": 1,
- "name": "الأصفهاني، أبو الفرج"
}
]
}Retrieve all books in a specific genre
| id required | integer <int64> Genre ID |
| limit | integer [ 1 .. 1000 ] Default: 100 Maximum number of results to return |
| offset | integer >= 0 Default: 0 Number of results to skip |
{- "items": [
- {
- "id": 1,
- "number": 234,
- "title": "كتاب الأغاني",
- "manuscript": true,
- "print": false,
- "comment": "نسخة مخطوطة قديمة",
- "editor_comment": "حالة جيدة، خط واضح",
- "volume": "الجزء الأول",
- "genre": {
- "id": 1,
- "name": "الأدب والشعر"
}, - "endowment": {
- "id": 1,
- "name": "مكتبة الخديوي"
}, - "authors": [
- {
- "id": 1,
- "name": "الأصفهاني، أبو الفرج"
}
]
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}Retrieve all books from a specific endowment
| id required | integer <int64> Endowment ID |
| limit | integer [ 1 .. 1000 ] Default: 100 Maximum number of results to return |
| offset | integer >= 0 Default: 0 Number of results to skip |
{- "items": [
- {
- "id": 1,
- "number": 234,
- "title": "كتاب الأغاني",
- "manuscript": true,
- "print": false,
- "comment": "نسخة مخطوطة قديمة",
- "editor_comment": "حالة جيدة، خط واضح",
- "volume": "الجزء الأول",
- "genre": {
- "id": 1,
- "name": "الأدب والشعر"
}, - "endowment": {
- "id": 1,
- "name": "مكتبة الخديوي"
}, - "authors": [
- {
- "id": 1,
- "name": "الأصفهاني، أبو الفرج"
}
]
}
], - "total": 0,
- "limit": 0,
- "offset": 0
}