Documents, links and files
Give guests what they need to read: Attend documents with published versions, links to other sites, and uploaded files such as PDFs, attached to the whole event or to one session or group.
There are three kinds of content. Each can be shown to everyone, or attached to one session, activity, choice group or guest group: pass agendaItemId, agendaActivityId, agendaGroupId or attendeeGroupId. quickLink pins an item to the guest Home screen.
Documents (written in Attend, with versions)
events__listAllEventDocslists the event’s documents.events__createEventDocumentcreates one (slug,title, optionalkind). Change its title, kind or attachment withevents__updateEventDocument.rooms_edge__publishEventDocumentpublishes the current draft as a new version, with an optionallabel. Guests only ever see published versions.- Versions.
events__listEventDocumentVersionslists them, newest first.events__rollbackEventDocumentmakes an earlier version the one guests see.events__unpublishEventDocumenthides the document but keeps every version.- Both take
dryRun.
Links (to other sites)
events__createEventLink takes title and an https:// url. Edit with events__updateEventLink; list with events__listEventLinks.
Files (uploaded PDFs, images, Office files)
namespace_edge__getEventFilesConfigsays whether Files is switched on for this event, the allowed types and how much space is left. Allowed: PDF, PNG, JPEG, WebP, DOCX, XLSX and PPTX, up to 150 MB each and 1 GB per event.namespace_edge__createEventFileUpload(fileName,contentType,byteSize) returns a short-lived upload URL. PUT the file’s bytes to it with the headers it returns.namespace_edge__finalizeEventFile(mediaId) checks the bytes and creates the file as a draft. Pass an existingfileIdto replace that file’s contents with a new version.namespace_edge__publishEventFilemakes it visible to its audience;namespace_edge__unpublishEventFilehides it again.namespace_edge__deleteEventFilemoves it to the trash, where it can be restored withnamespace_edge__restoreEventFilefor 30 days.events__listEventFileslists files, andevents__updateEventFilechanges the title, audience or Home pin.
Set the order of everything on guest Home and in the library with events__reorderEventContent. Every step above that changes something takes dryRun.