API Stability Long-Term

The createOrganizationsViews() GraphQL mutation is used to create a metric view, a usage view, and a log view for each organization. This is a root operation.

For more information on organization settings, see the Organization Settings documentation page. You may also want to look at the Creating a Repository or View page for related information.

Syntax

Below is the syntax for the createOrganizationsViews() mutation field:

graphql
createOrganizationsViews(
      includeDebugView: boolean, 
      specificOrganization: string
   ): boolean!

There are no specific datatypes used with this GraphQL mutation field and no input is required.

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  createOrganizationsViews(
         specificOrganization: "SINGLE_ORGANIZATION_ID"  )
}
Example Responses
Show:
json
{
  "data": {
    "createOrganizationsViews": true
  }
}