Parameters 更多具有不同URI参数的[GET]请求-响应示例

Parameters 更多具有不同URI参数的[GET]请求-响应示例,parameters,apiblueprint,blueprint,apiary.io,apiary,Parameters,Apiblueprint,Blueprint,Apiary.io,Apiary,我有一个URI:/lesss/{language}/{type} 我希望在我的蓝图中有更多具有不同参数{language}和{type}的模拟请求和响应。在我看来,这对于GET方法是不可能的 我的想法是:GET/lessons/cs/easy将返回: [{ "id": 1, "title": "Střední řada: s, l" }, { "id": 2, "title": "Střední řada: g, h" }] [

我有一个URI:/lesss/{language}/{type}

我希望在我的蓝图中有更多具有不同参数{language}和{type}的模拟请求和响应。在我看来,这对于GET方法是不可能的

我的想法是:GET/lessons/cs/easy将返回:

    [{
      "id": 1, "title": "Střední řada: s, l"
    }, {
      "id": 2, "title": "Střední řada: g, h"
    }]     
    [{
      "id": 1, "title": "Mittle words: s, l"
    }, {
      "id": 2, "title": "Mittle words: g, h"
    }] 
而GET/lessons/de/easy将返回:

    [{
      "id": 1, "title": "Střední řada: s, l"
    }, {
      "id": 2, "title": "Střední řada: g, h"
    }]     
    [{
      "id": 1, "title": "Mittle words: s, l"
    }, {
      "id": 2, "title": "Mittle words: g, h"
    }] 
这是我的语法(在下面),它不起作用

这是预览中的外观。

这在API Blueprint中目前是不可能的。但是我们有一个关于这方面的功能要求,我们计划很快实现这一点

谢谢