rest

Random beyt from the Masnavi

Returns a randomly-selected beyt, optionally restricted to a daftar.

get/api/random

Request

  • Base URL: https://masnavi.ai
  • URL: https://masnavi.ai/api/random
  • Auth: none declared

Query parameters

daftarinteger nullable

Restrict to one daftar.

Response

Successful Response

citationstring required

Canonical citation, e.g. 'M3:1278'

daftarinteger required
beyt_in_daftarinteger required
beyt_globalinteger required
mesra1string required

First hemistich (with diacritics)

mesra2string required

Second hemistich

section_idinteger required
section_titlestring required
section_slugstring required

Changes

No recorded changes to this operation across all 1 revision of this API.