← API reference
Mutation / apps

upsertProtobufSchema

Create or update a protobuf schema. Requires protobufSchema:write permission.

Arguments

Schema data

Returns UpsertProtobufSchemaPayload!

Explore in a view

App Authoring
View exact SDL
"""
Create or update a protobuf schema. Requires protobufSchema:write permission.
"""
upsertProtobufSchema(
  """Schema data"""
  input: UpsertProtobufSchemaInput!
): UpsertProtobufSchemaPayload! @topic(names: ["apps"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.