InterfaceClient

interface Client {
    v1: {
        accounts: AccountRepository;
        admin: AdminRepository;
        announcements: AnnouncementRepository;
        apps: AppRepository;
        blocks: BlockRepository;
        bookmarks: BookmarkRepository;
        conversations: ConversationRepository;
        customEmojis: CustomEmojiRepository;
        directory: DirectoryRepository;
        domainBlocks: DomainBlockRepository;
        emails: EmailRepository;
        endorsements: EndorsementRepository;
        favourites: FavouriteRepository;
        featuredTags: FeaturedTagRepository;
        filters: mastodon.rest.v1.FilterRepository;
        followedTags: FollowedTagRepository;
        followRequests: FollowRequestRepository;
        instance: mastodon.rest.v1.InstanceRepository;
        lists: ListRepository;
        markers: MarkerRepository;
        media: mastodon.rest.v1.MediaAttachmentRepository;
        mutes: MuteRepository;
        notifications: mastodon.rest.v1.NotificationRepository;
        polls: PollRepository;
        preferences: PreferenceRepository;
        profile: ProfileRepository;
        push: PushRepository;
        reports: ReportRepository;
        scheduledStatuses: ScheduledStatusRepository;
        search: mastodon.rest.v1.SearchRepository;
        statuses: StatusRepository;
        suggestions: mastodon.rest.v1.SuggestionRepository;
        tags: TagRepository;
        timelines: TimelineRepository;
        trends: TrendRepository;
    };
    v2: {
        filters: mastodon.rest.v2.FilterRepository;
        instance: mastodon.rest.v2.InstanceRepository;
        media: mastodon.rest.v2.MediaAttachmentRepository;
        notifications: mastodon.rest.v2.NotificationRepository;
        search: mastodon.rest.v2.SearchRepository;
        suggestions: mastodon.rest.v2.SuggestionRepository;
    };
}

Properties

Properties

v1: {
    accounts: AccountRepository;
    admin: AdminRepository;
    announcements: AnnouncementRepository;
    apps: AppRepository;
    blocks: BlockRepository;
    bookmarks: BookmarkRepository;
    conversations: ConversationRepository;
    customEmojis: CustomEmojiRepository;
    directory: DirectoryRepository;
    domainBlocks: DomainBlockRepository;
    emails: EmailRepository;
    endorsements: EndorsementRepository;
    favourites: FavouriteRepository;
    featuredTags: FeaturedTagRepository;
    filters: mastodon.rest.v1.FilterRepository;
    followedTags: FollowedTagRepository;
    followRequests: FollowRequestRepository;
    instance: mastodon.rest.v1.InstanceRepository;
    lists: ListRepository;
    markers: MarkerRepository;
    media: mastodon.rest.v1.MediaAttachmentRepository;
    mutes: MuteRepository;
    notifications: mastodon.rest.v1.NotificationRepository;
    polls: PollRepository;
    preferences: PreferenceRepository;
    profile: ProfileRepository;
    push: PushRepository;
    reports: ReportRepository;
    scheduledStatuses: ScheduledStatusRepository;
    search: mastodon.rest.v1.SearchRepository;
    statuses: StatusRepository;
    suggestions: mastodon.rest.v1.SuggestionRepository;
    tags: TagRepository;
    timelines: TimelineRepository;
    trends: TrendRepository;
}
v2: {
    filters: mastodon.rest.v2.FilterRepository;
    instance: mastodon.rest.v2.InstanceRepository;
    media: mastodon.rest.v2.MediaAttachmentRepository;
    notifications: mastodon.rest.v2.NotificationRepository;
    search: mastodon.rest.v2.SearchRepository;
    suggestions: mastodon.rest.v2.SuggestionRepository;
}