SitePerformerController

struct SitePerformerController : SiteControllerUtils
  • Declaration

    Swift

    func registerRoutes(_ app: Application) throws
  • GET /performers

    Returns a list of Official Performers matching the query. Pageable.

    Query Parameters:

    • search=STRING Filter only performers whose title that match the given string.
    • start=INT
    • limit=INT

    Declaration

    Swift

    func officialPerformersPageHandler(_ req: Request) async throws -> View
  • GET /performers/shadow

    Returns a list of Shadow Event Performers matching the query. Pageable. This route MAY OR MAY NOT end up being viewable by all users, but WILL need to be available to mods to access for moderation purposes.

    Query Parameters:

    • search=STRING Filter only performers whose title that match the given string.
    • start=INT
    • limit=INT

    Declaration

    Swift

    func shadowPerformersPageHandler(_ req: Request) async throws -> View
  • GET /performer/:performer_ID

    Shows the Bio page for the indicated performer.

    Declaration

    Swift

    func performerPageHandler(_ req: Request) async throws -> View
  • addEventOrganizer(_:) Asynchronous

    Declaration

    Swift

    func addEventOrganizer(_ req: Request) async throws -> View
  • Declaration

    Swift

    func postAddEventOrganizer(_ req: Request) async throws -> HTTPStatus

TT Routes