Post
A post.
Implements
Connections
collections (
CollectionConnection!)
Lookup collections which the Post is part of.
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first _n_ elements from the list. |
last |
Int
|
Returns the last _n_ elements from the list. |
comments (
CommentConnection!)
Lookup comments on the Post.
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first _n_ elements from the list. |
last |
Int
|
Returns the last _n_ elements from the list. |
order |
CommentsOrder
|
Define order for the Comments.
The default value is |
topics (
TopicConnection!)
Look up topics that are associated with the object.
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first _n_ elements from the list. |
last |
Int
|
Returns the last _n_ elements from the list. |
votes (
VoteConnection!)
| Argument | Type | Description |
|---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
createdAfter |
DateTime
|
Select Votes which were created after the given date and time. |
createdBefore |
DateTime
|
Select Votes which were created before the given date and time. |
first |
Int
|
Returns the first _n_ elements from the list. |
last |
Int
|
Returns the last _n_ elements from the list. |
Fields
commentsCount (
Int!)
Number of comments made on the Post.
createdAt (
DateTime!)
Identifies the date and time when the Post was created.
dailyRank (
Int)
Daily rank of the Post.
description (
String)
Description of the Post in plain text.
featuredAt (
DateTime)
Identifies the date and time when the Post was featured.
id (
ID!)
ID of the Post.
isCollected (
Boolean!)
Whether the viewer has added the Post to one of their collections.
isVoted (
Boolean!)
Whether the Viewer has voted for the object or not.
makers (
[User!]!)
Users who are marked as makers of the Post.
media (
[Media!]!)
Media items for the Post.
monthlyRank (
Int)
Monthly rank of the Post.
name (
String!)
Name of the Post.
productLinks (
[ProductLink!]!)
Additional product links
reviewsCount (
Int!)
Count of review for the Post
reviewsRating (
Float!)
Aggregate review rating for the Post.
scheduledAt (
DateTime)
Identifies the date and time when the Post was scheduled.
slug (
String!)
URL friendly slug of the Post.
tagline (
String!)
Tagline of the Post.
thumbnail (
Media)
Thumbnail media object of the Post.
url (
String!)
URL of the Post on Product Hunt.
user (
User!)
User who created the Post.
userId (
ID!)
ID of User who created the Post.
votesCount (
Int!)
Number of votes that the object has currently.
website (
String!)
URL that redirects to the Post's website.
weeklyRank (
Int)
Weekly rank of the Post.
yearlyRank (
Int)
Yearly rank of the Post.