0
我有和端点返回一组联系人,它的端点是:.../api/v1/contact。 现在我有另一个端点,将返回单个接触,它的终点是:.../API/V1 /接触式ID =api-blueprint如何为类集合和单类对象定义端点
68 ## Contacts Endpoint [/v1/api/Contact]
69 ### Retrieve All Contacts [GET]
154 ## Contact Endpoint [v1/api/Contact?id=HashID]
155 ### Get single contact [GET]
现在我得到了以下两个错误:
意外头块,预期一个组,资源或动作定义,例如'#组', '#[]' 或 '#' 线:154•API蓝图
行动方法 'GET' 已经为资源定义 '/ V1/API /联系' 线:155•API蓝图