{% extends "docs/base.html" %} {% block docs_content %}

get-thread

Get a thread by number

Auth

Authenticated Owner Scope

Example

pearing-cli get-thread website 42

Expected Response

Prints a single JSON object from the API.

Errors

Common auth errors are documented on the CLI overview page.

Help Output

Get a thread by number.

Usage: pearing-cli get-thread <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
{% endblock %}