get-team-activity

List the current activity of all active team members

Auth

Authenticated

Examples

ghit-cli get-team-activity ghit
ghit-cli get-team-activity ghit --sort activity_updated_at
ghit-cli get-team-activity ghit --page 2 --per-page 10

Expected Response

Prints a paginated JSON object with a results array of team member activities. Each entry contains user_uuid, user_username, user_name, activity, and activity_updated_at.

Errors

  • 400 Bad Request for invalid sort values.
  • 403 Forbidden when the authenticated user is not a member of the team.
  • 404 Not Found when the team does not exist.

Common auth errors are documented on the CLI overview page.

Help Output

Get team member activity.

Lists the current activity of all active team members. Sorted by
most recently active by default.

Examples:

  get-team-activity ghit
  get-team-activity ghit --sort activity_updated_at
  get-team-activity ghit --page 2 --per-page 10

Usage: ghit-cli get-team-activity [OPTIONS] <TEAM_SLUG>

Arguments:
  <TEAM_SLUG>  Team slug

Options:
      --sort <SORT>          Sort by one of: activity_updated_at, -activity_updated_at
      --page <PAGE>          Page number (1-based)
      --per-page <PER_PAGE>  Results per page
  -h, --help                 Print help (see a summary with '-h')