Skip to content

Event link #416

@chibenwa

Description

@chibenwa

CF https://github.com/linagora/twake-calendar-frontend/issues/166

Have a route

POST https://twcalendar.linagora.com/events/{userBase}/{calendarId}/{eventUid}/eventTokens

returns

{
  "eventToken": "XYZ"
}

(owner only)

XYZ is an eventToken stored in MongoDB and has the following field:

  • userBase
  • calendarId
  • eventUid
  • expiration
  • right access level (view, add myself, manage event)

GET https://twcalendar.linagora.com/events/{userBase}/{calendarId}/{eventUid}/eventLinks

returns a list of valid events tokens (owner only)

GET https://twcalendar.linagora.com/eventTokens/XYZ

returns the rights associated with a given event token (any user)

DELETE https://twcalendar.linagora.com/eventTokens/XYZ

revokes the rights associated with a given event token (owner only)

GET https://twcalendar.linagora.com/events?eventToken=XYZ

Returns the details of the events in JSON form.

POST https://twcalendar.linagora.com/events?eventToken=XYZ&addMyself

Uses identity of the guy initiating the sharing link to add the authenticated user as an attendee. Validates the rights associated with the token.

POST https://twcalendar.linagora.com/events?eventToken=XYZ&addAttendee
{
    "mailAddress": "[email protected]",
    "Display name": "External Unauthenticated User"
}

Adds the following user into the event. PARTSTAT: NEEDS-ACTION (in order to have a validation round)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions