OBJECT

Mutation

link GraphQL Schema definition

  • type Mutation {
  • # Creates a metric budget for a site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # attributes: Attributes of the metric budget to be created
  • createMetricBudget(
  • organisation: String,
  • site: String,
  • attributes: MetricBudgetInput
  • ): MetricBudget
  • # Creates a page for a site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # attributes: Attributes of the page to be created
  • createPage(organisation: String, site: String, attributes: PageInput): Page
  • # Create a site to be tracked by Calibre
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # attributes: [Not documented]
  • createSite(organisation: String, attributes: SiteInput!): Site
  • # Creates a snapshot
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # ref: A reference for this snapshot
  • createSnapshot(organisation: String, site: String!, ref: String): Snapshot
  • # Create a single page test
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # url: The public URL to run the test against
  • # location: The location to run the test from
  • # device: The emulated device to run the test
  • # connection: The emulated connection speed for the test
  • # cookies: A netscape formatted cookie jar
  • # headers: Headers to use when making the request
  • createTest(
  • organisation: String,
  • url: URL!,
  • location: LocationTag!,
  • device: DeviceTag,
  • connection: ConnectionTag,
  • cookies: [CookieInput!],
  • headers: [HeaderInput!]
  • ): SinglePageTest
  • # Creates a test profile for a site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # attributes: Attributes of the test profile to be created
  • createTestProfile(
  • organisation: String,
  • site: String!,
  • attributes: TestProfileInput!
  • ): TestProfile
  • # Deletes a member for a given organisation
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # uuid: The uuid of the member
  • deleteMember(organisation: String, uuid: String!): Membership
  • # Deletes a metric budget
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The `uuid` of the metric budget
  • deleteMetricBudget(
  • organisation: String,
  • site: String!,
  • uuid: String!
  • ): MetricBudget
  • # Deletes an organisation
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • deleteOrganisation(organisation: String): Organisation
  • # Deletes a page for a given site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The uuid of the page
  • deletePage(organisation: String, site: String!, uuid: String!): Page
  • # Deletes a site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • deleteSite(organisation: String, site: String!): Site
  • # Deletes a snapshot
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # iid: The `iid` of the snapshot
  • deleteSnapshot(organisation: String, site: String!, iid: String!): Snapshot
  • # Deletes a test profile for a given site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The uuid of the test profile
  • deleteTestProfile(
  • organisation: String,
  • site: String!,
  • uuid: String!
  • ): TestProfile
  • # Sends an invite to a member for a given organisation
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # uuid: The uuid of the member
  • sendMemberInvite(organisation: String, uuid: String!): Membership
  • # Toggles a user’s subscription status to the events of a site
  • #
  • # Arguments
  • # site: The `slug` of the site
  • siteEventSubscriptionToggle(site: String!): [Site!]
  • # Updates the agent test settings for a site
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # attributes: Attributes of the agent settings to be updated
  • updateAgentSettings(
  • organisation: String,
  • site: String!,
  • attributes: AgentSettingsInput!
  • ): Site
  • # Updates a member for a given organisation
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # uuid: The uuid of the member
  • # attributes: Attributes of the member to be updated
  • updateMember(
  • organisation: String,
  • uuid: String!,
  • attributes: MemberInput!
  • ): Membership
  • # Updates a metric budget
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The `uuid` of the metric budget
  • # attributes: Attributes of the metric budget to be updated
  • updateMetricBudget(
  • organisation: String,
  • site: String!,
  • uuid: String!,
  • attributes: MetricBudgetInput
  • ): MetricBudget
  • # Updates an existing page
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The uuid of the page
  • # attributes: Attributes of the page to be updated
  • updatePage(
  • organisation: String,
  • site: String!,
  • uuid: String!,
  • attributes: PageInput!
  • ): Page
  • # Updates an existing test profile
  • #
  • # Arguments
  • # organisation: The `slug` of the organisation
  • # site: The `slug` of the site
  • # uuid: The uuid of the test profile
  • # attributes: Attributes of the test profile to be updated
  • updateTestProfile(
  • organisation: String,
  • site: String!,
  • uuid: String!,
  • attributes: TestProfileInput!
  • ): TestProfile
  • }

link Require by

This element is not required by anyone