Get module spec
Get the OpenAPI specification for a Cloud Code module.
Read time 1 minuteLast updated 4 days ago
Get the OpenAPI specification for a Cloud Code module.
Command
Authentication Required:
Yesugs cloud-code modules get-spec <module-name> [options]
Arguments
<module-name>Options
Alias | Description | |
|---|---|---|
| project-id | -p, --project-id | The Unity cloud project ID. |
| environment | -e, --environment-name | The services environment name. |
| version | --version | Which version to describe: |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |
Describing a specific version
Without , the live version's specification is returned. Supply a version number, as
listed by , to describe an older version instead:
--versionmodules get --versionsugs cloud-code modules get-spec MyModule --version 1788856057800102
Supplying a version requires module versions to be enabled for the project.