get-thread-tree

Get a thread and its replies

Auth

Authenticated Owner Scope

Example

pearing-cli get-thread-tree website 42

Expected Response

Prints a JSON object containing the thread and all its replies.

Errors

  • 404 Not Found when the referenced resource does not exist.
  • 403 Forbidden when owner/repo access checks fail.

Common auth errors are documented on the CLI overview page.

Help Output

Get a thread and its replies.

Usage: pearing-cli get-thread-tree <REPO> <NUMBER>

Arguments:
  <REPO>    Repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
  <NUMBER>  Thread number

Options:
  -h, --help  Print help