mutation SubscribeFeed($subscribeInput: SubscribeFeedInput!) {
subscribeFeed(input: $subscribeInput) {
__typename
... on SubscribeFeedSuccess {
feed {
...Feed
}
status {
code
}
}
... on SubscribeFeedError {
status {
code
}
message
}
}
}
mutation UnsubscribeFeed($unsubscribeInput: UnsubscribeFeedInput!) {
unsubscribeFeed(input: $unsubscribeInput) {
__typename
... on UnsubscribeFeedSuccess {
status {
code
}
}
... on UnsubscribeFeedError {
status {
code
}
}
}
}
fragment Feed on Feed {
id
type
title
url
updated
websiteUrl
description
generator
requirement
category
entries(first: 20) {
nodes {
...EntryMeta
}
}
links {
nodes {
...Link
}
}
authors {
nodes
}
}
fragment EntryMeta on Entry {
title
published
updated
summary
}
fragment Link on Link {
href
rel
mediaType
title
}