rest

Fetch a contiguous range of beyts

Returns ALL beyts between two endpoints (inclusive), grouped by section. Use this for fetching a full multi-section story in one call. Endpoints can be citations like 'M2:2608'/'M2:2775' or global indices. Max range: 500 beyts.

get/api/range

Request

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

Query parameters

startstring nullable

Start citation, e.g. 'M2:2608'.

endstring nullable

End citation, e.g. 'M2:2775'.

start_globalinteger nullable
end_globalinteger nullable

Response

Successful Response

start_citationstring required
end_citationstring required
total_beytsinteger required
total_sectionsinteger required

Changes

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