v1

latestOpenAPI 3.0.2GNU AGPLv32026-07-245983524.8 KB
Topic

Random By Topic

Returns Texts API data for a random text taken from popular topic tags.

get/api/texts/random-by-topic

Response

Successful response

refstring

The Ref of the text randomly selected, which is connected to one of the recently popular topics.

urlstring

The Ref in a format appropriate for a URL, with spaces replaced with . etc.

Example response

{
  "ref": "Pesachim 66a:3-6",
  "topic": {
    "slug": "hillel",
    "titles": [],
    "subclass": "person",
    "alt_ids": {
      "_temp_id": "הלל",
      "old-person-key": "Hillel the Elder"
    },
    "properties": {
      "enWikiLink": {
        "value": "http://en.wikipedia.org/wiki/Hillel_the_Elder",
        "dataSource": "person-collection"
      },
      "jeLink": {
        "value": "http://www.jewishencyclopedia.com/view.jsp?artid=730&letter=H",
        "dataSource": "person-collection"
      },
      "generation": {
        "value": "Z5",
        "dataSource": "person-collection"
      },
      "sex": {
        "value": "M",
        "dataSource": "person-collection"
      },
      "heWikiLink": {
        "data_source": "wikidata",
        "value": "https://he.wikipedia.org/wiki/%D7%94%D7%9C%D7%9C_%D7%94%D7%96%D7%A7%D7%9F"
      }
    },
    "description": {
      "en": "Hillel was one of the most influential and prolific of the early teachers. Coming from Babylon to learn with Avtalyon and Shemaya, he soon became famous for his scholarship and his patient and tolerant manner. Bolstered by his Davidic lineage, he served as Nasi during part of Herod’s reign.",
      "he": "הלל היה אחד החכמים הראשונים, ומהפורים והמשפיעים ביניהם. הוא הגיע מבבל כדי ללמוד עם שמעיה ואבטליון, ונודע מהר מאוד בשל חוכמתו בתורה ואופיו הסבלני והסובלני. היותו צאצא של בית דוד הייתה בסיס לכהונתו כנשיא בתקופת שלטונו של הורדוס."
    },
    "categoryDescription": "",
    "numSources": 217,
    "description_published": true,
    "primaryTitle": {
      "en": "Hillel",
      "he": "הִלֵּל"
    }
  },
  "url": "Pesachim.66a.3-6"
}