How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Pullreq API

The pullreq API from Harness — 40 operation(s) for pullreq.

Harness Pullreq API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include pullreq. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 52 operations across 40 paths, and defines 103 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

52 operations 40 paths 103 schemas 9 DELETE19 GET2 PATCH15 POST7 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Harness Pullreq API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (x-api-key). By default, every request must be authenticated.

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 52

Across 40 paths, the API surfaces 52 operations — 9 DELETE, 19 GET, 2 PATCH, 15 POST, 7 PUT. Each is listed below with its method, path, parameters, and response codes.

pullreq 52
GET
/code/api/v1/pullreq
List pull requests in account/org/project
listPullReqSpace 25 params → 200400401403500
GET
/code/api/v1/pullreq/count
Count pull requests in account/org/project
countPullReqSpace 21 params → 200400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq
List pull requests
listPullReq 29 params → 200400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq
Create pull request
createPullReq 4 params body → 201400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}
Get pull request
getPullReq 5 params → 200400401403500
PATCH
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}
Update pull request
updatePullReq 5 params body → 200400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/activities
List activities
listPullReqActivities 10 params → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/automerge
Disable the auto-merge option for the pull request
prAutoMergeDisable 5 params → 204400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/automerge
Get the auto-merge option for the pull request
prAutoMergeGet 5 params → 200400401403500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/automerge
Enable the auto-merge option for the pull request
prAutoMergeEnable 5 params body → 200400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/branch
Restore source branch
restorePullReqSourceBranch 5 params body → 201400401403409422500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/checks
Get status checks
checksPullReq 5 params → 200401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/codeowners
Get code owners
codeownersPullReq 5 params → 200400401403404422500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments
Create new pull request comment
commentCreatePullReq 5 params body → 201400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}
Delete pull request comment
commentDeletePullReq 6 params → 204400401403500
PATCH
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}
Update pull request comment
commentUpdatePullReq 6 params body → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}/reactions/{pullreq_reaction_emoji}
Remove emoji reaction from pull request comment
commentReactionDeletePullReq 4 params → 204400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}/reactions/{pullreq_reaction_emoji}
Add emoji reaction to pull request comment
commentReactionCreatePullReq 4 params → 201400401403404500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}/status
Update status of pull request comment
commentStatusPullReq 6 params body → 200400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/apply-suggestions
Apply pull request code comment suggestions
commentApplySuggestions 5 params body → 200400401403422500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/commits
List commits
listPullReqCommits 7 params → 200401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/diff
Get file changes
diffPullReq 6 params → 200401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/diff
Get file changes
diffPullReqPost 5 params body → 200401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/file-views
List viewed files
fileViewListPullReq 5 params → 200400401403500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/file-views
Mark file as viewed
fileViewAddPullReq 5 params body → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/file-views/{file_path}
Remove file view
fileViewDeletePullReq 6 params → 204400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/merge
Merge
mergePullReqOp 5 params body → 200400401403404405409422
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/mergequeue
Remove the pull request from the merge queue
prMergeQueueRemove 5 params → 204400401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/mergequeue
Get the pull request's merge-queue details
prMergeQueueGet 5 params → 200400401403404500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/mergequeue
Place the pull request to the target branch's merge queue
prMergeQueueEnable 5 params body → 200400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/mergequeue/prioritize
Reorder the merge queue so that this PR is at the head of the queue
prMergeQueuePrioritize 5 params → 204400401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/metadata
Get metadata
pullReqMetaData 5 params → 200401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/revert
Revert of a merged pull request
revertPullReqOp 5 params body → 200400401403404405
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers
List reviewers
reviewerListPullReq 5 params → 200400401403500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers
Add reviewer
reviewerAddPullReq 5 params body → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/{pullreq_reviewer_id}
Remove reviewer
reviewerDeletePullReq 6 params → 204400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/combined
Reviewer combined list pull req
reviewerCombinedListPullReq 5 params → 200400401403500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/usergroups
User group reviewer add pull req
userGroupReviewerAddPullReq 5 params body → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/usergroups/{user_group_id}
User group reviewer delete pull req
userGroupReviewerDeletePullReq 6 params → 204400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/reviews
Submit review
reviewSubmitPullReq 5 params body → 204400401403500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/state
Update state of pull request
statePullReq 5 params body → 200400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels
List suggested labels
listSuggestedLabels 7 params → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels/{label_id}
Remove suggested label
removeSuggestedLabel 6 params → 204400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels/{label_id}/apply
Apply suggested label
applySuggestedLabel 6 params → 200400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/labels/batch
Create label suggestions
suggestLabelsBatch 5 params body → 200400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/reviewers
List suggested reviewers
listSuggestedReviewers 7 params → 200400401403500
DELETE
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/reviewers/{principal_id}
Remove suggested reviewer
removeSuggestedReviewer 6 params → 204400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/reviewers/{principal_id}/apply
Apply suggested reviewer
applySuggestedReviewer 6 params → 200400401403404500
POST
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/suggestions/reviewers/batch
Create reviewer suggestions
suggestReviewersBatch 5 params body → 200400401403404500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/view
Get pull request view
pullReqViewGet 5 params → 200400401403404500
PUT
/code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/view
Create or update pull request view
pullReqViewCreate 5 params body → 204400401403500
GET
/code/api/v1/repos/{repo_identifier}/pullreq/candidates
Pr candidates
prCandidates 5 params → 200400401403500

