Skip to content

Latest commit

 

History

History
75 lines (58 loc) · 2.03 KB

File metadata and controls

75 lines (58 loc) · 2.03 KB
copyright Copyright IBM Corp. 2018
link update-meeting-settings
is experimental

Update a meeting

Concepts

The updateMeetingSettings mutation allows the API caller to configure options on the meeting. The mutation accepts a Space ID (spaceId), and an allowPublic boolean as arguments, and makes the request on behalf of the caller, updating the meeting within the specified space. The result will reflect the whether the call was accepted for processing by the service.

Schema

Update Meeting Settings Mutation

type MutationRoot {
  ...
  updateMeetingSettings(input: UpdateMeetingSettingsInput!): MeetingSettingsMutationOutput
}

type UpdateMeetingSettingsInput {
  spaceId: ID!
  allowPublic: Boolean!
}

type MeetingSettingsMutationOutput {
  accepted: Boolean!
}

Field definitions

UpdateMeetingSettingsInput

|Name|Description|Schema| |---|---|---|---| |spaceId|Space ID of the space for which the meeting should be updated|String
required| |allowPublic|Whether or not non-space members can join meetings started in the space|Boolean
required|

MeetingSettingsMutationOutput

|Name|Description|Schema| |---|---|---|---| |accepted|Whether the request to update the meeting was accepted for processing|Boolean
required|

Example Request

Method: POST
URL: https://api.watsonwork.ibm.com/graphql
Headers: 'Content-Type: application/graphql' , 'x-graphql-view: PUBLIC, EXPERIMENTAL'
Body:
{
  mutation {
    updateMeetingSettings(input: {spaceId : "5ad0fabfe4b078066d690a24", allowPublic: true}) {
      accepted
    }
  }
}

Example Result

{
  "data": {
    "updateMeetingSettings": {
      "accepted": "true"
    }
  }
}

Try it out with our GraphQL tool - Update meeting settings