branches

The branches command allows you to list the branches associated with a Structurizr server workspace.

Options

  • -id <id>: The workspace ID (required).
  • -key <API key>: The workspace or admin API key (required if authentication is enabled on the server).
  • -url <url>: The Structurizr API URL (required).
  • -json: JSON output (optional).

Example

To list all branches for a Structurizr workspace:

branches -url https://structurizr.example.com/api -id 1234 -key 1234567890