← API reference
Query / apps

getSharedResource

Fetch a single catalog template's metadata by id. Returns null when no such template exists in the catalog. Requires sharedResource:read permission.

Arguments

TypeID of the catalog template to fetch ("srt_01K…").

Returns SharedResourceEnvelope

Scalar fields at a glance

resourceTypeSharedResourceType!
nameString!
handleString!
descriptionString
iconString
↗ View the complete SharedResourceEnvelope type

Explore in a view

App Authoring
View exact SDL
"""
Fetch a single catalog template's metadata by id. Returns null when no such template exists in the catalog. Requires sharedResource:read permission.
"""
getSharedResource(
  """TypeID of the catalog template to fetch ("srt_01K…")."""
  id: SharedResourceTemplateID!
): SharedResourceEnvelope @topic(names: ["apps"])

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