Forgejo · Schema
Activity
GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen-SourceForgeRepositoriesIssuesPull Requests
Properties
| Name | Type | Description |
|---|---|---|
| act_user | object | |
| act_user_id | integer | |
| comment | object | |
| comment_id | integer | |
| content | string | |
| created | string | |
| id | integer | |
| is_private | boolean | |
| op_type | string | the type of action |
| ref_name | string | |
| repo | object | |
| repo_id | integer | |
| user_id | integer |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Activity",
"type": "object",
"properties": {
"act_user": {
"$ref": "#/definitions/User"
},
"act_user_id": {
"type": "integer",
"format": "int64",
"x-go-name": "ActUserID"
},
"comment": {
"$ref": "#/definitions/Comment"
},
"comment_id": {
"type": "integer",
"format": "int64",
"x-go-name": "CommentID"
},
"content": {
"type": "string",
"x-go-name": "Content"
},
"created": {
"type": "string",
"format": "date-time",
"x-go-name": "Created"
},
"id": {
"type": "integer",
"format": "int64",
"x-go-name": "ID"
},
"is_private": {
"type": "boolean",
"x-go-name": "IsPrivate"
},
"op_type": {
"description": "the type of action",
"type": "string",
"enum": [
"create_repo",
"rename_repo",
"star_repo",
"watch_repo",
"commit_repo",
"create_issue",
"create_pull_request",
"transfer_repo",
"push_tag",
"comment_issue",
"merge_pull_request",
"close_issue",
"reopen_issue",
"close_pull_request",
"reopen_pull_request",
"delete_tag",
"delete_branch",
"mirror_sync_push",
"mirror_sync_create",
"mirror_sync_delete",
"approve_pull_request",
"reject_pull_request",
"comment_pull",
"publish_release",
"pull_review_dismissed",
"pull_request_ready_for_review",
"auto_merge_pull_request"
],
"x-go-name": "OpType"
},
"ref_name": {
"type": "string",
"x-go-name": "RefName"
},
"repo": {
"$ref": "#/definitions/Repository"
},
"repo_id": {
"type": "integer",
"format": "int64",
"x-go-name": "RepoID"
},
"user_id": {
"type": "integer",
"format": "int64",
"x-go-name": "UserID"
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/activity"
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.