Events

Provides access to master calendar events.

GET /truman/events/on-campus

Currently retrieval of events up to one week in advance is supported.

Fields

Field Type Description Required
UID Event ID YES
DTSTART DateTime string representing the event start. YES
DTEND DateTime string representing the event end. YES
SUMMARY A summary of the event. YES
URL A URL related to the event. NO
LOCATION The location of the event. NO
UNIX_TIMESTAMP A UNIX timestamp of the event's start. NO
REAL_DATETIME A period-delimited Date string representing the event start. NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/truman/events/on-campus"
       }
   }
   "_embedded": {
       "events": [
           {
               "_links": {
                   "self": {
                       "href": "/truman/events/on-campus"
                   }
               }
              "UID": "Event ID",
              "DTSTART": "DateTime string representing the event start.",
              "DTEND": "DateTime string representing the event end.",
              "SUMMARY": "A summary of the event.",
              "URL": "A URL related to the event.",
              "LOCATION": "The location of the event.",
              "UNIX_TIMESTAMP": "A UNIX timestamp of the event's start.",
              "REAL_DATETIME": "A period-delimited Date string representing the event start."
           }
       ]
   }
}

CAPAlert

Provides access to the alerts published by the campus RAVE system.

GET /truman/alert

No options are available.

Fields

Field Type Description Required
language NO
category NO
event NO
responseType NO
urgency NO
severity NO
certainty NO
effective NO
onset NO
expires NO
senderName NO
headline NO
description NO
contact NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/truman/alert"
       }
   }
   "_embedded": {
       "cap_alert": [
           [],
           [],
           [],
           [],
           [],
           [],
           {
              "language": "",
              "category": "",
              "event": "",
              "responseType": "",
              "urgency": "",
              "severity": "",
              "certainty": "",
              "effective": "",
              "onset": "",
              "expires": "",
              "senderName": "",
              "headline": "",
              "description": "",
              "contact": ""
           }
       ]
   }
}

TrumanToday

Provides access to the Truman Today news feed.

GET /trumantoday

Fields

Field Type Description Required
title Title of the article. NO
link URL to the article on the Truman Today website. NO
language Language of the article NO
pubDate Date the article was published NO
thumbnail URL to the article's thumbnail image NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/trumantoday"
       }
   }
   "_embedded": {
       "truman_today": [
           {
              "title": "Truman Today",
              "description": "Volume information",
              "link": "URL link to the published volume",
              "language": "en-us",
              "item": [
                  {
                      "title": "Title of the article.",
                      "link": "URL to the article on the Truman Today website.",
                      "language": "Language of the article",
                      "pubDate": "Date the article was published",
                      "thumbnail": "URL to the article's thumbnail image"
                  }
              ]
           }
       ]
   }
}

YouTube

Provides access to the university's YouTube feed. This is deprecated and will be removed in the near future without a version change. Please do not use this feed. Use Google's YouTube API for access.

GET /you-tube

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

TrumanMediaNetwork

Provides access to TMN's RSS feed in a JSON format. This resource is deprecated and will be removed without a version change in the near future. Please do not use this feed. Alternatively use the WordPress REST API on http://tmn.truman.edu.

GET /truman-media-network

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

CAPAlertTest

Provides access to the alerts published by the campus RAVE test system.

GET /truman/alert/test

No options are available.

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/truman/alert"
       }
   }
   "_embedded": {
       "cap_alert": [
           [],
           [],
           [],
           [],
           [],
           [],
           {
              "language": "",
              "category": "",
              "event": "",
              "responseType": "",
              "urgency": "",
              "severity": "",
              "certainty": "",
              "effective": "",
              "onset": "",
              "expires": "",
              "senderName": "",
              "headline": "",
              "description": "",
              "contact": ""
           }
       ]
   }
}

Feeds

This resource is deprecated and will be removed in the near future. Please use the FeedsList resource.

GET /feeds[/:feeds_id]

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

FeedsList

Provides access to a list of all the departmental news feeds on campus.

GET /feeds-list

Fields

Field Type Description Required
category Category of the feed NO
title Title of the feed NO
url URL of where the feed can be retrieved NO
image Thumbnail picture of the feed NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/feeds-list"
       }
   },
   "feed-name": {
      "category": "Category of the feed",
      "title": "Title of the feed",
      "url": "URL of where the feed can be retrieved",
      "image": "Thumbnail picture of the feed"
   }
}

GET /feeds-list[/:feeds_list_id]

Fields

