CINXE.COM
query
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="description" content="query GraphQL documentation"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <title>query</title> <link rel="stylesheet" href="/assets/style.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script> <script> // Add anchors on DOMContentLoaded document.addEventListener("DOMContentLoaded", function(event) { anchors.options = { placement: 'left', visible: 'hover', icon: '露' }; anchors.add('h2, h3, h4, h5, h6, .anchored'); }); </script> </head> <body> <div id="wrap"> <div id="header"> </div> <div id="sidebar"> <ul class="categories"> <li> <ul class="menu-root"> <li> <a href="/">GraphQL Reference</a> </ul> </li> <li> <p>Queries</p> <ul class="menu-root"> <li> <a href="/operation/query/" class="sidebar-link"> Query </a> </li> <li> <a href="/operation/mutation/" class="sidebar-link"> Mutation </a> </li> </ul> </li> <li> <p><a href="/object">Objects</a></p> <ul class="menu-root"> <li> <a href="/object/collection/" class="sidebar-link"> Collection </a> </li> <li> <a href="/object/collectionconnection/" class="sidebar-link"> CollectionConnection </a> </li> <li> <a href="/object/collectionedge/" class="sidebar-link"> CollectionEdge </a> </li> <li> <a href="/object/comment/" class="sidebar-link"> Comment </a> </li> <li> <a href="/object/commentconnection/" class="sidebar-link"> CommentConnection </a> </li> <li> <a href="/object/commentedge/" class="sidebar-link"> CommentEdge </a> </li> <li> <a href="/object/error/" class="sidebar-link"> Error </a> </li> <li> <a href="/object/goal/" class="sidebar-link"> Goal </a> </li> <li> <a href="/object/goalcheerpayload/" class="sidebar-link"> GoalCheerPayload </a> </li> <li> <a href="/object/goalcheerundopayload/" class="sidebar-link"> GoalCheerUndoPayload </a> </li> <li> <a href="/object/goalconnection/" class="sidebar-link"> GoalConnection </a> </li> <li> <a href="/object/goalcreatepayload/" class="sidebar-link"> GoalCreatePayload </a> </li> <li> <a href="/object/goaledge/" class="sidebar-link"> GoalEdge </a> </li> <li> <a href="/object/goalmarkascompletepayload/" class="sidebar-link"> GoalMarkAsCompletePayload </a> </li> <li> <a href="/object/goalmarkasincompletepayload/" class="sidebar-link"> GoalMarkAsIncompletePayload </a> </li> <li> <a href="/object/goalupdatepayload/" class="sidebar-link"> GoalUpdatePayload </a> </li> <li> <a href="/object/makergroup/" class="sidebar-link"> MakerGroup </a> </li> <li> <a href="/object/makergroupconnection/" class="sidebar-link"> MakerGroupConnection </a> </li> <li> <a href="/object/makergroupedge/" class="sidebar-link"> MakerGroupEdge </a> </li> <li> <a href="/object/makerproject/" class="sidebar-link"> MakerProject </a> </li> <li> <a href="/object/makerprojectconnection/" class="sidebar-link"> MakerProjectConnection </a> </li> <li> <a href="/object/makerprojectedge/" class="sidebar-link"> MakerProjectEdge </a> </li> <li> <a href="/object/media/" class="sidebar-link"> Media </a> </li> <li> <a href="/object/pageinfo/" class="sidebar-link"> PageInfo </a> </li> <li> <a href="/object/post/" class="sidebar-link"> Post </a> </li> <li> <a href="/object/postconnection/" class="sidebar-link"> PostConnection </a> </li> <li> <a href="/object/postedge/" class="sidebar-link"> PostEdge </a> </li> <li> <a href="/object/productlink/" class="sidebar-link"> ProductLink </a> </li> <li> <a href="/object/topic/" class="sidebar-link"> Topic </a> </li> <li> <a href="/object/topicconnection/" class="sidebar-link"> TopicConnection </a> </li> <li> <a href="/object/topicedge/" class="sidebar-link"> TopicEdge </a> </li> <li> <a href="/object/user/" class="sidebar-link"> User </a> </li> <li> <a href="/object/userconnection/" class="sidebar-link"> UserConnection </a> </li> <li> <a href="/object/useredge/" class="sidebar-link"> UserEdge </a> </li> <li> <a href="/object/userfollowpayload/" class="sidebar-link"> UserFollowPayload </a> </li> <li> <a href="/object/userfollowundopayload/" class="sidebar-link"> UserFollowUndoPayload </a> </li> <li> <a href="/object/viewer/" class="sidebar-link"> Viewer </a> </li> <li> <a href="/object/vote/" class="sidebar-link"> Vote </a> </li> <li> <a href="/object/voteconnection/" class="sidebar-link"> VoteConnection </a> </li> <li> <a href="/object/voteedge/" class="sidebar-link"> VoteEdge </a> </li> <li> <a href="/object/__directive/" class="sidebar-link"> __Directive </a> </li> <li> <a href="/object/__enumvalue/" class="sidebar-link"> __EnumValue </a> </li> <li> <a href="/object/__field/" class="sidebar-link"> __Field </a> </li> <li> <a href="/object/__inputvalue/" class="sidebar-link"> __InputValue </a> </li> <li> <a href="/object/__schema/" class="sidebar-link"> __Schema </a> </li> <li> <a href="/object/__type/" class="sidebar-link"> __Type </a> </li> </ul> </li> <li> <p><a href="/operation/mutation">Mutations</a></p> <ul class="menu-root"> <li> <a href="/mutation/goalcheer/" class="sidebar-link"> goalCheer </a> </li> <li> <a href="/mutation/goalcheerundo/" class="sidebar-link"> goalCheerUndo </a> </li> <li> <a href="/mutation/goalcreate/" class="sidebar-link"> goalCreate </a> </li> <li> <a href="/mutation/goalmarkascomplete/" class="sidebar-link"> goalMarkAsComplete </a> </li> <li> <a href="/mutation/goalmarkasincomplete/" class="sidebar-link"> goalMarkAsIncomplete </a> </li> <li> <a href="/mutation/goalupdate/" class="sidebar-link"> goalUpdate </a> </li> <li> <a href="/mutation/userfollow/" class="sidebar-link"> userFollow </a> </li> <li> <a href="/mutation/userfollowundo/" class="sidebar-link"> userFollowUndo </a> </li> </ul> </li> <li> <p><a href="/interface">Interfaces</a></p> <ul class="menu-root"> <li> <a href="/interface/topicableinterface/" class="sidebar-link"> TopicableInterface </a> </li> <li> <a href="/interface/votableinterface/" class="sidebar-link"> VotableInterface </a> </li> </ul> </li> <li> <p><a href="/enum">Enums</a></p> <ul class="menu-root"> <li> <a href="/enum/collectionsorder/" class="sidebar-link"> CollectionsOrder </a> </li> <li> <a href="/enum/commentsorder/" class="sidebar-link"> CommentsOrder </a> </li> <li> <a href="/enum/goalsorder/" class="sidebar-link"> GoalsOrder </a> </li> <li> <a href="/enum/makergroupsorder/" class="sidebar-link"> MakerGroupsOrder </a> </li> <li> <a href="/enum/postsorder/" class="sidebar-link"> PostsOrder </a> </li> <li> <a href="/enum/topicsorder/" class="sidebar-link"> TopicsOrder </a> </li> <li> <a href="/enum/__directivelocation/" class="sidebar-link"> __DirectiveLocation </a> </li> <li> <a href="/enum/__typekind/" class="sidebar-link"> __TypeKind </a> </li> </ul> </li> <li> <p><a href="/union">Unions</a></p> <ul class="menu-root"> </ul> </li> <li> <p><a href="/input_object">Input Objects</a></p> <ul class="menu-root"> <li> <a href="/input_object/goalcheerinput/" class="sidebar-link"> GoalCheerInput </a> </li> <li> <a href="/input_object/goalcheerundoinput/" class="sidebar-link"> GoalCheerUndoInput </a> </li> <li> <a href="/input_object/goalcreateinput/" class="sidebar-link"> GoalCreateInput </a> </li> <li> <a href="/input_object/goalmarkascompleteinput/" class="sidebar-link"> GoalMarkAsCompleteInput </a> </li> <li> <a href="/input_object/goalmarkasincompleteinput/" class="sidebar-link"> GoalMarkAsIncompleteInput </a> </li> <li> <a href="/input_object/goalupdateinput/" class="sidebar-link"> GoalUpdateInput </a> </li> <li> <a href="/input_object/userfollowinput/" class="sidebar-link"> UserFollowInput </a> </li> <li> <a href="/input_object/userfollowundoinput/" class="sidebar-link"> UserFollowUndoInput </a> </li> </ul> </li> <li> <p><a href="/scalar">Scalars</a></p> <ul class="menu-root"> <li> <a href="/scalar/boolean/" class="sidebar-link"> Boolean </a> </li> <li> <a href="/scalar/datetime/" class="sidebar-link"> DateTime </a> </li> <li> <a href="/scalar/float/" class="sidebar-link"> Float </a> </li> <li> <a href="/scalar/id/" class="sidebar-link"> ID </a> </li> <li> <a href="/scalar/int/" class="sidebar-link"> Int </a> </li> <li> <a href="/scalar/string/" class="sidebar-link"> String </a> </li> </ul> </li> <li> <p><a href="/directive">Directives</a></p> <ul class="menu-root"> <li> <a href="/directive/deprecated/" class="sidebar-link"> deprecated </a> </li> <li> <a href="/directive/include/" class="sidebar-link"> include </a> </li> <li> <a href="/directive/skip/" class="sidebar-link"> skip </a> </li> </ul> </li> </ul> </div> <div id="content"> <h1> <a id="query" class="anchor" href="#query" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Query</h1> <p>Every GraphQL schema has a root type for both queries and mutations. The <a href="https://facebook.github.io/graphql/#sec-Type-System">query type</a> defines GraphQL operations that retrieve data from the server.</p> <h2> <a id="connections" class="anchor" href="#connections" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Connections</h2> <div class="field-entry "> <span id="collections" class="field-name connection-name anchored">collections (<code><a href="/object/collectionconnection">CollectionConnection!</a></code>)</span> <div class="description-wrapper"> <p>Look up Collections by various parameters.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">after</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come after the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">before</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come before the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">featured</code></td> <td> <code><a href="/scalar/boolean">Boolean</a></code> </td> <td> <p>Select Collections that have been featured or not featured depending on given value.</p> </td> </tr> <tr> <td><code class="anchored">first</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the first <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">last</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the last <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">order</code></td> <td> <code><a href="/enum/collectionsorder">CollectionsOrder</a></code> </td> <td> <p>Define order for the Collections.</p> <p>The default value is <code>FOLLOWERS_COUNT</code>.</p> </td> </tr> <tr> <td><code class="anchored">postId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Collections that have the Post with the given ID.</p> </td> </tr> <tr> <td><code class="anchored">userId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Collections that are created by User with the given ID.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="goals" class="field-name connection-name anchored">goals (<code><a href="/object/goalconnection">GoalConnection!</a></code>)</span> <div class="description-wrapper"> <p>Look up Goals by various parameters.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">after</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come after the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">before</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come before the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">completed</code></td> <td> <code><a href="/scalar/boolean">Boolean</a></code> </td> <td> <p>Select Goals that have been completed or not completed depending on given value.</p> </td> </tr> <tr> <td><code class="anchored">first</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the first <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">last</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the last <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">makerGroupId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Goals that are created in the MakerGroup(Space) with given ID.</p> </td> </tr> <tr> <td><code class="anchored">makerProjectId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Goals that are created in the MakerProject with given ID.</p> </td> </tr> <tr> <td><code class="anchored">order</code></td> <td> <code><a href="/enum/goalsorder">GoalsOrder</a></code> </td> <td> <p>Define order for the Goals.</p> <p>The default value is <code>NEWEST</code>.</p> </td> </tr> <tr> <td><code class="anchored">userId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Goals that are created by User with the given ID.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="makergroups" class="field-name connection-name anchored">makerGroups (<code><a href="/object/makergroupconnection">MakerGroupConnection!</a></code>)</span> <div class="description-wrapper"> <p>Look up MakerGroups by various parameters.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">after</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come after the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">before</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come before the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">first</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the first <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">last</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the last <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">order</code></td> <td> <code><a href="/enum/makergroupsorder">MakerGroupsOrder</a></code> </td> <td> <p>Define order for the MakerGroups.</p> <p>The default value is <code>NEWEST</code>.</p> </td> </tr> <tr> <td><code class="anchored">userId</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select MakerGroups that the User with the given ID is accepted member of.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="posts" class="field-name connection-name anchored">posts (<code><a href="/object/postconnection">PostConnection!</a></code>)</span> <div class="description-wrapper"> <p>Look up Posts by various parameters.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">after</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come after the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">before</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come before the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">featured</code></td> <td> <code><a href="/scalar/boolean">Boolean</a></code> </td> <td> <p>Select Posts that have been featured or not featured depending on given value.</p> </td> </tr> <tr> <td><code class="anchored">first</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the first <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">last</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the last <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">order</code></td> <td> <code><a href="/enum/postsorder">PostsOrder</a></code> </td> <td> <p>Define order for the Posts.</p> <p>The default value is <code>RANKING</code>.</p> </td> </tr> <tr> <td><code class="anchored">postedAfter</code></td> <td> <code><a href="/scalar/datetime">DateTime</a></code> </td> <td> <p>Select Posts which were posted after the given date and time.</p> </td> </tr> <tr> <td><code class="anchored">postedBefore</code></td> <td> <code><a href="/scalar/datetime">DateTime</a></code> </td> <td> <p>Select Posts which were posted before the given date and time.</p> </td> </tr> <tr> <td><code class="anchored">topic</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Select Posts that have the given slug as one of their topics.</p> </td> </tr> <tr> <td><code class="anchored">twitterUrl</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Select Posts that have the given twitter url.</p> </td> </tr> <tr> <td><code class="anchored">url</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Select Posts that have the given url.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="topics" class="field-name connection-name anchored">topics (<code><a href="/object/topicconnection">TopicConnection!</a></code>)</span> <div class="description-wrapper"> <p>Look up Topics by various parameters.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">after</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come after the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">before</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Returns the elements in the list that come before the specified cursor.</p> </td> </tr> <tr> <td><code class="anchored">first</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the first <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">followedByUserid</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>Select Topics that are followed by User with the given ID.</p> </td> </tr> <tr> <td><code class="anchored">last</code></td> <td> <code><a href="/scalar/int">Int</a></code> </td> <td> <p>Returns the last <em>n</em> elements from the list.</p> </td> </tr> <tr> <td><code class="anchored">order</code></td> <td> <code><a href="/enum/topicsorder">TopicsOrder</a></code> </td> <td> <p>Define order for the Topics.</p> <p>The default value is <code>NEWEST</code>.</p> </td> </tr> <tr> <td><code class="anchored">query</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Select Topics whose name or aliases match the given string</p> </td> </tr> </tbody> </table> </div> </div> <h2> <a id="fields" class="anchor" href="#fields" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Fields</h2> <div class="field-entry "> <span id="collection" class="field-name anchored">collection (<code><a href="/object/collection">Collection</a></code>)</span> <div class="description-wrapper"> <p>Look up a Collection(only published).</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> <tr> <td><code class="anchored">slug</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>URL friendly slug for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="comment" class="field-name anchored">comment (<code><a href="/object/comment">Comment</a></code>)</span> <div class="description-wrapper"> <p>Look up a Comment.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID!</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="goal" class="field-name anchored">goal (<code><a href="/object/goal">Goal</a></code>)</span> <div class="description-wrapper"> <p>Look up a Goal.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID!</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="makergroup" class="field-name anchored">makerGroup (<code><a href="/object/makergroup">MakerGroup</a></code>)</span> <div class="description-wrapper"> <p>Look up a MakerGroup.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID!</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="post" class="field-name anchored">post (<code><a href="/object/post">Post</a></code>)</span> <div class="description-wrapper"> <p>Look up a Post.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> <tr> <td><code class="anchored">slug</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>URL friendly slug for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="topic" class="field-name anchored">topic (<code><a href="/object/topic">Topic</a></code>)</span> <div class="description-wrapper"> <p>Look up a Topic.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>ID for the object.</p> </td> </tr> <tr> <td><code class="anchored">slug</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>URL friendly slug for the object.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="user" class="field-name anchored">user (<code><a href="/object/user">User</a></code>)</span> <div class="description-wrapper"> <p>Look up a User.</p> <table class="arguments"> <thead> <tr> <th>Argument</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code class="anchored">id</code></td> <td> <code><a href="/scalar/id">ID</a></code> </td> <td> <p>ID for the user.</p> </td> </tr> <tr> <td><code class="anchored">username</code></td> <td> <code><a href="/scalar/string">String</a></code> </td> <td> <p>Username for the user.</p> </td> </tr> </tbody> </table> </div> </div> <div class="field-entry "> <span id="viewer" class="field-name anchored">viewer (<code><a href="/object/viewer">Viewer</a></code>)</span> <div class="description-wrapper"> <p>Top level scope for currently authenticated user. Includes <code>goals</code>, <code>makerGroups</code>, <code>makerProjects</code> & <code>user</code> fields.</p> </div> </div> </div> <!-- mobile only --> <div id="mobile-header"> <a class="menu-button" onclick="document.body.classList.toggle('sidebar-open')"></a> <a class="logo" href="/"> </a> </div> <div id="mobile-shade"></div> </div> </body> </html>