Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

KeyTypeCommentRequired (R) or Optional (O)
activityTypesArray of activityType Objects
Code Block
[{
	"id": "event",
	"name": "Event",
	"icon": "/content/logos/mondavi.png"
},
{
	"id": "notification",
	"name": "Notification",
	"icon": "/content/logos/mondavi.png"
}]
R
approveByNumberNumber of approvers required for any post that is manually createdR
approversArrayArray of strings, where each entry is the kerberos id of the user granted the ability to approve postsR
canSendToArray

Array of objects, where each entry represents a group that is addressable by this source. e.g.

Code Block
[
        {
            "id": "public",
            "name": "Public"
        },
        {
            "id": "students",
            "name": "All Students"
        },
        {
            "id": "staff",
            "name": "All Staff"
        },
        {
            "id": "faculty",
            "name": "All Faculty"
        }
]

 

 

R

creators

ArrayArray of strings, where each entry is the kerberos id of the user granted the ability to create postsR
isRequiredBooleanIndicating if a user can unsubscribe from this sourceR
notificationBooleanSend email to approvers if a new posts was created that needs approvalsR
sourceIdStringUUIDR
sourceNameStringUnique source nameR
sourceLabelObject

Default label. One of campus-life, campus-messages, academic, student-life, faculty, staff

Code Block
{
	"id": "~campus-life",
	"name": "Campus-Life"
}

R
autosubscribeBooleanIndicating if this source is added to a user's subscriptions list by defaultR
connectionsArray

Array of External Connections (i.e. Facebook pages/groups, Campus Calendars, etc.)

NOTE: This is not implemented yet

 
sourceDescription   

ActivityType

KeyTypeCommentRequired (R) or Optional (O)
idString"event" or "notification"R
nameString"Event" or "Notification"R
iconStringImage location or icon nameR
colorString

If "icon" is an "icon name" then an optional color HEX value can be used.

Code Block
#82f0ff
O

...