You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Pull Request

vcs/pull-request@1.1.1
3 providers

PullRequest

Get details of the specified pull request.

Input
Owner
Repo
Identifier
Result
Tittle
Id
Url
Sha

1.Choose a provider

2.Use PullRequest with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

owner
Owner of the repository
repo
Repository name
identifier
Id of pull request

Example

Result (object)

title
Title of pull request
id
Pull request Id
url
Web url of pull request
sha
Pull request sha

Example

Implementation details

Provider
mock
Use case
PullRequest
Author
@superface
Source
Verified