跳到主要内容

Assign Users to Test Pull Requests

POST 

/api/v5/repos/:owner/:repo/pulls/:number/testers

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    number integerrequired

    The ordinal number of the PR in this repository, i.e., which PR it is.

    Example: 0

Query Parameters

    access_token stringrequired

    User authorization code

Body

    testersstringrequired

    User's personal space address, separated by commas

    addboolean

    "Is new tester added", true will add a new tester, false will cover and update the tester, default false

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • idinteger
      loginstring
      namestring
      avatar_urlstring
    • ]