Spaces locations get

Open in

Use the ably spaces locations get command to get all current locations in a space.

Synopsis

ably spaces locations get <space-name>

Arguments

space-name
Required

The name of the space to get locations for.

Options

--json

Output results as compact JSON. Mutually exclusive with --pretty-json.

--pretty-json

Output results in formatted JSON. Mutually exclusive with --json.

--verbose | -v

Enable verbose logging. Can be combined with --json or --pretty-json.

Examples

Get all current locations in a space:

ably spaces locations get my-space

Get locations in JSON format:

ably spaces locations get my-space --json

Get locations in formatted JSON output:

ably spaces locations get my-space --pretty-json

See also

  • Spaces — Explore all ably spaces commands.
  • CLI reference — Full list of available commands.