跳到主要内容
版本:v0.6

Create pull request for template completions.

Create pull request for template completions.

Create pull request for template completions.

Request Body required
    branch string required
    connectorID string required
    content string required
    path string required
    repository string required
Responses

OK


Schema
    link string required
POST /v1/template-completions/_/create-pr

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
Body required
{
"branch": "string",
"connectorID": "string",
"content": "string",
"path": "string",
"repository": "string"
}
curl / cURL
curl -L -X POST 'https://seal-io.github.io/v1/template-completions/_/create-pr' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"branch": "string",
"connectorID": "string",
"content": "string",
"path": "string",
"repository": "string"
}'