details

http://api.lib.sfu.ca/workshops/details
Get details up upcoming workshops, optionally grouped.
category
Workshop category id. You can get a list of the category ids through the "categories" service.
location
Workshop location id. You can get a list of the location ids through the "locations" service.
audience
Workshop audience id. You can get a list of the audience ids through the "audiences" service.
brand
Workshop brand id. You can get a list of the brand ids through the "brands" service.
group
Set to "categories", "locations", "brands" or "audiences" to group by that field.

JSON results without grouping:

workshops: [
	{
		name: "Academic Integrity: How to Avoid Plagiarism",
		categories: [ "Writing" ],
		audiences: [ "Open / all" ],
		description: "<p>Learn about expectations regarding academic integrity at SFU, as well as strategies for integrating other peoples words and ideas into research papers to avoid plagiarism and add authority to your voice.</p>",
		branding: [ "Student Learning Commons" ],
		instances: [
			{
				id: "291",
				dates: [
					{
						start: "1379354400",
						end: "1379357400",
					}
				],
				location: "Bennett Library, Rm 7301",
				description: "Video conference from Burnaby",
				url: "http://workshops.lib.sfu.ca/node/291",
				formatted_date: "Monday, September 16, 2013 - 11:00am to 11:50am"
			},
			{
				id: "294",
				dates: [
					{
						start: "1379354400",
						end: "1379357400",
					},
					{
						start: "1379364400",
						end: "1379367400",
					}
				],
				location: "Harbour Centre, Belzberg Library, Rm 1002",
				description: "Video conference from Burnaby",
				url: "http://workshops.lib.sfu.ca/node/294",
				formatted_date: "Monday, September 16, 2013 - 11:00am to 11:50am"
			},
			{
				id: "293",
				dates: [
					{
						start: "1379354400",
						end: "1379357400",
					}
				],
				location: "Surrey, Fraser Library, Rm 3695",
				description: "Video conference from Burnaby",
				url: "http://workshops.lib.sfu.ca/node/293",
				formatted_date: "Monday, September 16, 2013 - 11:00am to 11:50am"
			}
		]
	}, ...
]

JSON results grouping by "categories":

{
	Writing: [ ... see non-grouped record example above ... ]
	Library: [ ... see non-grouped record example above ... ]
}

list

http://api.lib.sfu.ca/workshops/list
Gets a list of upcoming workshops, optionally merged with room bookings.
merge
Setting this to anything will merge results from both the workshops system and the room booking software.
location
Location string to filter results for.
Keys are timestamps, so you can sort by them and then retrieve the workshops in start time/date order.
{
	1379971800: [
		{
			location_url: "http://workshops.lib.sfu.ca/taxonomy/term/91",
			location: "Harbour Centre, Belzberg Library, Rm 1002",
			facilitator: "Alize Zorlutuna",
			time: "09:30 PM -<br /> 10:50 PM",
			date: "2013-09-23",
			url: "http://workshops.lib.sfu.ca/node/307",
			name: "Discover Your Learning Style"
		},
		{
			location_url: "http://www.lib.sfu.ca/help/floorplans/room-7301",
			location: "7301",
			facilitator: "Ruth Silverman",
			time: "09:30 PM -<br /> 04:00 PM",
			date: "2013-09-23",
			name: "discover your learning style"
		}
	],
	1379961000: [ ... ],
	...

audiences

http://api.lib.sfu.ca/workshops/audiences
Gets a list of workshop audience ids to human readable text.
none
{
	10: "Undergraduate",
	11: "Graduate",
	...
}

brands

http://api.lib.sfu.ca/workshops/brands
Gets a list of workshop brand ids to human readable text.
none
{
	30: "Student Learning Commons",
	31: "Research Commons",
	...
}

categories

http://api.lib.sfu.ca/workshops/categories
Gets a list of workshop category ids to human readable text.
none
{
	2: "Learning",
	3: "Library",
	...
}

locations

http://api.lib.sfu.ca/workshops/locations
Gets a list of workshop location ids to human readable text.
none
{
	17: "Bennett Library, Lab 4009",
	18: "Bennett Library, Rm 3101",
	19: "Bennett Library, Rm 7301",
	...
}