Ste*_*ett 1 standards json atompub odata atom-feed
该OData的规格为长。甚至“ OData Core ”文档也很长。
那么,对于只读OData发布者至少需要实现的内容的简要总结呢?
我开始 OData服务提供一个HTTP端点,该端点:
Accept标题GET /(10.1.1)
service/workspace/collection/titleGET /Customers(10.2)
feed/entry/contentGET /Customers(3)(10.2.1)之类的请求GET /Customers(3)/Name(10.2.2)之类的请求返回单个实体的单个属性。/$metadataProducts?$filter=Price lt 10.00Products?$select=Rating,ReleaseDateProducts?$orderby=ReleaseDate asc, Rating descProducts?$top=5&$skip=2Products?$inlinecount=allpagesProducts(0)/$links/OrdersProducts/$count$format说明符的其他格式(10.2.3.7)返回ATOM提要(例如用于集合)时,它需要符合某些OData约定:http : //www.odata.org/documentation/odata-v3-documentation/atom-format/ 例如:
edm:String”等。link 元素被大量使用content元素要么包含内容内联(例如,文本数据),要么链接到具有src=属性的内容(例如,图像,二进制文件)。返回JSON feed时,它类似地遵循某些规则:
鼓励URL遵循以下方案:
| 归档时间: |
|
| 查看次数: |
520 次 |
| 最近记录: |