Created
March 21, 2021 11:42
-
-
Save yakkomajuri/d0c89a65b8469af978790518db7d98c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query ProfilePubHandlerQuery($id: ID, $username: ID, $homepagePostsLimit: PaginationLimit, $homepagePostsFrom: String, $includeDistributedResponses: Boolean) { | |
userResult(id: $id, username: $username) { | |
__typename | |
... on User { | |
id | |
isFollowing | |
name | |
username | |
viewerIsUser | |
...ProfilePubScreen_user | |
__typename | |
} | |
} | |
oneClickFollowEligibility(username: $username, userId: $id) | |
} | |
fragment ProfilePubScreen_user on User { | |
id | |
viewerIsUser | |
customStyleSheet { | |
id | |
...CustomBackgroundWrapper_customStyleSheet | |
...MetaHeader_customStyleSheet | |
...customDefaultBackgroundTheme_customStyleSheet | |
...customStyleSheetFontTheme_customStyleSheet | |
__typename | |
} | |
...MetaHeader_publisher | |
...PublisherHomepagePosts_publisher | |
...PublisherSidebar_user | |
...UserSubdomainFlow_user | |
...UserProfileMetadata_user | |
...SuspendedBannerLoader_user | |
...TruncatedPostCard_user | |
__typename | |
} | |
fragment CustomBackgroundWrapper_customStyleSheet on CustomStyleSheet { | |
id | |
global { | |
colorPalette { | |
background { | |
...getHexFromColorValue_colorValue | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment getHexFromColorValue_colorValue on ColorValue { | |
rgb | |
alpha | |
__typename | |
} | |
fragment MetaHeader_customStyleSheet on CustomStyleSheet { | |
id | |
header { | |
headerScale | |
horizontalAlignment | |
__typename | |
} | |
...MetaHeaderBackground_customStyleSheet | |
...MetaHeaderEngagement_customStyleSheet | |
...MetaHeaderLogo_customStyleSheet | |
...MetaHeaderNavVertical_customStyleSheet | |
...MetaHeaderTagline_customStyleSheet | |
...MetaHeaderThemeProvider_customStyleSheet | |
__typename | |
} | |
fragment MetaHeaderBackground_customStyleSheet on CustomStyleSheet { | |
id | |
header { | |
headerScale | |
backgroundImageDisplayMode | |
backgroundImageVerticalAlignment | |
backgroundColorDisplayMode | |
backgroundColor { | |
...getHexFromColorValue_colorValue | |
...getOpaqueHexFromColorValue_colorValue | |
__typename | |
} | |
secondaryBackgroundColor { | |
...getHexFromColorValue_colorValue | |
__typename | |
} | |
postBackgroundColor { | |
...getHexFromColorValue_colorValue | |
__typename | |
} | |
backgroundImage { | |
...MetaHeaderBackground_imageMetadata | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment MetaHeaderBackground_imageMetadata on ImageMetadata { | |
id | |
originalWidth | |
__typename | |
} | |
fragment getOpaqueHexFromColorValue_colorValue on ColorValue { | |
rgb | |
__typename | |
} | |
fragment MetaHeaderEngagement_customStyleSheet on CustomStyleSheet { | |
...MetaHeaderNav_customStyleSheet | |
__typename | |
id | |
} | |
fragment MetaHeaderNav_customStyleSheet on CustomStyleSheet { | |
id | |
navigation { | |
navItems { | |
...MetaHeaderNav_headerNavigationItem | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment MetaHeaderNav_headerNavigationItem on HeaderNavigationItem { | |
name | |
tagSlugs | |
...MetaHeaderNavLink_headerNavigationItem | |
__typename | |
} | |
fragment MetaHeaderNavLink_headerNavigationItem on HeaderNavigationItem { | |
name | |
...getNavItemHref_headerNavigationItem | |
__typename | |
} | |
fragment getNavItemHref_headerNavigationItem on HeaderNavigationItem { | |
href | |
type | |
tags { | |
id | |
normalizedTagSlug | |
__typename | |
} | |
__typename | |
} | |
fragment MetaHeaderLogo_customStyleSheet on CustomStyleSheet { | |
id | |
header { | |
nameColor { | |
...getHexFromColorValue_colorValue | |
__typename | |
} | |
nameTreatment | |
postNameTreatment | |
logoImage { | |
...MetaHeaderLogo_imageMetadata | |
__typename | |
} | |
logoScale | |
__typename | |
} | |
__typename | |
} | |
fragment MetaHeaderLogo_imageMetadata on ImageMetadata { | |
id | |
originalWidth | |
originalHeight | |
...PublisherLogo_image | |
__typename | |
} | |
fragment PublisherLogo_image on ImageMetadata { | |
id | |
originalHeight | |
originalWidth | |
__typename | |
} | |
fragment MetaHeaderNavVertical_customStyleSheet on CustomStyleSheet { | |
id | |
navigation { | |
navItems { | |
...MetaHeaderNavLink_headerNavigationItem | |
__typename | |
} | |
__typename | |
} | |
...MetaHeaderNav_customStyleSheet | |
__typename | |
} | |
fragment MetaHeaderTagline_customStyleSheet on CustomStyleSheet { | |
id | |
header { | |
taglineColor { | |
...getHexFromColorValue_colorValue | |
__typename | |
} | |
taglineTreatment | |
__typename | |
} | |
__typename | |
} | |
fragment MetaHeaderThemeProvider_customStyleSheet on CustomStyleSheet { | |
id | |
...useMetaHeaderTheme_customStyleSheet | |
__typename | |
} | |
fragment useMetaHeaderTheme_customStyleSheet on CustomStyleSheet { | |
...customDefaultBackgroundTheme_customStyleSheet | |
global { | |
colorPalette { | |
primary { | |
colorPalette { | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
header { | |
backgroundColor { | |
colorPalette { | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
postBackgroundColor { | |
colorPalette { | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
backgroundImage { | |
id | |
__typename | |
} | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment customDefaultBackgroundTheme_customStyleSheet on CustomStyleSheet { | |
id | |
global { | |
colorPalette { | |
primary { | |
colorPalette { | |
...customDefaultBackgroundTheme_colorPalette | |
__typename | |
} | |
__typename | |
} | |
background { | |
colorPalette { | |
...customDefaultBackgroundTheme_colorPalette | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment customDefaultBackgroundTheme_colorPalette on ColorPalette { | |
highlightSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
defaultBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
fragment ThemeUtil_colorSpectrum on ColorSpectrum { | |
backgroundColor | |
...ThemeUtilInterpolateHelpers_colorSpectrum | |
__typename | |
} | |
fragment ThemeUtilInterpolateHelpers_colorSpectrum on ColorSpectrum { | |
colorPoints { | |
...ThemeUtil_colorPoint | |
__typename | |
} | |
__typename | |
} | |
fragment ThemeUtil_colorPoint on ColorPoint { | |
color | |
point | |
__typename | |
} | |
fragment MetaHeader_publisher on Publisher { | |
__typename | |
name | |
...MetaHeaderEngagement_publisher | |
...MetaHeaderLogo_publisher | |
...MetaHeaderNavVertical_publisher | |
...MetaHeaderTagline_publisher | |
...MetaHeaderThemeProvider_publisher | |
...MetaHeaderActions_publisher | |
...MetaHeaderTop_publisher | |
... on Collection { | |
id | |
favicon { | |
id | |
__typename | |
} | |
tagline | |
...CollectionNavigationContextProvider_collection | |
__typename | |
} | |
... on User { | |
id | |
bio | |
__typename | |
} | |
} | |
fragment CollectionNavigationContextProvider_collection on Collection { | |
id | |
domain | |
slug | |
isAuroraVisible | |
__typename | |
} | |
fragment MetaHeaderEngagement_publisher on Publisher { | |
__typename | |
...MetaHeaderNav_publisher | |
...PublisherAboutLink_publisher | |
...PublisherFollowButton_publisher | |
...PublisherFollowerCount_publisher | |
... on Collection { | |
creator { | |
id | |
__typename | |
} | |
__typename | |
id | |
} | |
... on User { | |
...AutoFollowWrapper_user | |
__typename | |
id | |
} | |
} | |
fragment MetaHeaderNav_publisher on Publisher { | |
id | |
...MetaHeaderNavLink_publisher | |
__typename | |
} | |
fragment MetaHeaderNavLink_publisher on Publisher { | |
id | |
...getNavItemHref_publisher | |
__typename | |
} | |
fragment getNavItemHref_publisher on Publisher { | |
id | |
...publisherUrl_publisher | |
__typename | |
} | |
fragment publisherUrl_publisher on Publisher { | |
id | |
__typename | |
... on Collection { | |
...collectionUrl_collection | |
__typename | |
id | |
} | |
... on User { | |
...userUrl_user | |
__typename | |
id | |
} | |
} | |
fragment collectionUrl_collection on Collection { | |
id | |
domain | |
slug | |
__typename | |
} | |
fragment userUrl_user on User { | |
__typename | |
id | |
customDomainState { | |
live { | |
domain | |
__typename | |
} | |
__typename | |
} | |
username | |
hasSubdomain | |
} | |
fragment PublisherAboutLink_publisher on Publisher { | |
__typename | |
id | |
... on Collection { | |
slug | |
__typename | |
id | |
} | |
... on User { | |
...userUrl_user | |
__typename | |
id | |
} | |
} | |
fragment PublisherFollowButton_publisher on Publisher { | |
__typename | |
... on Collection { | |
...CollectionFollowButton_collection | |
__typename | |
id | |
} | |
... on User { | |
...UserFollowButton_user | |
__typename | |
id | |
} | |
} | |
fragment CollectionFollowButton_collection on Collection { | |
__typename | |
id | |
viewerIsFollowing | |
name | |
viewerIsSubscribedToLetters | |
canToggleEmail | |
slug | |
isUserSubscribedToCollectionEmails | |
...collectionUrl_collection | |
...SusiClickable_collection | |
} | |
fragment SusiClickable_collection on Collection { | |
...SusiContainer_collection | |
__typename | |
id | |
} | |
fragment SusiContainer_collection on Collection { | |
...SignInOptions_collection | |
...SignUpOptions_collection | |
__typename | |
id | |
} | |
fragment SignInOptions_collection on Collection { | |
id | |
name | |
__typename | |
} | |
fragment SignUpOptions_collection on Collection { | |
id | |
name | |
__typename | |
} | |
fragment UserFollowButton_user on User { | |
...UserFollowButtonSignedIn_user | |
...UserFollowButtonSignedOut_user | |
__typename | |
id | |
} | |
fragment UserFollowButtonSignedIn_user on User { | |
id | |
isFollowing | |
__typename | |
} | |
fragment UserFollowButtonSignedOut_user on User { | |
id | |
...SusiClickable_user | |
__typename | |
} | |
fragment SusiClickable_user on User { | |
...SusiContainer_user | |
__typename | |
id | |
} | |
fragment SusiContainer_user on User { | |
...SignInOptions_user | |
...SignUpOptions_user | |
__typename | |
id | |
} | |
fragment SignInOptions_user on User { | |
id | |
name | |
__typename | |
} | |
fragment SignUpOptions_user on User { | |
id | |
name | |
__typename | |
} | |
fragment PublisherFollowerCount_publisher on Publisher { | |
__typename | |
id | |
... on Collection { | |
slug | |
subscriberCount | |
__typename | |
id | |
} | |
... on User { | |
socialStats { | |
followerCount | |
__typename | |
} | |
username | |
__typename | |
id | |
} | |
} | |
fragment AutoFollowWrapper_user on User { | |
id | |
isFollowing | |
name | |
__typename | |
} | |
fragment MetaHeaderLogo_publisher on Publisher { | |
__typename | |
id | |
name | |
... on Collection { | |
logo { | |
...MetaHeaderLogo_imageMetadata | |
...PublisherLogo_image | |
__typename | |
id | |
} | |
__typename | |
id | |
} | |
...auroraHooks_publisher | |
} | |
fragment auroraHooks_publisher on Publisher { | |
__typename | |
... on Collection { | |
isAuroraEligible | |
isAuroraVisible | |
viewerIsEditor | |
__typename | |
id | |
} | |
... on User { | |
isAuroraVisible | |
__typename | |
id | |
} | |
} | |
fragment MetaHeaderNavVertical_publisher on Publisher { | |
id | |
...PublisherAboutLink_publisher | |
...MetaHeaderNav_publisher | |
...MetaHeaderNavLink_publisher | |
__typename | |
} | |
fragment MetaHeaderTagline_publisher on Publisher { | |
__typename | |
... on Collection { | |
tagline | |
__typename | |
id | |
} | |
... on User { | |
bio | |
__typename | |
id | |
} | |
} | |
fragment MetaHeaderThemeProvider_publisher on Publisher { | |
__typename | |
customStyleSheet { | |
...MetaHeaderThemeProvider_customStyleSheet | |
__typename | |
id | |
} | |
... on Collection { | |
colorPalette { | |
...customDefaultBackgroundTheme_colorPalette | |
__typename | |
} | |
__typename | |
id | |
} | |
} | |
fragment MetaHeaderActions_publisher on Publisher { | |
__typename | |
...MetaHeaderPubMenu_publisher | |
...SearchWidget_publisher | |
... on Collection { | |
id | |
viewerIsEditor | |
creator { | |
id | |
__typename | |
} | |
customStyleSheet { | |
navigation { | |
navItems { | |
name | |
__typename | |
} | |
__typename | |
} | |
__typename | |
id | |
} | |
...CollectionAvatar_collection | |
...CollectionMetabarActionsPopover_collection | |
...MetaHeaderActions_collection_common | |
__typename | |
} | |
... on User { | |
id | |
...UserAvatar_user | |
__typename | |
} | |
} | |
fragment MetaHeaderPubMenu_publisher on Publisher { | |
__typename | |
... on Collection { | |
id | |
slug | |
name | |
...MutePopoverOptions_collection | |
__typename | |
} | |
... on User { | |
id | |
isBlocking | |
...MutePopoverOptions_creator | |
__typename | |
} | |
} | |
fragment MutePopoverOptions_collection on Collection { | |
id | |
viewerIsEditor | |
viewerIsMuting | |
__typename | |
} | |
fragment MutePopoverOptions_creator on User { | |
id | |
isMuting | |
__typename | |
} | |
fragment SearchWidget_publisher on Publisher { | |
__typename | |
... on Collection { | |
id | |
slug | |
name | |
domain | |
__typename | |
} | |
... on User { | |
id | |
name | |
__typename | |
} | |
...algoliaSearch_publisher | |
} | |
fragment algoliaSearch_publisher on Publisher { | |
__typename | |
id | |
} | |
fragment CollectionAvatar_collection on Collection { | |
name | |
avatar { | |
id | |
__typename | |
} | |
...collectionUrl_collection | |
__typename | |
id | |
} | |
fragment CollectionMetabarActionsPopover_collection on Collection { | |
id | |
slug | |
isAuroraEligible | |
isAuroraVisible | |
isEnrolledInHightower | |
newsletterV3 { | |
id | |
slug | |
__typename | |
} | |
...collectionUrl_collection | |
__typename | |
} | |
fragment MetaHeaderActions_collection_common on Collection { | |
creator { | |
id | |
__typename | |
} | |
viewerIsEditor | |
__typename | |
id | |
} | |
fragment UserAvatar_user on User { | |
__typename | |
username | |
id | |
name | |
imageId | |
mediumMemberAt | |
...userUrl_user | |
} | |
fragment MetaHeaderTop_publisher on Publisher { | |
__typename | |
... on Collection { | |
slug | |
...CollectionMetabarActionsPopover_collection | |
...CollectionAvatar_collection | |
...MetaHeaderTop_collection | |
__typename | |
id | |
} | |
... on User { | |
username | |
id | |
__typename | |
} | |
} | |
fragment MetaHeaderTop_collection on Collection { | |
id | |
viewerIsEditor | |
creator { | |
id | |
__typename | |
} | |
__typename | |
} | |
fragment PublisherHomepagePosts_publisher on Publisher { | |
__typename | |
id | |
homepagePostsConnection(paging: {limit: $homepagePostsLimit, from: $homepagePostsFrom}, includeDistributedResponses: $includeDistributedResponses) { | |
posts { | |
...PublisherHomepagePosts_post | |
creator { | |
...EntityDrivenSubscriptionCallToAction_creator | |
__typename | |
} | |
__typename | |
} | |
pagingInfo { | |
next { | |
...PublisherHomepagePosts_pagingInfo | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
...CardByline_publisher | |
...NewsletterV3Promo_publisher | |
...PublisherHomepagePosts_user | |
} | |
fragment CardByline_publisher on Publisher { | |
__typename | |
... on User { | |
id | |
...CardByline_user | |
__typename | |
} | |
... on Collection { | |
id | |
...CardByline_collection | |
__typename | |
} | |
} | |
fragment CardByline_user on User { | |
__typename | |
id | |
name | |
username | |
createdAt | |
mediumMemberAt | |
lastPostCreatedAt | |
socialStats { | |
followerCount | |
__typename | |
} | |
...userUrl_user | |
...UserMentionTooltip_user | |
} | |
fragment UserMentionTooltip_user on User { | |
id | |
name | |
username | |
bio | |
imageId | |
createdAt | |
mediumMemberAt | |
lastPostCreatedAt | |
socialStats { | |
followerCount | |
__typename | |
} | |
...UserAvatar_user | |
...UserFollowButton_user | |
__typename | |
} | |
fragment CardByline_collection on Collection { | |
__typename | |
id | |
name | |
...collectionUrl_collection | |
} | |
fragment NewsletterV3Promo_publisher on Publisher { | |
__typename | |
... on User { | |
id | |
username | |
name | |
viewerIsUser | |
newsletterV3 { | |
id | |
...NewsletterV3Promo_newsletterV3 | |
__typename | |
} | |
__typename | |
} | |
... on Collection { | |
id | |
slug | |
domain | |
name | |
viewerIsEditor | |
newsletterV3 { | |
id | |
...NewsletterV3Promo_newsletterV3 | |
__typename | |
} | |
__typename | |
} | |
} | |
fragment NewsletterV3Promo_newsletterV3 on NewsletterV3 { | |
slug | |
name | |
description | |
...NewsletterV3SubscribeButton_newsletterV3 | |
...NewsletterV3SubscribeByEmail_newsletterV3 | |
__typename | |
id | |
} | |
fragment NewsletterV3SubscribeButton_newsletterV3 on NewsletterV3 { | |
id | |
name | |
isSubscribed | |
type | |
user { | |
name | |
__typename | |
id | |
} | |
collection { | |
...CollectionMetabar_collection | |
...SusiClickable_collection | |
...collectionDefaultBackgroundTheme_collection | |
__typename | |
id | |
} | |
...SusiClickable_newsletterV3 | |
...useNewsletterV3Subscription_newsletterV3 | |
__typename | |
} | |
fragment CollectionMetabar_collection on Collection { | |
id | |
colorBehavior | |
isAuroraVisible | |
favicon { | |
id | |
__typename | |
} | |
...CollectionMetabarTop_collection | |
...CollectionMetabarBottom_collection | |
...collectionDefaultBackgroundTheme_collection | |
...collectionTintBackgroundTheme_collection | |
__typename | |
} | |
fragment CollectionMetabarTop_collection on Collection { | |
slug | |
...CollectionLogo_collection | |
...collectionUrl_collection | |
...MetabarActions_publisher | |
__typename | |
id | |
} | |
fragment CollectionLogo_collection on Collection { | |
...auroraHooks_publisher | |
name | |
isAuroraVisible | |
logo { | |
id | |
originalWidth | |
originalHeight | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment MetabarActions_publisher on Publisher { | |
...MetabarActionsLI_publisher | |
...MetabarActionsLO_publisher | |
__typename | |
} | |
fragment MetabarActionsLI_publisher on Publisher { | |
__typename | |
... on Collection { | |
id | |
isAuroraVisible | |
...MetabarActionsLI_collection_common | |
...CollectionAvatar_collection | |
...CollectionMetabarActionsPopover_collection | |
...SearchWidget_publisher | |
__typename | |
} | |
... on User { | |
id | |
name | |
isAuroraVisible | |
__typename | |
} | |
...MetaHeaderPubMenu_publisher | |
} | |
fragment MetabarActionsLI_collection_common on Collection { | |
creator { | |
id | |
__typename | |
} | |
viewerIsEditor | |
__typename | |
id | |
} | |
fragment MetabarActionsLO_publisher on Publisher { | |
__typename | |
... on Collection { | |
id | |
isAuroraVisible | |
__typename | |
} | |
... on User { | |
id | |
username | |
__typename | |
} | |
...MetaHeaderPubMenu_publisher | |
} | |
fragment CollectionMetabarBottom_collection on Collection { | |
slug | |
...CollectionNavItems_collection | |
...CollectionLogo_collection | |
...collectionUrl_collection | |
...ThemeUtilTintBackground_collection | |
__typename | |
id | |
} | |
fragment CollectionNavItems_collection on Collection { | |
navItems { | |
title | |
url | |
type | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment ThemeUtilTintBackground_collection on Collection { | |
colorPalette { | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment collectionDefaultBackgroundTheme_collection on Collection { | |
colorPalette { | |
...collectionDefaultBackgroundTheme_colorPalette | |
__typename | |
} | |
customStyleSheet { | |
id | |
...collectionDefaultBackgroundTheme_customStyleSheet | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment collectionDefaultBackgroundTheme_colorPalette on ColorPalette { | |
...customDefaultBackgroundTheme_colorPalette | |
__typename | |
} | |
fragment collectionDefaultBackgroundTheme_customStyleSheet on CustomStyleSheet { | |
id | |
...customDefaultBackgroundTheme_customStyleSheet | |
__typename | |
} | |
fragment collectionTintBackgroundTheme_collection on Collection { | |
colorPalette { | |
...collectionTintBackgroundTheme_colorPalette | |
__typename | |
} | |
customStyleSheet { | |
id | |
...collectionTintBackgroundTheme_customStyleSheet | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment collectionTintBackgroundTheme_colorPalette on ColorPalette { | |
...customTintBackgroundTheme_colorPalette | |
__typename | |
} | |
fragment customTintBackgroundTheme_colorPalette on ColorPalette { | |
tintBackgroundSpectrum { | |
...ThemeUtil_colorSpectrum | |
__typename | |
} | |
__typename | |
} | |
fragment collectionTintBackgroundTheme_customStyleSheet on CustomStyleSheet { | |
id | |
...customTintBackgroundTheme_customStyleSheet | |
__typename | |
} | |
fragment customTintBackgroundTheme_customStyleSheet on CustomStyleSheet { | |
id | |
global { | |
colorPalette { | |
primary { | |
colorPalette { | |
...customTintBackgroundTheme_colorPalette | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment SusiClickable_newsletterV3 on NewsletterV3 { | |
...SusiContainer_newsletterV3 | |
__typename | |
id | |
} | |
fragment SusiContainer_newsletterV3 on NewsletterV3 { | |
...SignInOptions_newsletterV3 | |
...SignUpOptions_newsletterV3 | |
__typename | |
id | |
} | |
fragment SignInOptions_newsletterV3 on NewsletterV3 { | |
id | |
name | |
__typename | |
} | |
fragment SignUpOptions_newsletterV3 on NewsletterV3 { | |
id | |
name | |
__typename | |
} | |
fragment useNewsletterV3Subscription_newsletterV3 on NewsletterV3 { | |
id | |
isSubscribed | |
__typename | |
} | |
fragment NewsletterV3SubscribeByEmail_newsletterV3 on NewsletterV3 { | |
id | |
slug | |
collection { | |
...collectionDefaultBackgroundTheme_collection | |
...collectionUrl_collection | |
__typename | |
id | |
} | |
__typename | |
} | |
fragment PublisherHomepagePosts_pagingInfo on PageParams { | |
from | |
limit | |
__typename | |
} | |
fragment PublisherHomepagePosts_post on Post { | |
id | |
collection { | |
id | |
name | |
...collectionUrl_collection | |
__typename | |
} | |
...PostPresentationTracker_post | |
...TruncatedPostCard_post | |
__typename | |
} | |
fragment PostPresentationTracker_post on Post { | |
id | |
visibility | |
previewContent { | |
isFullContent | |
__typename | |
} | |
collection { | |
id | |
slug | |
__typename | |
} | |
__typename | |
} | |
fragment TruncatedPostCard_post on Post { | |
id | |
creator { | |
...TruncatedPostCard_user | |
__typename | |
id | |
} | |
collection { | |
...CardByline_collection | |
__typename | |
id | |
} | |
extendedPreviewContent(truncationConfig: {previewParagraphsWordCountThreshold: 100, minimumWordLengthForTruncation: 150, truncateAtEndOfSentence: true, showFullImageCaptions: true, shortformPreviewParagraphsWordCountThreshold: 30, shortformMinimumWordLengthForTruncation: 30}) { | |
bodyModel { | |
...TruncatedPostCard_bodyModel | |
__typename | |
} | |
isFullContent | |
__typename | |
} | |
firstPublishedAt | |
isLocked | |
isShortform | |
latestPublishedAt | |
mediumUrl | |
postResponses { | |
count | |
__typename | |
} | |
previewContent { | |
subtitle | |
__typename | |
} | |
previewImage { | |
id | |
focusPercentX | |
focusPercentY | |
__typename | |
} | |
readingTime | |
title | |
visibility | |
inResponseToPostResult { | |
...TruncatedPostCard_inResponseToPostPreview_postResult | |
__typename | |
} | |
...CardByline_post | |
...TruncatedPostCardOverflowButton_post | |
...MultiVote_post | |
...ResponsesIconButton_post | |
...PostFooterSocialPopover_post | |
...BookmarkButton_post | |
...PostPresentationTracker_post | |
...PostScrollTracker_post | |
...TruncatedPostCard_inResponseToPostPreview_mediaResource | |
__typename | |
} | |
fragment CardByline_post on Post { | |
...DraftStatus_post | |
__typename | |
id | |
} | |
fragment DraftStatus_post on Post { | |
id | |
pendingCollection { | |
creator { | |
id | |
__typename | |
} | |
viewerIsEditor | |
...BoldCollectionName_collection | |
__typename | |
id | |
} | |
statusForCollection | |
creator { | |
id | |
__typename | |
} | |
isPublished | |
__typename | |
} | |
fragment BoldCollectionName_collection on Collection { | |
id | |
name | |
__typename | |
} | |
fragment TruncatedPostCard_bodyModel on RichText { | |
...PostBody_bodyModel | |
__typename | |
} | |
fragment PostBody_bodyModel on RichText { | |
sections { | |
name | |
startIndex | |
textLayout | |
imageLayout | |
backgroundImage { | |
id | |
originalHeight | |
originalWidth | |
__typename | |
} | |
videoLayout | |
backgroundVideo { | |
videoId | |
originalHeight | |
originalWidth | |
previewImageId | |
__typename | |
} | |
__typename | |
} | |
paragraphs { | |
id | |
...PostBodySection_paragraphs | |
__typename | |
} | |
...normalizedBodyModel_richText | |
__typename | |
} | |
fragment normalizedBodyModel_richText on RichText { | |
paragraphs { | |
markups { | |
type | |
__typename | |
} | |
...getParagraphHighlights_paragraph | |
...getParagraphPrivateNotes_paragraph | |
__typename | |
} | |
sections { | |
startIndex | |
...getSectionEndIndex_section | |
__typename | |
} | |
...getParagraphStyles_richText | |
...getParagraphSpaces_richText | |
__typename | |
} | |
fragment getParagraphHighlights_paragraph on Paragraph { | |
name | |
__typename | |
id | |
} | |
fragment getParagraphPrivateNotes_paragraph on Paragraph { | |
name | |
__typename | |
id | |
} | |
fragment getSectionEndIndex_section on Section { | |
startIndex | |
__typename | |
} | |
fragment getParagraphStyles_richText on RichText { | |
paragraphs { | |
text | |
type | |
__typename | |
} | |
sections { | |
...getSectionEndIndex_section | |
__typename | |
} | |
__typename | |
} | |
fragment getParagraphSpaces_richText on RichText { | |
paragraphs { | |
layout | |
metadata { | |
originalHeight | |
originalWidth | |
__typename | |
} | |
type | |
...paragraphExtendsImageGrid_paragraph | |
__typename | |
} | |
...getSeriesParagraphTopSpacings_richText | |
...getPostParagraphTopSpacings_richText | |
__typename | |
} | |
fragment paragraphExtendsImageGrid_paragraph on Paragraph { | |
layout | |
type | |
__typename | |
id | |
} | |
fragment getSeriesParagraphTopSpacings_richText on RichText { | |
paragraphs { | |
id | |
__typename | |
} | |
sections { | |
startIndex | |
__typename | |
} | |
__typename | |
} | |
fragment getPostParagraphTopSpacings_richText on RichText { | |
paragraphs { | |
layout | |
text | |
__typename | |
} | |
sections { | |
startIndex | |
__typename | |
} | |
__typename | |
} | |
fragment PostBodySection_paragraphs on Paragraph { | |
name | |
...PostBodyParagraph_paragraph | |
__typename | |
id | |
} | |
fragment PostBodyParagraph_paragraph on Paragraph { | |
name | |
type | |
...ImageParagraph_paragraph | |
...TextParagraph_paragraph | |
...IframeParagraph_paragraph | |
...MixtapeParagraph_paragraph | |
__typename | |
id | |
} | |
fragment IframeParagraph_paragraph on Paragraph { | |
iframe { | |
mediaResource { | |
id | |
iframeSrc | |
iframeHeight | |
iframeWidth | |
title | |
__typename | |
} | |
__typename | |
} | |
layout | |
...getEmbedlyCardUrlParams_paragraph | |
...Markups_paragraph | |
__typename | |
id | |
} | |
fragment getEmbedlyCardUrlParams_paragraph on Paragraph { | |
type | |
iframe { | |
mediaResource { | |
iframeSrc | |
__typename | |
} | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment Markups_paragraph on Paragraph { | |
name | |
text | |
hasDropCap | |
dropCapImage { | |
...MarkupNode_data_dropCapImage | |
__typename | |
id | |
} | |
markups { | |
type | |
start | |
end | |
href | |
anchorType | |
userId | |
linkMetadata { | |
httpStatus | |
__typename | |
} | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment MarkupNode_data_dropCapImage on ImageMetadata { | |
...DropCap_image | |
__typename | |
id | |
} | |
fragment DropCap_image on ImageMetadata { | |
id | |
originalHeight | |
originalWidth | |
__typename | |
} | |
fragment ImageParagraph_paragraph on Paragraph { | |
href | |
layout | |
metadata { | |
id | |
originalHeight | |
originalWidth | |
focusPercentX | |
focusPercentY | |
alt | |
__typename | |
} | |
...Markups_paragraph | |
...ParagraphRefsMapContext_paragraph | |
...PostAnnotationsMarker_paragraph | |
__typename | |
id | |
} | |
fragment ParagraphRefsMapContext_paragraph on Paragraph { | |
id | |
name | |
text | |
__typename | |
} | |
fragment PostAnnotationsMarker_paragraph on Paragraph { | |
...PostViewNoteCard_paragraph | |
__typename | |
id | |
} | |
fragment PostViewNoteCard_paragraph on Paragraph { | |
name | |
__typename | |
id | |
} | |
fragment TextParagraph_paragraph on Paragraph { | |
type | |
hasDropCap | |
...Markups_paragraph | |
...ParagraphRefsMapContext_paragraph | |
__typename | |
id | |
} | |
fragment MixtapeParagraph_paragraph on Paragraph { | |
text | |
type | |
mixtapeMetadata { | |
href | |
thumbnailImageId | |
__typename | |
} | |
markups { | |
start | |
end | |
type | |
href | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment TruncatedPostCard_user on User { | |
__typename | |
name | |
username | |
...CardByline_user | |
id | |
} | |
fragment TruncatedPostCardOverflowButton_post on Post { | |
collection { | |
viewerIsEditor | |
__typename | |
id | |
} | |
creator { | |
id | |
__typename | |
} | |
...TruncatedPostCardEditorWriterButton_post | |
...TruncatedPostCardReaderButton_post | |
__typename | |
id | |
} | |
fragment TruncatedPostCardEditorWriterButton_post on Post { | |
id | |
collection { | |
id | |
name | |
slug | |
__typename | |
} | |
responseDistribution | |
...useIsPinnedInContext_post | |
__typename | |
} | |
fragment useIsPinnedInContext_post on Post { | |
id | |
collection { | |
id | |
__typename | |
} | |
pendingCollection { | |
id | |
__typename | |
} | |
pinnedAt | |
pinnedByCreatorAt | |
__typename | |
} | |
fragment TruncatedPostCardReaderButton_post on Post { | |
id | |
collection { | |
id | |
__typename | |
} | |
creator { | |
id | |
isBlocking | |
isMuting | |
__typename | |
} | |
__typename | |
} | |
fragment MultiVote_post on Post { | |
id | |
clapCount | |
creator { | |
id | |
...SusiClickable_user | |
__typename | |
} | |
viewerClapCount | |
isPublished | |
...SusiClickable_post | |
collection { | |
id | |
slug | |
__typename | |
} | |
isLimitedState | |
...MultiVoteCount_post | |
__typename | |
} | |
fragment SusiClickable_post on Post { | |
id | |
mediumUrl | |
...SusiContainer_post | |
__typename | |
} | |
fragment SusiContainer_post on Post { | |
id | |
__typename | |
} | |
fragment MultiVoteCount_post on Post { | |
id | |
...PostVotersNetwork_post | |
__typename | |
} | |
fragment PostVotersNetwork_post on Post { | |
voterCount | |
viewerClapCount | |
recommenders { | |
name | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment ResponsesIconButton_post on Post { | |
allowResponses | |
postResponses { | |
count | |
__typename | |
} | |
__typename | |
id | |
} | |
fragment PostFooterSocialPopover_post on Post { | |
id | |
mediumUrl | |
title | |
...ShareButton_post | |
...NewsletterV3EmailToSubscribersMenuItem_post | |
__typename | |
} | |
fragment ShareButton_post on Post { | |
id | |
__typename | |
} | |
fragment NewsletterV3EmailToSubscribersMenuItem_post on Post { | |
id | |
creator { | |
id | |
newsletterV3 { | |
id | |
subscribersCount | |
__typename | |
} | |
__typename | |
} | |
isPublishToEmail | |
isNewsletter | |
__typename | |
} | |
fragment BookmarkButton_post on Post { | |
...SusiClickable_post | |
...WithSetReadingList_post | |
__typename | |
id | |
} | |
fragment WithSetReadingList_post on Post { | |
...ReadingList_post | |
__typename | |
id | |
} | |
fragment ReadingList_post on Post { | |
__typename | |
id | |
readingList | |
} | |
fragment PostScrollTracker_post on Post { | |
id | |
collection { | |
id | |
__typename | |
} | |
sequence { | |
sequenceId | |
__typename | |
} | |
__typename | |
} | |
fragment TruncatedPostCard_inResponseToPostPreview_postResult on PostResult { | |
...InResponseToPostPreview_postResult | |
__typename | |
} | |
fragment InResponseToPostPreview_postResult on PostResult { | |
__typename | |
... on Post { | |
id | |
title | |
mediumUrl | |
creator { | |
id | |
name | |
__typename | |
} | |
clapCount | |
responsesCount | |
__typename | |
} | |
} | |
fragment TruncatedPostCard_inResponseToPostPreview_mediaResource on Post { | |
...InResponseToPostPreview_mediaResource | |
__typename | |
id | |
} | |
fragment InResponseToPostPreview_mediaResource on Post { | |
inResponseToMediaResource { | |
mediumQuote { | |
...Quote_quote | |
__typename | |
id | |
} | |
__typename | |
id | |
} | |
__typename | |
id | |
} | |
fragment Quote_quote on Quote { | |
quoteId | |
userId | |
post { | |
id | |
title | |
mediumUrl | |
creator { | |
id | |
username | |
name | |
...userUrl_user | |
__typename | |
} | |
__typename | |
} | |
startOffset | |
endOffset | |
paragraphs { | |
text | |
type | |
markups { | |
anchorType | |
end | |
href | |
rel | |
start | |
title | |
type | |
userId | |
__typename | |
} | |
...TextParagraph_paragraph | |
__typename | |
} | |
...buildQuotePreviewParagraph_quote | |
__typename | |
id | |
} | |
fragment buildQuotePreviewParagraph_quote on Quote { | |
paragraphs { | |
id | |
text | |
type | |
markups { | |
end | |
start | |
type | |
__typename | |
} | |
__typename | |
} | |
startOffset | |
endOffset | |
__typename | |
id | |
} | |
fragment PublisherHomepagePosts_user on User { | |
id | |
showSubscribeToProfilePromo | |
__typename | |
} | |
fragment EntityDrivenSubscriptionCallToAction_creator on User { | |
__typename | |
id | |
name | |
isAllowEdsEnabled | |
} | |
fragment PublisherSidebar_user on User { | |
id | |
username | |
bio | |
name | |
imageId | |
__typename | |
} | |
fragment UserSubdomainFlow_user on User { | |
id | |
hasCompletedProfile | |
name | |
bio | |
imageId | |
...UserCompleteProfileDialog_user | |
...UserSubdomainOnboardingDialog_user | |
__typename | |
} | |
fragment UserCompleteProfileDialog_user on User { | |
id | |
name | |
bio | |
imageId | |
hasCompletedProfile | |
__typename | |
} | |
fragment UserSubdomainOnboardingDialog_user on User { | |
id | |
customDomainState { | |
pending { | |
status | |
__typename | |
} | |
live { | |
status | |
__typename | |
} | |
__typename | |
} | |
username | |
__typename | |
} | |
fragment UserProfileMetadata_user on User { | |
id | |
username | |
name | |
bio | |
imageId | |
twitterScreenName | |
userPostCounts { | |
publishedPosts | |
__typename | |
} | |
socialStats { | |
followerCount | |
followingCount | |
__typename | |
} | |
...UserProfileNav_user | |
...userUrl_user | |
__typename | |
} | |
fragment UserProfileNav_user on User { | |
id | |
navItems { | |
title | |
href: url | |
__typename | |
} | |
__typename | |
} | |
fragment customStyleSheetFontTheme_customStyleSheet on CustomStyleSheet { | |
id | |
global { | |
fonts { | |
font1 { | |
name | |
__typename | |
} | |
font2 { | |
name | |
__typename | |
} | |
font3 { | |
name | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
__typename | |
} | |
fragment SuspendedBannerLoader_user on User { | |
id | |
isSuspended | |
__typename | |
} |
Hey @lucaswxp! This will retrieve a whole lot of stuff.
If you take a look at https://github.com/yakkomajuri/medium-to-blog (particularly the code at index.js) it should give you a sense of how to "call" this!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@yakkomajuri How do I call that? Should that retrieve latest posts?