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 created R
approversArrayArray of strings, where each entry is the kerberos id of the user granted the ability to approve posts R
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 posts R
isRequiredBooleanIndicating if a user can unsubscribe from this source R
notificationBooleanSend email to approvers if a new posts was created that needs approvals R
sourceIdStringUUID R
sourceNameStringUnique source name R
sourceLabelObject

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

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

 R
autosubscribe   BooleanIndicating if this source is added to a user's subscriptions list by defaultR
connections Array

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

NOTE: This is not implemented yet

 

ActivityType

KeyTypeCommentRequired (R) or Optional (O)
nameString  
idString  
iconString  
colorString  

...