-
Empty stub register fn; Twarrt stream has been decomissioned.
Declaration
Swift
func registerRoutes(_ app: Application) throws
-
Required. Registers routes to the incoming router.
Declaration
Swift
func DISABLED_registerRoutes(_ app: Application) throws
-
tweetsPageHandler(_:
Asynchronous) GET /tweets
Returns a page of twarrts. Passes URL options through, including “?search=” option.
Declaration
Swift
func tweetsPageHandler(_ req: Request) async throws -> View
-
tweetReplyPageHandler(_:
Asynchronous) GET /tweets/:twarrt_ID
Shorthand for
/tweets?replyGroup=<:twarrt_ID>
. A short, canonical way to indicate a single twarrt, similar to how Twitter works. That is, when you send someone a link to a specific tweet with Twitter, you’re really sending a link to the reply thread that starts with that tweet.Declaration
Swift
func tweetReplyPageHandler(_ req: Request) async throws -> View
-
tweetGetDetailHandler(_:
Asynchronous) Declaration
Swift
func tweetGetDetailHandler(_ req: Request) async throws -> TwarrtDetailData
-
tweetLikeActionHandler(_:
Asynchronous) Declaration
Swift
func tweetLikeActionHandler(_ req: Request) async throws -> TwarrtData
-
tweetLaughActionHandler(_:
Asynchronous) Declaration
Swift
func tweetLaughActionHandler(_ req: Request) async throws -> TwarrtData
-
tweetLoveActionHandler(_:
Asynchronous) Declaration
Swift
func tweetLoveActionHandler(_ req: Request) async throws -> TwarrtData
-
tweetUnreactActionHandler(_:
Asynchronous) Declaration
Swift
func tweetUnreactActionHandler(_ req: Request) async throws -> TwarrtData
-
tweetPostReactionHandler(_:
AsynchronousreactionType: ) Declaration
Swift
func tweetPostReactionHandler(_ req: Request, reactionType: String) async throws -> TwarrtData
-
tweetBookmarkActionHandler(_:
Asynchronous) Declaration
Swift
func tweetBookmarkActionHandler(_ req: Request) async throws -> HTTPStatus
-
tweetUnBookmarkActionHandler(_:
Asynchronous) Declaration
Swift
func tweetUnBookmarkActionHandler(_ req: Request) async throws -> HTTPStatus
-
tweetPostDeleteHandler(_:
Asynchronous) Declaration
Swift
func tweetPostDeleteHandler(_ req: Request) async throws -> HTTPStatus
-
tweetCreatePostHandler(_:
Asynchronous) Declaration
Swift
func tweetCreatePostHandler(_ req: Request) async throws -> HTTPStatus
-
tweetReplyPostHandler(_:
Asynchronous) Declaration
Swift
func tweetReplyPostHandler(_ req: Request) async throws -> HTTPStatus
-
tweetEditPageHandler(_:
Asynchronous) Declaration
Swift
func tweetEditPageHandler(_ req: Request) async throws -> View
-
tweetEditPostHandler(_:
Asynchronous) Declaration
Swift
func tweetEditPostHandler(_ req: Request) async throws -> HTTPStatus
-
tweetReportPageHandler(_:
Asynchronous) Declaration
Swift
func tweetReportPageHandler(_ req: Request) async throws -> View
-
tweetReportPostHandler(_:
Asynchronous) Declaration
Swift
func tweetReportPostHandler(_ req: Request) async throws -> HTTPStatus