Empires

Get empire hierarchy

Retrieve all empires as a nested tree structure based on parent-child relationships

get/empire/hierarchy

Request

  • Base URL
    https://api.usul.ai
  • URL
    https://api.usul.ai/empire/hierarchy
  • Auth
    none declared

Query parameters

locale'en' | 'ar'

Locale for localized content

Response

Empire hierarchy retrieved successfully

idstring required

Unique identifier for the empire

slugstring required

URL-friendly identifier

primaryNamestring required

Primary display name

secondaryNamestring

Secondary display name (e.g. Arabic)

numberOfAuthorsinteger required

Number of authors in this empire

numberOfBooksinteger required

Number of books in this empire

childrenEmpireHierarchyItem[] circular

Changes

No recorded changes to this operation across all 2 revisions of this API.