Skip to main content
Glama

yapi_interface_save

Save API interfaces to YAPI documentation by creating new entries or updating existing ones with details like endpoints, methods, parameters, and descriptions.

Instructions

保存接口(新增或更新)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoYAPI 接口页面 URL(可选),如 https://yapi.xxx.com/project/1009/interface/api/108375,会自动解析出项目 ID、接口 ID 等参数
projectNo项目 ID(可选,不传则使用默认项目)
catidYes接口分类 ID
idNo接口 ID(更新时必填)
titleYes接口名称
pathYes接口路径
methodYes请求方法
descNo接口描述
statusNo接口状态
req_paramsNo路径参数
req_queryNo查询参数
req_headersNo请求头
req_body_typeNo请求体类型
req_body_formNo表单请求体
req_body_otherNo其他请求体
res_body_typeNo返回数据类型
res_bodyNo返回数据

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhhbinn/yapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server