Work with this as data
Every API 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 apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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 API
curl "https://apis.io/api/v1/apis/gogs-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?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.
OpenAPI Specification
openapi: 3.2.0
info:
title: Gogs Webhooks API
version: v1
description: RESTful API for interacting with your Gogs instance. Follows a format similar to the GitHub REST API v3.
servers:
- url: https://gogs.example.com/api/v1
security:
- AccessToken: []
tags:
- name: Webhooks
description: Create, edit, and delete repository webhooks
paths:
/repos/{owner}/{repo}/hooks:
get:
operationId: listHooks
summary: List hooks
tags:
- Webhooks
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Hook'
'404':
description: Resource not found.
parameters:
- name: owner
in: path
required: true
schema:
type: string
description: Repository owner
- name: repo
in: path
required: true
schema:
type: string
description: Repository name
post:
operationId: createHook
summary: Create a hook
tags:
- Webhooks
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Hook'
'404':
description: Resource not found.
'422':
description: Validation error.
parameters:
- name: owner
in: path
required: true
schema:
type: string
description: Repository owner
- name: repo
in: path
required: true
schema:
type: string
description: Repository name
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
type:
type: string
enum:
- gogs
- slack
- discord
- dingtalk
config:
type: object
properties:
url:
type: string
content_type:
type: string
enum:
- json
- form
secret:
type: string
required:
- url
- content_type
events:
type: array
items:
type: string
default:
- push
active:
type: boolean
default: false
required:
- type
- config
/repos/{owner}/{repo}/hooks/{id}:
patch:
operationId: editHook
summary: Edit a hook
tags:
- Webhooks
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Hook'
'404':
description: Resource not found.
'422':
description: Validation error.
parameters:
- name: owner
in: path
required: true
schema:
type: string
description: Repository owner
- name: repo
in: path
required: true
schema:
type: string
description: Repository name
- name: id
in: path
required: true
schema:
type: string
description: Hook ID
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
config:
type: object
properties:
url:
type: string
content_type:
type: string
secret:
type: string
events:
type: array
items:
type: string
active:
type: boolean
required:
- config
delete:
operationId: deleteHook
summary: Delete a hook
tags:
- Webhooks
responses:
'204':
description: The resource has been successfully deleted.
'404':
description: Resource not found.
parameters:
- name: owner
in: path
required: true
schema:
type: string
description: Repository owner
- name: repo
in: path
required: true
schema:
type: string
description: Repository name
- name: id
in: path
required: true
schema:
type: string
description: Hook ID
components:
schemas:
Hook:
type: object
properties:
id:
type: integer
type:
type: string
enum:
- gogs
- slack
- discord
- dingtalk
events:
type: array
items:
type: string
active:
type: boolean
config:
type: object
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
securitySchemes:
BasicAuth:
type: http
scheme: basic
AccessToken:
type: apiKey
in: header
name: Authorization
description: 'Personal access token. Use format: token {YOUR_ACCESS_TOKEN}'