Field Type Description Required
category Category of the feed NO
title Title of the feed NO
url URL of where the feed can be retrieved NO
image Thumbnail picture of the feed NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/feeds-list[/:feeds_list_id]"
       }
   }
   "category": "Category of the feed",
   "title": "Title of the feed",
   "url": "URL of where the feed can be retrieved",
   "image": "Thumbnail picture of the feed"
}

Terms

Provides access to academic term information including the term names, beginning, and end dates.

GET /truman/terms

There are five options available: sort, last, next, interim, and finaid. Sort allows asc/desc values and provides the ability to sort the records by their IDs, last allows an integer (x) and provides the ability to grab the last (x) terms, next allows an integer (x) and provides the ability to grab the next (x) terms, interim allows true/false and provides the ability to hide all of the terms with Interim in the name, and finaid allows true/false and provides the ability to hide all of the terms with Fin Aid in the name. The last and next options may not be used at the same time. If they are last will override next.

Fields

Field Type Description Required
ID Identification number of the academic term. NO
termname Name of the academic term YES
startdate Date and time string indicating the start of the academic term. YES
enddate Date time string indicating the end of the academic term. YES

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/truman/terms"
       },
       "first": {
           "href": "/truman/terms?page={page}"
       },
       "prev": {
           "href": "/truman/terms?page={page}"
       },
       "next": {
           "href": "/truman/terms?page={page}"
       },
       "last": {
           "href": "/truman/terms?page={page}"
       }
   }
   "_embedded": {
       "terms": [
           {
               "_links": {
                   "self": {
                       "href": "/truman/terms[/:term_id]"
                   }
               }
              "ID": "Identification number of the academic term.",
              "termname": "Name of the academic term",
              "startdate": "Date and time string indicating the start of the academic term.",
              "enddate": "Date time string indicating the end of the academic term."
           }
       ]
   }
}

GET /truman/terms[/:term_id]

Fields

Field Type Description Required
ID Identification number of the academic term. NO
termname Name of the academic term YES
startdate Date and time string indicating the start of the academic term. YES
enddate Date time string indicating the end of the academic term. YES

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/truman/terms[/:term_id]"
       }
   }
   "ID": "Identification number of the academic term.",
   "termname": "Name of the academic term",
   "startdate": "Date and time string indicating the start of the academic term.",
   "enddate": "Date time string indicating the end of the academic term."
}

Directory

Provides access to student, faculty, and staff directory information.

GET /directory

The search option is required for this request. The type option (student/faculty/staff) is not required.

Fields

Field Type Description Required
Lname Last Name YES
Fname First Name YES
Mname Middle Name NO
Email Email address YES
Address Current address or residence for student records NO
City Current city of residence for student records NO
State Current state of residence. Provided as a two letter abbreviation for student records NO
Zip Postal zip code for student records NO
AreaCode Phone number area code for student records NO
TelPre Phone number prefix for student records NO
TelExt Phone number extension for student records NO
FlagHide Flag indicating whether or not the directory entry is publicly available. NO
dirhide Flag indicating whether or not to hide the entry from the directory. NO
pipeline Your guess is as good as mine. For student records NO
spamfilter NO
alumni Flag indicating whether or not the record is for an alumni. NO
showaddress Flag indicating whether or not to show the address in the directory. NO
showphone Flag indicating whether or not to show the phone number in the directory. NO
showemail Flag indicating whether or not to show the email in the directory. NO
Email2 Secondary email address for staff/faculty records. NO
Depart Department name for faculty/staff records NO
Office Office location for faculty/staff records NO
Phone Phone number for faculty/staff records NO
Phone2 Secondary phone number for faculty/staff records NO
Web Web address for more information on faculty/staff records NO
WebLabel Web address label for faculty/staff records NO
title Name prefix NO
education Description of education for faculty/staff records NO
jobtitle Title of current position for faculty/staff records NO
bio Biographical information for faculty/staff records NO
picture Picture NO
contenttype Picture encoding type for faculty/staff records NO
faculty F indicates that the record is a faculty record. Blank indicates it is a staff record. For faculty/staff records NO
colcode School code for faculty/staff records NO
colname School name for faculty/staff records NO
deptcode Department code for faculty/staff records NO
deptname Department name for faculty/staff records NO
staffdeptcode Staff department code for faculty/staff records NO
staffdeptname Staff department name for faculty/staff records NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/directory?search={search}"
       }
   }
   "_embedded": {
       "directory": [
           {
               "_links": {
                   "self": {
                       "href": "/directory[/:directory_id]"
                   }
               }
              "Lname": "Last Name",
              "Fname": "First Name",
              "Mname": "Middle Name",
              "Email": "Email address",
              "Email2": "Second email address (staff/faculty records)",
              "Depart": "Department name (staff/faculty records)",
              "Office": "Office location (staff/faculty records)",
              "Address": "Current address or residence (student records)",
              "City": "Current city of residence (student records)",
              "State": "Current state of residence. Provided as a two letter abbreviation (student records)",
              "Zip": "Postal zip code (student records)",
              "AreaCode": "Phone number area code (student records)",
              "TelPre": "Phone number prefix (student records)",
              "TelExt": "Phone number extension (student records)",
              "Phone": "Phone number (staff/faculty records)",
              "Phone2": "Secondary phone number (staff/faculty records)",
              "Web": "Web address for more information (staff/faculty records)",
              "WebLabel": "Web address label (staff/faculty records)",
              "title": "Name prefix (staff/faculty records)",
              "education": "Description of education (staff/faculty records)",
              "jobtitle": "Title of current position (staff/faculty records)",
              "bio": "Biographical information (staff/faculty records)",
              "picture": "Picture (staff/faculty records)",
              "contenttype": "Picture encoding type (staff/faculty records)",
              "faculty": "F indicates that the record is a faculty record (staff/faculty records)",
              "colcode": "School code (staff/faculty records)",
              "colname": "School name (staff/faculty records)",
              "deptcode": "Department code (staff/faculty records)",
              "deptname": "Department name (staff/faculty records)",
              "staffdeptcode": "Staff department code (staff/faculty records)",
              "staffdeptname": "Staff department name (staff/faculty records)"
           }
       ]
   }
}

