Return Structs
- 
                  
                  Used to return a newly created sub-account’s ID and username. Returned by: POST /api/v3/user/addSee See moreUserController.addHandler(_:data:).DeclarationSwift public struct AddedUserData : Content
- 
                  
                  An announcement to display to all users. Note Admins can modify Announcements, but should only do so to correct typos or change the displayUntil time. Therefore if a user has seen an announcement, they need not be notified again if the announcement is edited. Any material change to the content of an announcement should be done via a new announcement, so that user notifications work correctly.Returned by: - GET /api/v3/notification/announcements
- GET /api/v3/notification/announcement/IDfor admins/THO only.
 DeclarationSwift public struct AnnouncementData : Content
- 
                  
                  Used to obtain a list of board games. Each year there’s a list of boardgames published that’ll be brought onboard for the games library. The board game data is produced by running a script that pulls game data from http://boardgamegeek.com‘s API and merging it with the games library table.Games in the library may not match anything in BGG’s database (or we can’t find a match), so all the BGG fields are optional. Returned by: - GET /api/v3/boardgames(inside- BoardgameResponseData)
- GET /api/v3/boardgames/:boardgameID
- GET /api/v3/boardgames/expansions/:boardgameID
 See See moreBoardgameController.getBoardgames(_:),BoardgameController.getExpansions(_:).DeclarationSwift public struct BoardgameData : Content
- 
                  
                  Wraps an array of BoardgameDatawith info needed to paginate the result set.Returned by: - GET /api/v3/boardgames
 DeclarationSwift public struct BoardgameResponseData : Content
- 
                  
                  Used to return the ID and title of a Category.Returned by: - GET /api/v3/forum/categories
- GET /api/v3/forum/catgories/ID
 See See moreForumController.categoriesHandler(_:)DeclarationSwift public struct CategoryData : Content
- 
                  
                  Used to return a newly created account’s ID, username and recovery key. Returned by: POST /api/v3/user/createSee See moreUserController.createHandler(_:data:).DeclarationSwift public struct CreatedUserData : Content
- 
                  
                  Used to obtain the current user’s ID, username and logged-in status. Returned by: GET /api/v3/user/whoamiSee See moreUserController.whoamiHandler(_:).DeclarationSwift public struct CurrentUserData : Content
- 
                  
                  Used to obtain an event’s details. Returned by: - GET /api/v3/events
- GET /api/v3/events/favorites
 See See moreEventController.eventsHandler(_:),EventController.favoritesHandler(_:).DeclarationSwift public struct EventData : Content
- 
                  
                  Used to return a FriendlyFez‘s data.Returned by these methods, with membersset to nil.- POST /api/v3/fez/ID/join
- POST /api/v3/fez/ID/unjoin
- GET /api/v3/fez/joined
- GET /api/v3/fez/open
- GET /api/v3/fez/owner
- POST /api/v3/fez/ID/user/ID/add
- POST /api/v3/fez/ID/user/ID/remove
- POST /api/v3/fez/ID/cancel
 Returned by these methods, with memberspopulated.- GET /api/v3/fez/ID
- POST /api/v3/fez/create
- POST /api/v3/fez/ID/post
- POST /api/v3/fex/ID/post/ID/deleteSee- FezController.createHandler(_:data:),- FezController.joinHandler(_:),- FezController.unjoinHandler(_:),- FezController.joinedHandler(_:)- FezController.openhandler(_:),- FezController.ownerHandler(_:),- FezController.userAddHandler(_:),- FezController.userRemoveHandler(_:),- FezController.cancelHandler(_:).
 DeclarationSwift public struct FezData : Content, ResponseEncodable
- 
                  
                  Used to return a FezPost‘s data.Returned by: - GET /api/v3/fez/ID
- POST /api/v3/fez/ID/post
- POST /api/v3/fez/ID/post/ID/delete
 See: See moreFezController.fezHandler(_:),FezController.postAddHandler(_:data:),FezController.postDeleteHandler(_:).DeclarationSwift public struct FezPostData : Content
- 
                  
                  Used to return the contents of a Forum.Returned by: - POST /api/v3/forum/categories/ID/create
- GET /api/v3/forum/ID
- GET /api/v3/events/ID/forum
 See See moreForumController.forumCreateHandler(_:data:),ForumController.forumHandler(_:),EventController.eventForumHandler(_:).DeclarationSwift public struct ForumData : Content
- 
                  
                  Used to return the ID, title and status of a Forum.Returned by: - GET /api/v3/forum/categories/ID
