Package se.bjurr.bitbucketcloud.gen.api
Interface PullrequestsApi
@Path("/pullrequests/{target_user}")
@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen",
date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]",
comments="Generator version: 7.14.0")
public interface PullrequestsApi
Represents a collection of functions to interact with the API endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionpullrequestsTargetUserGet(String targetUser, String username, String state) Returns all pull requests authored by the specified user.
-
Method Details
-
pullrequestsTargetUserGet
@GET @Produces("application/json") PaginatedPullrequests pullrequestsTargetUserGet(@PathParam("target_user") String targetUser, @PathParam("username") String username, @QueryParam("state") String state) Returns all pull requests authored by the specified user. By default only open pull requests are returned. This can be controlled using the `state` query parameter. To retrieve pull requests that are in one of multiple states, repeat the `state` parameter for each individual state. This endpoint also supports filtering and sorting of the results. See [filtering and sorting](../../../../meta/filtering) for more details.- Parameters:
targetUser-username- This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.state- Only return pull requests that are in this state. This parameter can be repeated.- Returns:
- All pull requests authored by the specified user.
-