Skip to contents

This function retrieves the mutation operations available in the Meetup GraphQL API. Mutations are operations that modify data on the server (create, update, delete).

Usage

meetup_schema_mutations(schema = meetup_schema())

Arguments

schema

The schema object obtained from meetup_schema().

Value

A tibble with details about each mutation, including:

field_name

Name of the mutation

description

Human-readable description

args_count

Number of arguments the mutation accepts

return_type

The GraphQL type returned after mutation

If no mutations are available, returns a tibble with a message.

Examples

if (FALSE) { # \dontrun{
# List all available mutations
mutations <- meetup_schema_mutations()

# Check if mutations are supported
if (nrow(mutations) > 0 && !"message" %in% names(mutations)) {
  print(mutations$field_name)
}
} # }