stamphog

Read-only pull requests stamphog knows about, filterable by PR number and merge state.

get/api/projects/{project_id}/stamphog/pull_requests/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/stamphog/pull_requests/{id}/
  • Auth: HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

idstring uuid required
repositorystring required

Full name of the repository this pull request belongs to.

pr_numberinteger required

Pull request number on GitHub.

titlestring required

Pull request title, refreshed on every relevant webhook delivery.

author_loginstring required

GitHub login of the pull request author.

pr_urlstring required

Full URL to the pull request on GitHub.

head_branchstring required

Branch name of the PR head.

mergedboolean required

Whether this pull request has merged (merged_at is set).

merged_atstring date-time nullable required

When the pull request merged, null if it hasn't.

merge_commit_shastring required

Merge commit SHA, blank until the pull request merges.

additionsinteger required

Lines added, recorded when the pull request merges.

deletionsinteger required

Lines deleted, recorded when the pull request merges.

changed_filesinteger required

Files changed, recorded when the pull request merges.

created_atstring date-time required

When this pull request was first captured.

updated_atstring date-time required

When this pull request was last updated.

Changes

No recorded changes to this operation across all 1 revision of this API.