Comment is a JSON Structure definition published by Gitea, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-comment-structure.json",
"name": "Comment",
"description": "JSON Structure description of the Gitea Comment entity.",
"type": "object",
"properties": {
"assets": {
"type": "array",
"description": "Attachments contains files attached to the comment"
},
"body": {
"type": "string",
"description": "Body contains the comment text content"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"html_url": {
"type": "string",
"description": "HTMLURL is the web URL for viewing the comment"
},
"id": {
"type": "integer",
"description": "ID is the unique identifier for the comment",
"format": "int64"
},
"issue_url": {
"type": "string",
"description": "IssueURL is the API URL for the issue"
},
"original_author": {
"type": "string",
"description": "OriginalAuthor is the original author name (for imported comments)"
},
"original_author_id": {
"type": "integer",
"description": "OriginalAuthorID is the original author ID (for imported comments)",
"format": "int64"
},
"pull_request_url": {
"type": "string",
"description": "PRURL is the API URL for the pull request (if applicable)"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"user": {
"type": "string"
}
}
}
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.