syllabus.fd.setup – Interfaces for getting syllabus settings

setup-timeinfo – returns calendar setup info

GET https://syllabus.fd.uib.no/setup/timeinfo
response
200 OK
Content-Type: text/xml
<setup timeToLiveSeconds="...">
  <timeinfo id="...">
    <obsoletefrom>...</obsoletefrom>
    <lastchanged>...</lastchanged>
    <dataset_name/>
    <start_date>...</start_date>
    <start_day>...</start_day>
    <def_activ_factor>...</def_activ_factor>
    <week_labels>...</week_labels>
  </timeinfo>
</setup>

  ...
</setup>

    TimeToLive: 300 (seconds in caches)

Examples

  • Beskrivelsetekst mangler https://syllabus.fd.uib.no/setup/timeinfo

    <?xml version="1.0" encoding="UTF-8"?>
    <setup timeToLiveSeconds="300">
      <timeinfo id="90F56840994B2FAD080381F2DDFD62EA">
        <obsoletefrom>-2147483646</obsoletefrom>
        <lastchanged>2</lastchanged>
        <dataset_name/>
        <start_date>505180800</start_date>
        <start_day>0</start_day>
        <def_activ_factor>1</def_activ_factor>
        <week_labels>("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" "35" "36" "37" "38" "39" "40" "41" "42" "43" "44" "45" "46" "47" "48" "49" "50" "51" "52" "53" "54" "55" "56" "57" "58" "59" "60" "61" "62" "63" "64" "65")</week_labels>
      </timeinfo>
    </setup>
    
      ...
    </setup>