文档

Unity Gaming Services CLI


GitHub Repository

Unity Gaming Services CLI


Get module

Get metadata about a Cloud Code module.
阅读时间1 分钟最后更新于 4 天前

Get metadata about a Cloud Code module.

Command

Authentication Required:
Yes
ugs cloud-code modules get <module-name> [options]

Arguments

<module-name>
Name of the target module

Options

Alias

Description

project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
versions--versionsAlso list the module's retained versions.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.

Versions

With
--versions
, the response also lists the module's retained versions, newest first:
versions: - version: 1788856057800102 isLive: true dateCreated: 2026-09-08T11:47:37 tags: tier: a - version: 1788855912340871 isLive: false dateCreated: 2026-09-05T16:22:10
Exactly one version has
isLive: true
. The per-version signed download URL and endpoint list are not shown: the module-level signed URL is already in the response, and get-spec returns a chosen version's endpoints in full.
If the
versions
key is absent even with the flag supplied, module versions are not enabled for the project.