Versions Compared

Key

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

Source Data Model

ISO-8601 Date format YYYY-MM-DDTHH:mm:ss.SSSZ 

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

O
sourceDescriptionStringDescriptions of what the source is about.R
sourceSlugString

This is used by the aggiefeed landing page

e.g. https://aggiefeed.ucdavis.edu/posts/<sourceSlug>

R
sourceOwnerStringSource owner's loginId (kerberos id)R
sourceCreationDateStringISO-8601 Date format YYYY-MM-DDTHH:mm:ss.SSSZ R
sourceStatsObject O
sourceStats.postCountNumberNumber of posts created by sourceO
sourceStats.subscriberCountNumberNumber of users that are subscribed to this sourceO
sourceStats.latestPostCreationDateStringISO-8601 Date format YYYY-MM-DDTHH:mm:ss.SSSZ O

ActivityType

KeyTypeCommentRequired (R) or Optional (O)
nameidString  id"event" or "notification"R
nameString  "Event" or "Notification"R
iconString  Image location or icon nameR
colorString  

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

Code Block
#82f0ff
O

Connection