Structures

The following structures are available globally.

  • Formatter for HTML content

    See more

    Declaration

    Swift

    public struct TootHTML
  • Undocumented

    See more

    Declaration

    Swift

    public struct PagedInfo : Decodable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PagedResult<T> : Decodable where T : Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Pagination
  • Undocumented

    See more

    Declaration

    Swift

    public struct AccessToken : Codable
  • Represents a weekly bucket of instance activity.

    See more

    Declaration

    Swift

    public struct Activity : Codable, Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AddAccountsToListParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Alerts : Codable, Hashable, Sendable
  • Represents an announcement set by an administrator.

    See more

    Declaration

    Swift

    public struct Announcement : Codable, Hashable, Identifiable
  • Represents an emoji reaction to an Announcement.

    See more

    Declaration

    Swift

    public struct AnnouncementReaction : Codable, Hashable
  • Parameters to block a domain

    See more

    Declaration

    Swift

    public struct BlockDomainParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct CallbackInfo : Hashable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Card : Codable, Hashable
  • Represents the tree around a given post. Used for reconstructing threads of posts.

    See more

    Declaration

    Swift

    public struct Context : Codable, Hashable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Conversation : Codable, Hashable, Identifiable
  • A request to create a new poll

    See more

    Declaration

    Swift

    public struct CreatePoll : Codable, Hashable, Sendable
  • Represents a domain limited from federating.

    See more

    Declaration

    Swift

    public struct DomainBlock : Codable, Hashable
  • Params to edit a given post

    See more

    Declaration

    Swift

    public struct EditPostParams : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Emoji : Codable, Hashable, Sendable
  • Represents a subset of your follows who also follow some other user.

    See more

    Declaration

    Swift

    public struct FamiliarFollowers : Codable, Hashable, Identifiable
  • Params to feature a hashtag

    See more

    Declaration

    Swift

    public struct FeatureTagParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct FeaturedTag : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Filter : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct FilterKeyword : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct FilterStatus : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct FollowAccountParams : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct IdentityProof : Codable, Hashable
  • General information about an instance

    See more

    Declaration

    Swift

    public struct Instance : Codable, Hashable
  • Represents a list of some users that the authenticated user follows.

    See more

    Declaration

    Swift

    public struct List : Codable, Hashable, Identifiable
  • Params to change a list of users

    See more

    Declaration

    Swift

    public struct ListParams : Codable
  • Represents the last read position within a user’s timelines.

    See more

    Declaration

    Swift

    public struct Marker : Codable, Hashable
  • Represents a file or media attachment that can be added to a post.

    See more

    Declaration

    Swift

    public struct MediaAttachment : Codable, Hashable, Identifiable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AttachmentMeta : Codable, Hashable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AttachmentMetaInfo : Codable, Hashable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AttachmentMetaFocus : Codable, Hashable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct UploadedMediaAttachment : Identifiable, Sendable
  • Represents a mention of a user within the content of a post.

    See more

    Declaration

    Swift

    public struct Mention : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct MuteAccountParams : Codable, Sendable
  • Parameters to retrieve a list of oauth apps

    See more

    Declaration

    Swift

    public struct ListOauthAppsParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PleromaFollowByURIParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PleromaOauthApp : Codable, Identifiable
  • Undocumented

    Declaration

    Swift

    public struct PleromaOauthAppsResponse : Codable
  • Represents a poll attached to a post.

    See more

    Declaration

    Swift

    public struct Poll : Codable, Hashable, Identifiable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PostEdit : Codable, Hashable, Sendable
  • Parameters to create a new post

    See more

    Declaration

    Swift

    public struct PostParams : Codable, Sendable
  • Represents a post’s source as plain text.

    See more

    Declaration

    Swift

    public struct PostSource : Codable, Identifiable, Sendable
  • Represents a user’s preferences.

    See more

    Declaration

    Swift

    public struct Preferences : Codable, Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public struct ProfileDirectoryParams : Codable
  • Represents a subscription to the push streaming server.

    See more

    Declaration

    Swift

    public struct PushSubscription : Codable, Sendable
  • Web Push API subscription request

    See more

    Declaration

    Swift

    public struct PushSubscriptionParams : Codable, Sendable
  • Change Web Push API subscription configuration request

    See more

    Declaration

    Swift

    public struct PushSubscriptionUpdateParams : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RegisterAccountErrors : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RegisterAccountParams : Codable, Sendable
  • Represents the relationship between accounts, such as following / blocking / muting / etc.

    See more

    Declaration

    Swift

    public struct Relationship : Codable, Hashable, Identifiable, Sendable
    extension Relationship: Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RemoveAccountsFromListParams : Codable
  • Reports filed against users and/or posts, to be taken action on by moderators.

    See more

    Declaration

    Swift

    public struct Report : Codable, Hashable, Identifiable
  • Represents the results of a search.

    See more

    Declaration

    Swift

    public struct Results : Codable
  • Represents a post that will be published at a future scheduled date.

    See more

    Declaration

    Swift

    public struct ScheduledPost : Codable, Equatable, Hashable, Identifiable, Sendable
  • Parameters to post a new scheduled post. Returned as part of a ScheduledPost. In requests, this is converted to a ScheduledPostRequest for encoding.

    See more

    Declaration

    Swift

    public struct ScheduledPostParams : Codable, Equatable, Hashable, Sendable
  • Represents the results of a search.

    See more

    Declaration

    Swift

    public struct Search : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct SearchAccountsParams : Sendable
  • The search parameters.

    See more

    Declaration

    Swift

    public struct SearchParams : Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct SetNoteForAccountParams : Codable, Sendable
  • An account suggested by the server.

    See more

    Declaration

    Swift

    public struct Suggestion : Codable, Hashable, Sendable
  • Tag

    Represents a hashtag used within the content of a post.

    See more

    Declaration

    Swift

    public struct Tag : Codable, Hashable, Sendable
  • Specifies the parameters for a federated timeline request

    See more

    Declaration

    Swift

    public struct FederatedTimelineQuery : Codable, Sendable
    extension FederatedTimelineQuery: TimelineQuery
  • Specifies the parameters for a hashtag timeline request

    See more

    Declaration

    Swift

    public struct HashtagTimelineQuery : Codable, Sendable
    extension HashtagTimelineQuery: TimelineQuery
  • Specifies the parameters for a local timeline request

    See more

    Declaration

    Swift

    public struct LocalTimelineQuery : Hashable, Codable, Sendable
    extension LocalTimelineQuery: TimelineQuery
  • Specifies the parameters for a user posts timeline request

    See more

    Declaration

    Swift

    public struct UserTimelineQuery : Sendable
    extension UserTimelineQuery: TimelineQuery
  • Represents an application that interfaces with the REST API to access accounts or posts.

    See more

    Declaration

    Swift

    public struct TootApplication : Codable, Hashable, Identifiable
  • Undocumented

    See more

    Declaration

    Swift

    public struct TootContent
  • Represents a feature that is not supported by all flavours.

    See more

    Declaration

    Swift

    public struct TootFeature
  • Represents a profile field as a name-value pair with optional verification.

    See more

    Declaration

    Swift

    public struct TootField : Codable, Hashable, Sendable
  • Represents a notification of an event relevant to the user.

    See more

    Declaration

    Swift

    public struct TootNotification : Codable, Hashable, Identifiable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct TootNotificationParams : Codable, Sendable
  • Represents display or publishing preferences of user’s own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account.

    See more

    Declaration

    Swift

    public struct TootSource : Codable, Hashable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct TrendingLink : Codable, Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public struct UpdateCredentialsParams : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct UpdateMediaAttachmentParams : Codable, Sendable
  • Undocumented

    See more

    Declaration

    Swift

    public struct UploadMediaAttachmentParams : Codable, Sendable