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 Requests

vcs/pull-requests@2.0.1
3 providers

PullRequests

Get pull requests of the specified repository.

Input
Owner
Repo
Result
pullRequests

1.Choose a provider

2.Use PullRequests 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

Example

Result (object)

pullRequests
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
PullRequests
Author
@superface
Source
Verified