getSharedResource

Topics: Apps

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

Returns

SharedResourceEnvelope

Arguments

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

Exact field 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"])

Declared on Query. Access is checked by the platform for each operation.