- GET /api/v3/forum/owner
- GET /api/v3/user/forums
- GET /api/v3/forum/favorites
 See See moreForumController.categoryForumsHandler(_:),ForumController.ownerHandler(_:),ForumController.forumMatchHandler(_:), `ForumController.favoritesHandler(_:).DeclarationSwift public struct ForumListData : Content
- 
                  
                  Used to obtain the contents of a UserNotefor display in a non-profile-viewing context.Returned by: - GET /api/v3/user/notes
- GET /api/v3/users/ID/note
- POST /api/v3/user/note
 See See moreUserController.notesHandler(_:),UserController.noteHandler(_:data:).DeclarationSwift public struct NoteData : Content
- 
                  
                  Used to return a ForumPost‘s data.Returned by: - POST /api/v3/forum/ID/create
- POST /api/v3/forum/post/ID/update
- POST /api/v3/forum/post/ID/image
- POST /api/v3/forum/post/ID/image/remove
- GET /api/v3/forum/ID/search/STRING
- GET /api/v3/forum/post/search/STRING
- POST /api/v3/forum/post/ID/laugh
- POST /api/v3/forum/post/ID/like
- POST /api/v3/forum/post/ID/love
- POST /api/v3/forum/post/ID/unreact
- GET /api/v3/forum/bookmarks
- GET /api/v3/forum/likes
- GET /api/v3/forum/mentions
- GET /api/v3/forum/posts
- GET /api/v3/forum/post/hashtag/#STRING
 See See moreForumController.postCreateHandler(_:data:),ForumController.postUpdateHandler(_:data:),ForumController.imageHandler(_:data:),ForumController.imageRemoveHandler(_:),ForumController.forumSearchHandler(_:),ForumController.postSearchHandler(_:)ForumController.postLaughHandler(_:),ForumController.postLikeHandler(_:)ForumController.postLoveHandler(_:),ForumController.postUnreactHandler(_:),ForumController.bookmarksHandler(_:),ForumCOntroller.likesHandler(_:),ForumController.mentionsHandler(_:),ForumController.postsHandler(_:),ForumController.postHashtagHandler(_:).DeclarationSwift public struct PostData : Content
- 
                  
                  Used to return a ForumPost‘s data with full userLikeTypeinfo.Returned by: GET /api/v3/forum/post/IDSee See moreForumController.postHandler(_:).DeclarationSwift public struct PostDetailData : Content
- 
                  
                  Used to return a user’s public profile contents. For viewing/editing a user’s own profile, see UserProfileData.Returned by: GET /api/v3/users/ID/profileSee See moreUsersController.profileHandler(_:).DeclarationSwift public struct ProfilePublicData : Content
- 
                  
                  Used to return a token string for use in HTTP Bearer Authentication. Clients can use the userIDfield to validate the user that logged in matches the user they thiought was logging in. This guards against a situation where one user changes their username to the previous username value of another user. A client using/client/user/updates/sincecould end up associating a login with the wrongUserbecause they were matching onusernameinstead ofuserID. That is, a user picks a username and logs in with their own password. Their client has a (out of date) stored User record, for a different user, that had the same username.Returned by: - POST /api/v3/auth/login
- POST /api/v3/auth/recovery
 See See moreAuthController.loginHandler(_:)andAuthController.recoveryHandler(_:data:).DeclarationSwift public struct TokenStringData : Content
- 
                  
                  Used to return a Twarrt‘s data.Returned by: - POST /api/v3/twitarr/create
- POST /api/v3/twitarr/ID/update
- POST /api/v3/twitarr/ID/image
- POST /api/v3/twitarr/ID/image/remove
- POST /api/v3/twitarr/ID/laugh
- POST /api/v3/twitarr/ID/like
- POST /api/v3/twitarr/ID/love
- POST /api/v3/twitarr/ID/unreact
- POST /api/v3/twitarr/ID/reply
- GET /api/v3/twitarr/bookmarks
- GET /api/v3/twitarr/likes
- GET /api/v3/twitarr/mentions
- GET /api/v3/twitarr/
- GET /api/v3/twitarr/barrel/ID
- GET /api/v3/twitarr/hashtag/#STRING
- GET /api/v3/twitarr/search/STRING
- GET /api/v3/twitarr/user
- GET /api/v3/twitarr/user/ID
 See See moreTwitarrController.twarrtCreateHandler(_:data:),TwitarrController.twarrtUpdateHandler(_:data:)TwitarrController. imageHandler(_:data:),TwitarrController.imageRemoveHandler(_:)TwitarrController.twarrtLaughHandler(_:),TwitarrController.twarrtLikeHandler(_:),TwitarrController.twarrtLoveHandler(_:),TwitarrController.twarrtUnreactHandler(_:),TwitarrController.replyHandler(_:data:),TwitarrController.bookmarksHandler(_:),TwitarrController.likesHandler(_:),TwitarrController.mentionsHandler(_:),TwitarrController.twarrtsHandler(_:),TwitarrController.twarrtsBarrelHandler(_:),TwitarrController.twarrtsHashtagHandler(_:),TwitarrController.twarrtsSearchHandler(_:),TwitarrController.twarrtsUserHandler(_:),TwitarrController.userHandler(_:).DeclarationSwift public struct TwarrtData : Content
- 
                  
                  Used to return a Twarrt‘s data with full userLikeTypeinfo.Returned by: GET /api/v3/twitarr/IDSee See moreTwitarrController.twarrtHandler(_:).DeclarationSwift public struct TwarrtDetailData : Content
- 
                  
                  Used to obtain a user’s current header information (name and image) for attributed content. Returned by: - GET /api/v3/users/ID/header
- GET /api/v3/client/user/headers/since/DATE
 See See moreUsersController.headerHandler(_:),ClientController.userHeadersHandler(_:).DeclarationSwift public struct UserHeader : Content
- 
                  
                  Used to broad search for a user based on any of their name fields. Returned by: - GET /api/v3/users/match/allnames/STRING
- GET /api/v3/client/usersearch
 See See moreUsersController.matchAllNamesHandler(_:),ClientController.userSearchHandler(_:).DeclarationSwift public struct UserSearch : Content
 View on GitHub
            View on GitHub
           Return Structs  Reference
      Return Structs  Reference