Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 660 Bytes

File metadata and controls

38 lines (30 loc) · 660 Bytes
copyright Copyright IBM Corp. 2018
link my-space-templates
is beta

Get My Space Templates

Using the mySpaceTemplates query, a user can fetch a collection of the space templates that they have created.

Schema

Fetch My Space Templates

type QueryRoot {
  ...
  mySpaceTemplates: SpaceTemplateCollection!
}

Example request

Method: POST
URL: https://api.watsonwork.ibm.com/graphql
Headers: 'Content-Type: application/graphql' , 'x-graphql-view: PUBLIC, BETA'
Body:
{
  mySpaceTemplates {
    items {
      id
    }
  }
}

For more information see Space Templates