Skip to content

Change the status of an attendance for an event specified by id #29

@j1jlee

Description

@j1jlee

Change the status of an attendance for an event specified by id

Change the status of an attendance for an event specified by id.

  • An authenticated user is required for a successful response
  • Only the owner of the group or a member of the group with a membership
    status of "co-host" is authorized to change the status of a membership
  • Attendance record is updated in the database after request
  • Success response includes the id eventId, userId, and the new
    status
  • Error response with status 404 is given when an event does not exist with
    the provided id
  • Error response with status 400 is given when changing the status to
    "pending"
  • Error response with status 403 is given when changing the status to
    "attending" when the current user is not the organizer or a co-host
  • Error response with status 404 is given when an attendance between the
    user and event does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions