Learn R Programming

meetupr (version 0.3.1)

meetupr_schema_mutations: Explore available mutations in the Meetup GraphQL API

Description

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

meetupr_schema_mutations(schema = meetupr_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.

Arguments

schema

The schema object obtained from meetupr_schema().

Examples

Run this code
if (FALSE) {
# List all available mutations
mutations <- meetupr_schema_mutations()

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

Run the code above in your browser using DataLab