Forgejo · Example Payload

Pullrequest Example

PullRequest represents a pull request

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Pullrequest Example is an example object payload from Forgejo, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionexample

Example Payload

Raw ↑
{
  "title": "Forgejo PullRequest Example",
  "description": "PullRequest represents a pull request",
  "example": {
    "additions": 1,
    "allow_maintainer_edit": false,
    "assignee": {
      "active": false,
      "avatar_url": "string",
      "created": "2024-01-15T12:00:00Z",
      "description": "string",
      "email": "string",
      "followers_count": 1,
      "following_count": 1,
      "full_name": "string",
      "html_url": "string",
      "id": 1
    },
    "assignees": [
      "<User>"
    ],
    "base": {
      "label": "string",
      "ref": "string",
      "repo": "<Repository>",
      "repo_id": 1,
      "sha": "string"
    },
    "body": "string",
    "changed_files": 1,
    "closed_at": "2024-01-15T12:00:00Z",
    "comments": 1,
    "created_at": "2024-01-15T12:00:00Z"
  }
}