GET /directory[/:username]

Automatically negotiates the record type. Plug in the username to get going.

Fields

Field Type Description Required
Lname Last Name YES
Fname First Name YES
Mname Middle Name NO
Email Email address YES
Address Current address or residence for student records NO
City Current city of residence for student records NO
State Current state of residence. Provided as a two letter abbreviation for student records NO
Zip Postal zip code for student records NO
AreaCode Phone number area code for student records NO
TelPre Phone number prefix for student records NO
TelExt Phone number extension for student records NO
FlagHide Flag indicating whether or not the directory entry is publicly available. NO
dirhide Flag indicating whether or not to hide the entry from the directory. NO
pipeline Your guess is as good as mine. For student records NO
spamfilter NO
alumni Flag indicating whether or not the record is for an alumni. NO
showaddress Flag indicating whether or not to show the address in the directory. NO
showphone Flag indicating whether or not to show the phone number in the directory. NO
showemail Flag indicating whether or not to show the email in the directory. NO
Email2 Secondary email address for staff/faculty records. NO
Depart Department name for faculty/staff records NO
Office Office location for faculty/staff records NO
Phone Phone number for faculty/staff records NO
Phone2 Secondary phone number for faculty/staff records NO
Web Web address for more information on faculty/staff records NO
WebLabel Web address label for faculty/staff records NO
title Name prefix NO
education Description of education for faculty/staff records NO
jobtitle Title of current position for faculty/staff records NO
bio Biographical information for faculty/staff records NO
picture Picture NO
contenttype Picture encoding type for faculty/staff records NO
faculty F indicates that the record is a faculty record. Blank indicates it is a staff record. For faculty/staff records NO
colcode School code for faculty/staff records NO
colname School name for faculty/staff records NO
deptcode Department code for faculty/staff records NO
deptname Department name for faculty/staff records NO
staffdeptcode Staff department code for faculty/staff records NO
staffdeptname Staff department name for faculty/staff records NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/directory[/:username]"
       }
   }
   "Lname": "Last Name",
    "Fname": "First Name",
    "Mname": "Middle Name",
    "Email": "Email address",
    "Email2": "Second email address (staff/faculty records)",
    "Depart": "Department name (staff/faculty records)",
    "Office": "Office location (staff/faculty records)",
    "Address": "Current address or residence (student records)",
    "City": "Current city of residence (student records)",
    "State": "Current state of residence. Provided as a two letter abbreviation (student records)",
    "Zip": "Postal zip code (student records)",
    "AreaCode": "Phone number area code (student records)",
    "TelPre": "Phone number prefix (student records)",
    "TelExt": "Phone number extension (student records)",
    "Phone": "Phone number (staff/faculty records)",
    "Phone2": "Secondary phone number (staff/faculty records)",
    "Web": "Web address for more information (staff/faculty records)",
    "WebLabel": "Web address label (staff/faculty records)",
    "title": "Name prefix (staff/faculty records)",
    "education": "Description of education (staff/faculty records)",
    "jobtitle": "Title of current position (staff/faculty records)",
    "bio": "Biographical information (staff/faculty records)",
    "picture": "Picture (staff/faculty records)",
    "contenttype": "Picture encoding type (staff/faculty records)",
    "faculty": "F indicates that the record is a faculty record (staff/faculty records)",
    "colcode": "School code (staff/faculty records)",
    "colname": "School name (staff/faculty records)",
    "deptcode": "Department code (staff/faculty records)",
    "deptname": "Department name (staff/faculty records)",
    "staffdeptcode": "Staff department code (staff/faculty records)",
    "staffdeptname": "Staff department name (staff/faculty records)"
}

