yapi_create_interface
Create a new API interface in YApi with title, path, HTTP method, project, and category. Optionally include request/response schemas.
Instructions
Create a new API interface
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | Interface description | |
| path | Yes | API path/endpoint | |
| catid | Yes | Category ID | |
| title | Yes | Interface title/name | |
| method | Yes | HTTP method | |
| status | No | Interface status | |
| res_body | No | Response body content (JSON schema or example) | |
| project_id | Yes | Project ID | |
| req_body_type | No | Request body type | |
| res_body_type | No | Response body type | |
| req_body_other | No | Request body content (JSON schema or example) |