syllabus.fd.setup – Interfaces for getting syllabus settings
setup-nopubinfo – Returns information on which department is used for events that should not be published ➠
GET https://syllabus.fd.uib.no/setup/nopubinfo
response
200 OKContent-Type: text/xml
<setup timeToLiveSeconds="..."> <nopub id="..."> <name>...</name> <description/> </nopub> </setup> ... </setup>
TimeToLive: 300 (seconds in caches)
Examples
Beskrivelsetekst mangler https://syllabus.fd.uib.no/setup/nopubinfo
<?xml version="1.0" encoding="UTF-8"?> <setup timeToLiveSeconds="300"> <nopub id="7534715259760C51A565BDE314148159"> <name>STUDENTPORTALEN_NOT_PUBLISHED</name> <description/> </nopub> </setup> ... </setup>
setup-timeinfo – returns calendar setup info ➠
GET https://syllabus.fd.uib.no/setup/timeinfo
response
200 OKContent-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>
setup-weekinfo – Returns week setup info ➠
GET https://syllabus.fd.uib.no/setup/weekinfo
response
200 OKContent-Type: text/xml
<setup timeToLiveSeconds="..."> <weekinfo id="..."> <obsoletefrom>...</obsoletefrom> <lastchanged>...</lastchanged> <institution>...</institution> <using_posts>...</using_posts> <start_time_of_day>...</start_time_of_day> <end_time_of_day>...</end_time_of_day> <include_monday>...</include_monday> <include_tuesday>...</include_tuesday> <include_wednesday>...</include_wednesday> <include_thursday>...</include_thursday> <include_friday>...</include_friday> <include_saturday>...</include_saturday> <include_sunday>...</include_sunday> <number_of_weeks>...</number_of_weeks> <periods_per_day>...</periods_per_day> </weekinfo> </setup> ... </setup>
TimeToLive: 300 (seconds in caches)
Examples
Beskrivelsetekst mangler https://syllabus.fd.uib.no/setup/weekinfo
<?xml version="1.0" encoding="UTF-8"?> <setup timeToLiveSeconds="300"> <weekinfo id="00000000000000000000000000010001"> <obsoletefrom>-2147483646</obsoletefrom> <lastchanged>2</lastchanged> <institution>90F56840994B2FAD080381F2DDFD62EA</institution> <using_posts>0</using_posts> <start_time_of_day>25200</start_time_of_day> <end_time_of_day>79200</end_time_of_day> <include_monday>1</include_monday> <include_tuesday>1</include_tuesday> <include_wednesday>1</include_wednesday> <include_thursday>1</include_thursday> <include_friday>1</include_friday> <include_saturday>1</include_saturday> <include_sunday>1</include_sunday> <number_of_weeks>65</number_of_weeks> <periods_per_day>60</periods_per_day> </weekinfo> </setup> ... </setup>