Accessing description of an Organization

schema-request

#1

There currently doesn’t seem to be a way to access an organization’s description using the GraphQL API. It’s available using the REST API as the description property, but nothing like that exists in the GraphQL documentation for the Organization object.


#2

In addition, there’s no way to access an organization’s public email, location, or website (blog as it’s called in API v3).


#3

:wave: @andrewda,

I’ve marked this post as a schema request and added it to our internal tracker. We’ll update you here when we have some more information to share.


#4

Awesome. Thanks a bunch!


#5

:wave: hi @andrewda!

This has been added to the schema:

{
  user(login: "andrewda") {
    organizations(first: 100) {
      edges {
        node {
          name
          description
          email
          websiteUrl
        }
      }
    }
  }
}

Returns:

{
  "data": {
    "user": {
      "organizations": {
        "edges": [
          {
            "node": {
              "name": "South Eugene Robotics Team #2521",
              "description": "The only FRC team in the Eugene/Springfield area.",
              "email": "hello@sert2521.org",
              "websiteUrl": "https://sert2521.org/"
            }
          },
          {
            "node": {
              "name": "github-beta",
              "description": null,
              "email": null,
              "websiteUrl": null
            }
          },
          {
            "node": {
              "name": "Scoutomic",
              "description": "A collection of FRC scouting utilities made by @SouthEugeneRoboticsTeam",
              "email": "",
              "websiteUrl": "https://scoutomic.github.io"
            }
          },
          {
            "node": {
              "name": "FIRST© Robotics Competition Discord Server",
              "description": "The official Github Organization for the FIRST© Robotics Competition Discord Server",
              "email": "",
              "websiteUrl": "https://www.firstinspires.org/"
            }
          },
          {
            "node": {
              "name": "SERT Smash",
              "description": "The SERT Smash hackathon",
              "email": "",
              "websiteUrl": "https://sert2521.org/hack"
            }
          },
          {
            "node": {
              "name": "Chaos",
              "description": "",
              "email": "",
              "websiteUrl": "chaosthebot.com"
            }
          },
          {
            "node": {
              "name": "GitPoint",
              "description": "An open source GitHub client for iOS and Android. Built with React Native :iphone:",
              "email": "",
              "websiteUrl": "https://gitpoint.co"
            }
          }
        ]
      }
    }
  }
}

As always, let us know if there is anything else you’d like to request!


#6

Perfect! Thanks for the quick additions!