跳至正文

CheeseXML API

https://www.samovar-tool.ru/cheesexml/v1/

无需账户即可进行公开读取。保存配方的请求需要已认证的用户。

方法路径和参数响应
GET/recipes?q&catalog&family&style&country&species&difficulty&sort&page&perPage&lang分页的公开配方摘要
GET/recipes/{slug}?lang以 JSON 返回的单个公开配方
GET/recipes/{slug}/cheesexmlCheeseXML 文档
GET/calculators计算器定义
POST/calculators/{code}/calculate JSON {"inputs":{}}计算结果
GET/schema命名空间、XSD 和示例

错误

400 cheesexml_validation_error, 401 cheesexml_unauthorized, 404 cheesexml_not_found, 405 cheesexml_method_not_allowed. 每个 JSON 错误都包含稳定的 code 和 message 字段。

OpenAPI 描述