yapi_update_interface
Update an existing YApi API interface by specifying its ID and providing new values for title, path, method, project, category, and other attributes.
Instructions
Update an existing API interface
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Interface ID to update | |
| 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) |