← API reference
Mutation / apps

createProtobufSchema

Create a new protobuf schema. Requires protobufSchema:write permission.

Arguments

Schema data

Returns UpsertProtobufSchemaPayload!

Explore in a view

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

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