Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 1.43 KB

V1_get_spaces.md

File metadata and controls

35 lines (33 loc) · 1.43 KB
copyright link is
Copyright IBM Corp. 2017
get-a-list-of-spaces
published

Get a list of spaces

If you need info for more than one space work smarter, not harder. You can get information on a list of spaces with the getSpaces GraphQL query.

query getSpaces {
  spaces(first: 50) {
    items {
      id
      title
      description
      membersUpdated
      members {
        items {
          email
          displayName
        }
      }
      conversation{
        messages{
          items {
            content
          }
        }
      }
    }
  }
}

See it in action with our GraphQL tool and get a list of spaces. Try it now