EMS

Provides and interface to current EMS events.

GET /ems

The building and date may be supplied as parameters to modify the request.

Fields

Field Type Description Required
GroupName Name of the group sponsoring the event NO
EventName Name of the event NO
Room Room the event will be taking place in NO
TimeEventStart Start time of the event NO
TimeEventEnd Time the event will end NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/ems?building={building}&date={date}"
       }
   }
   "_embedded": {
       "ems": [
           {
              "GroupName": "Name of the group sponsoring the event",
              "EventName": "Name of the event",
              "Room": "Room the event will be taking place in",
              "TimeEventStart": "Start time of the event",
              "TimeEventEnd": "Time the event will end"
           }
       ]
   }
}

GET /ems

Fields

Field Type Description Required
GroupName Name of the group sponsoring the event NO
EventName Name of the event NO
Room Room the event will be taking place in NO
TimeEventStart Start time of the event NO
TimeEventEnd Time the event will end NO

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

States

GET /states

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

GET /states[/:states_id]

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

AthleticEvents

GET /truman/events/athletics

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

Building

Campus buildings

GET /building

Retrieves a list of all campus buildings

Fields

Field Type Description Required
name YES
abbreviation YES
isResHall YES

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/building"
       },
       "first": {
           "href": "/building?page={page}"
       },
       "prev": {
           "href": "/building?page={page}"
       },
       "next": {
           "href": "/building?page={page}"
       },
       "last": {
           "href": "/building?page={page}"
       }
   }
   "_embedded": {
       "building": [
           {
               "_links": {
                   "self": {
                       "href": "/building[/:building_id]"
                   }
               }
              "name": "",
              "abbreviation": "",
              "isResHall": "",
              "id": ""
           }
       ]
   }
}

GET /building[/:building_id]

Retrieves a single building

Fields

Field Type Description Required
name YES
abbreviation YES
isResHall YES

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
   "_links": {
       "self": {
           "href": "/building[/:building_id]"
       }
   }
   "name": "",
   "abbreviation": "",
   "isResHall": "",
   "id": ""
}

Setting

GET /truman/setting

Fields

Field Type Description Required
value YES
settingsKey YES

Request

Headers

Header Value
Accept

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK

Headers

Header Value
Content-Type
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

POST /truman/setting

Fields

Field Type Description Required
value YES
settingsKey YES

Request

Headers

Header Value
Accept
Content-Type

Body


                                            

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 201: Created
  • 400: Client Error
  • 422: Unprocessable Entity

Headers

Header Value
Content-Type
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

GET /truman/setting[/:setting_id]

Fields

Field Type Description Required
value YES
settingsKey YES

Request

Headers

Header Value
Accept

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

PATCH /truman/setting[/:setting_id]

Fields

Field Type Description Required
value YES
settingsKey YES

Request

Headers

Header Value
Accept
Content-Type

Body


                                            

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found
  • 400: Client Error
  • 422: Unprocessable Entity

Headers

Header Value
Content-Type
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

KTVO

Provides a cached version of the KTVO RSS feed. Their system drops the ball sometimes.

GET /rss/ktvo

Request

Headers

Header Value
Accept
text/xml
text/html

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
text/xml
text/html
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

DepartmentImages

Provides access to department branding images.

GET /truman/department/image/:id[/:size]

Given a department name, the department's branding image is returned. The default size is small. Size options are full/large/medium/small/thumbnail.

Request

Headers

Header Value
Accept
image/jpeg

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
image/jpeg
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

BrewCoffee

GET /brew/coffee

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/json
application/*+json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/json
application/*+json
Allow Comma-separated list of all HTTP methods allowed

Body


                                            

ComputerName

GET /truman/computer-name

Request

Headers

Header Value
Accept
application/vnd.truman.v1+json
application/json
application/*+json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found

Headers

Header Value
Content-Type
application/vnd.truman.v1+json
application/json
application/*+json
Allow Comma-separated list of all HTTP methods allowed

Body