These docs are for an old release. Info on upgrading to v4
edit doc

Event Source Object

An “event source” is anything that provides FullCalendar with data about events. It can be a simple array, an event-generating function that you define, a URL to a json feed, or a Google Calendar feed.

Event Objects can have “options” associated with them. However, before you can start specifying options, you must write an Event Object in its extended form. It must be a traditional JavaScript object with properties. Here are the extended forms for each type of Event Source:

Array of events:

{
  events: [
    {
      title: 'Event1',
      start: '2011-04-04'
    },
    {
      title: 'Event2',
      start: '2011-05-05'
    }
    // etc...
  ],
  color: 'yellow',   // an option!
  textColor: 'black' // an option!
}

Event-generating function:

{
  events: function(start, end, timezone, callback) {
    // ...
  },
  color: 'yellow',   // an option!
  textColor: 'black' // an option!
}

JSON feed:

{
  url: '/myfeed.php',
  color: 'yellow',   // an option!
  textColor: 'black' // an option!
}

Google Calendar feed:

{
  googleCalendarId: 'abcd1234@group.calendar.google.com',
  color: 'yellow',   // an option!
  textColor: 'black' // an option!
}

Event Source Options

id Optional. Useful for getEventSourceById.
color Sets every Event Object's color for this source.
backgroundColor Sets every Event Object's backgroundColor for this source.
borderColor Sets every Event Object's borderColor for this source.
textColor Sets every Event Object's textColor for this source.
className Sets every Event Object's className for this source.
editable Sets every Event Object's editable for this source.
startEditable Sets every Event Object's startEditable for this source.
durationEditable Sets every Event Object's durationEditable for this source.
resourceEditable Sets every Event Object's resourceEditable for this source.
rendering Sets every Event Object's rendering for this source.
overlap Sets every Event Object's overlap for this source.
constraint Sets every Event Object's constraint for this source.
allDayDefault Sets the allDayDefault option, but only for this source.
eventDataTransform Sets the eventDataTransform callback, but only for this source.

For JSON feeds, there are additional options you can set.