Schemas 103

The contract defines 103 schemas that model the data the API accepts and returns. The most detailed are TypesPullReq (34 properties), TypesPullReqActivity (22 properties), TypesMergeResponse (18 properties), TypesCheck (13 properties). Each schema is shown below with its type and property counts.

EnumPullReqType
stringnull
TypesUserGroupOwnerEvaluation
object
3 properties
EnumMergeCheckStatus
string
TypesCheckPayload
object
3 properties
OpenapiCreatePullReqRequest
object
10 properties
TypesRulesViolations
object
2 properties
TypesCodeOwnerEvaluationEntry
object
4 properties
TypesPullReqActivityMentionsMetadata
object
2 properties
EnumCheckStatus
string
EnumPullReqState
string
EnumCheckPayloadKind
string
TypesLabelInfo
objectnull
6 properties
TypesPullReqLabelSuggestionResponse
object
4 properties
EnumPullReqCommentStatus
string
EnumLabelColor
string
OpenapiUpdatePullReqRequest
object
2 properties
TypesListReviewerSuggestionsOutput
object
1 property
TypesCheckCountSummary
object
6 properties
TypesViolation
object
3 properties
TypesOwnerEvaluation
object
3 properties
OpenapiMergePullReq
object
9 properties
ShaSHA
string
Git object hash
TypesGitSignatureResult
objectnull
6 properties
TypesCodeOwnerEvaluation
object
2 properties
TypesBranchTable
object
6 properties
LabelCreatePullReqLabelSuggestionInput
object
2 properties
TypesPullReqChecks
object
2 properties
TypesPullReqActivitySuggestionsMetadata
object
3 properties
TypesCommit
object
8 properties
TypesPrincipalInfo
objectnull
7 properties
TypesLabelPullReqAssignmentInfo
object
8 properties
GitFileDiff
object
11 properties
EnumPrincipalType
string
EnumFileDiffStatus
string
PullreqCommentApplySuggestionsOutput
object
3 properties
TypesPullReqActivityMetadata
object
3 properties
TypesPullReqRepo
object
2 properties
TypesRuleViolations
object
4 properties
TypesPullReqActivityReactionsMetadata
object
1 property
TypesMergeResponse
object
18 properties
EnumMergeQueueEntryState
string
OpenapiReviewSubmitPullReqRequest
object
2 properties
TypesMergeViolations
object
3 properties
TypesPullReqReviewerSuggestionInfo
object
3 properties
TypesCommitStats
object
2 properties
TypesUserGroupReviewer
object
7 properties
TypesPullReq
object
34 properties
TypesRepositoryCore
object
7 properties
TypesPullReqLabel
object
7 properties
PullreqPullReqViewCreateInputGroup
object
4 properties
TypesPullReqFileGroupFile
object
3 properties
OpenapiPullReqViewCreateRequest
object
3 properties
ApiFileDiffRequest
object
2 properties
OpenapiCommentCreatePullReqRequest
object
9 properties
UsererrorError
object
2 properties
TypesUserGroupInfo
object
5 properties
TypesPullReqFileGroupWithFiles
object
6 properties
EnumRepoType
string
OpenapiStatePullReqRequest
object
2 properties
TypesCreateBranchOutput
object
5 properties
TypesAutoMergeResponse
object
9 properties
EnumPullReqActivityType
string
PullreqCombinedListResponse
object
2 properties
TypesPullReqFileView
object
3 properties
OpenapiCommentUpdatePullReqRequest
object
1 property
EnumRuleState
stringnull
TypesCheck
object
13 properties
TypesPullReqCommentReaction
object
2 properties
TypesMergeQueueInfo
objectnull
5 properties
TypesPullReqStats
object
6 properties
OpenapiPostRawPRDiffRequest
arraynull
TypesChangeStats
object
3 properties
EnumPublicKeyScheme
string
EnumMergeMethod
string
TypesPullReqCheck
object
3 properties
PullreqSuggestionReference
object
2 properties
OpenapiUserGroupReviewerAddRequest
object
1 property
TypesPullReqActivity
object
22 properties
TypesIdentity
object
2 properties
TypesSignature
object
2 properties
EnumLabelType
string
EnumPullReqReviewerType
string
OpenapiPullReqSuggestReviewersBatchRequest
object
1 property
TypesReviewerEvaluation
object
4 properties
EnumGitSignatureResult
string
TypesCodeCommentFields
object
8 properties
TypesLabelValueInfo
object
3 properties
EnumPullReqActivityKind
string
TypesPullReqLabelAssignInput
object
3 properties
TypesDefaultReviewerApprovalsResponse
object
6 properties
PullreqPullReqViewResponse
object
1 property
OpenapiCommentApplySuggestionstRequest
object
5 properties
TypesCommitFileStats
object
6 properties
TypesRevertResponse
object
2 properties
OpenapiFileViewAddPullReqRequest
object
2 properties
OpenapiReviewerAddPullReqRequest
object
1 property
OpenapiPullReqSuggestLabelsBatchRequest
object
1 property
TypesRuleInfo
object
5 properties
EnumRuleType
string
OpenapiCommentStatusPullReqRequest
object
1 property
TypesPullReqReviewer
object
8 properties
EnumPullReqSubState
string
EnumPullReqReviewDecision
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-pullreq-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Pullreq API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.