Query
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
Connections
CollectionConnection!
)
Look up Collections by various parameters.
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. |
featured |
Boolean
|
Select Collections that have been featured or not featured depending on given value. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
CollectionsOrder
|
Define order for the Collections. The default value is |
postId |
ID
|
Select Collections that have the Post with the given ID. |
userId |
ID
|
Select Collections that are created by User with the given ID. |
GoalConnection!
)
Look up Goals by various parameters.
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. |
completed |
Boolean
|
Select Goals that have been completed or not completed depending on given value. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
makerGroupId |
ID
|
Select Goals that are created in the MakerGroup(Space) with given ID. |
makerProjectId |
ID
|
Select Goals that are created in the MakerProject with given ID. |
order |
GoalsOrder
|
Define order for the Goals. The default value is |
userId |
ID
|
Select Goals that are created by User with the given ID. |
MakerGroupConnection!
)
Look up MakerGroups by various parameters.
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 |
MakerGroupsOrder
|
Define order for the MakerGroups. The default value is |
userId |
ID
|
Select MakerGroups that the User with the given ID is accepted member of. |
PostConnection!
)
Look up Posts by various parameters.
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. |
featured |
Boolean
|
Select Posts that have been featured or not featured depending on given value. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
order |
PostsOrder
|
Define order for the Posts. The default value is |
postedAfter |
DateTime
|
Select Posts which were posted after the given date and time. |
postedBefore |
DateTime
|
Select Posts which were posted before the given date and time. |
topic |
String
|
Select Posts that have the given slug as one of their topics. |
twitterUrl |
String
|
Select Posts that have the given twitter url. |
url |
String
|
Select Posts that have the given url. |
TopicConnection!
)
Look up Topics by various parameters.
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. |
followedByUserid |
ID
|
Select Topics that are followed by User with the given ID. |
last |
Int
|
Returns the last n elements from the list. |
order |
TopicsOrder
|
Define order for the Topics. The default value is |
query |
String
|
Select Topics whose name or aliases match the given string |
Fields
Collection
)
MakerGroup
)
Look up a MakerGroup.
Argument | Type | Description |
---|---|---|
id |
ID!
|
ID for the object. |
Post
)
Topic
)
User
)
Viewer
)
Top level scope for currently authenticated user. Includes goals
, makerGroups
, makerProjects
& user
fields.