Forgejo · Schema

Comment

Comment represents a comment on a commit or issue

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen-SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
assets array The attachments to the comment
body string The body of the comment
created_at string The time of the comment's creation
html_url string The HTML URL of the comment
id integer The identifier of the comment
issue_url string The HTML URL of the issue if the comment is posted on an issue, else empty string
original_author string The original author that posted the comment if it was not posted locally, else empty string
original_author_id integer The ID of the original author that posted the comment if it was not posted locally, else 0
pull_request_url string The HTML URL of the pull request if the comment is posted on a pull request, else empty string
updated_at string The time of the comment's update
user object
View JSON Schema on GitHub

JSON Schema

comment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Comment",
  "description": "Comment represents a comment on a commit or issue",
  "type": "object",
  "properties": {
    "assets": {
      "description": "The attachments to the comment",
      "type": "array",
      "items": {
        "$ref": "#/definitions/Attachment"
      },
      "x-go-name": "Attachments"
    },
    "body": {
      "description": "The body of the comment",
      "type": "string",
      "x-go-name": "Body"
    },
    "created_at": {
      "description": "The time of the comment's creation",
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "html_url": {
      "description": "The HTML URL of the comment",
      "type": "string",
      "x-go-name": "HTMLURL"
    },
    "id": {
      "description": "The identifier of the comment",
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "issue_url": {
      "description": "The HTML URL of the issue if the comment is posted on an issue, else empty string",
      "type": "string",
      "x-go-name": "IssueURL"
    },
    "original_author": {
      "description": "The original author that posted the comment if it was not posted locally, else empty string",
      "type": "string",
      "x-go-name": "OriginalAuthor"
    },
    "original_author_id": {
      "description": "The ID of the original author that posted the comment if it was not posted locally, else 0",
      "type": "integer",
      "format": "int64",
      "x-go-name": "OriginalAuthorID"
    },
    "pull_request_url": {
      "description": "The HTML URL of the pull request if the comment is posted on a pull request, else empty string",
      "type": "string",
      "x-go-name": "PRURL"
    },
    "updated_at": {
      "description": "The time of the comment's update",
      "type": "string",
      "format": "date-time",
      "x-go-name": "Updated"
    },
    "user": {
      "$ref": "#/definitions/User"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/comment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.