@maschinenlesbar.org/reisewarnungen-cli
    Preparing search index...

    Function canonicalContentId

    • A content id as it is sent and looked up: checked by assertContentId, then trimmed and as the number it is, without leading zeros (" 0199124" is "199124", "000" is "0"). Content ids are numbers: the API answered 0199124 with a 404, so an id copied with a leading zero read as "not found" for a country that exists.

      Parameters

      • contentId: string

      Returns string