Plone的开放数据协议的通用实现。
项目描述
collective.opendata
简介
Plone的通用可插拔开放数据包的实现。
Plone开放数据API。
特性
此包默认包含两个(02)可插拔的开放数据,如下所示
CMS
此门户网站使用的CMS信息的插件。
site_info:门户网站信息。
此插件从基本API URL生成JSON格式: https://:8080/Plone/apidata/cms
[{
"uri": "https://:8080/Plone/apidata/cms/site_info",
"description": "Information about a portal",
"entity": "site_info"
}]
信息站点的JSON格式,如下
{
"software": "collective.opendata",
"description": "",
"software_version": "0.1",
"title": "Site"
}
内容元数据
内容信息的插件。
新闻条目:新闻条目的Dublin Core信息。
图像:图像的Dublin Core信息。
文件:文件的Dublin Core信息。
文件夹:文件夹的Dublin Core信息。
文档:文档的Dublin Core信息。
事件:事件的Dublin Core信息。
此插件从基本API URL生成JSON格式: https://:8080/Plone/apidata/content
[
{
"uri": "https://:8080/Plone/apidata/content/News Item",
"description": "Dublin Core info for News Item",
"entity": "News Item"
},
{
"uri": "https://:8080/Plone/apidata/content/Image",
"description": "Dublin Core info for Image",
"entity": "Image"
},
{
"uri": "https://:8080/Plone/apidata/content/File",
"description": "Dublin Core info for File",
"entity": "File"
},
{
"uri": "https://:8080/Plone/apidata/content/Folder",
"description": "Dublin Core info for Folder",
"entity": "Folder"
},
{
"uri": "https://:8080/Plone/apidata/content/Document",
"description": "Dublin Core info for Document",
"entity": "Document"
},
{
"uri": "https://:8080/Plone/apidata/content/Event",
"description": "Dublin Core info for Event",
"entity": "Event"
}
]
文件夹内容类型的JSON格式,例如这样
[
{
"title": "News",
"identifier": "https://:8080/Plone/news",
"uid": "07997a0ee8f14414bfcf8c146cc865f2",
"uri": "https://:8080/Plone/apidata/content/Folder/07997a0ee8f14414bfcf8c146cc865f2"
},
{
"title": "Events",
"identifier": "https://:8080/Plone/events",
"uid": "bf5aafa2c7224eb5935d174c1a9a43ff",
"uri": "https://:8080/Plone/apidata/content/Folder/bf5aafa2c7224eb5935d174c1a9a43ff"
},
{
"title": "Users",
"identifier": "https://:8080/Plone/Members",
"uid": "761536d101414a47bc0e5494f51d97f1",
"uri": "https://:8080/Plone/apidata/content/Folder/761536d101414a47bc0e5494f51d97f1"
}
]
创建
此产品由PloneGov-BR社区在Interlegis的冲刺中创建
http://www.softwarelivre.gov.br/plone
特别感谢Érico Andrei!
翻译
此产品已被翻译成
葡萄牙语(感谢,Jean Ferri)
西班牙语(感谢,Leonardo J. Caballero G.)
贡献
支持
如果您遇到问题,请告知我们,提交包含报告的票据 http://github.com/plonegovbr/collective.opendata/issues
许可证
该项目根据GNU通用公共许可证v2(GPLv2)许可。
大部分无害
贡献者
Augusto Herrmann
Cintia Cinquini
Érico Andrei
Jean Ferri
Héctor Velarde
Leonardo Caballero
Nitai Bezerra
变更日志
1.0a2 (2015-08-26)
将pt翻译重命名为pt_BR [jeanferri]
修复翻译 [jeanferri]
解决在/apidata/content描述中逃避msgid的问题 [jeanferri]
修复名称包含空格的内容类型中的bug [jeanferri]
改进内容元数据对Dublin Core的支持。 [jeanferri]
重新格式化API文档页面。 [jeanferri]
1.0a1 (2015-08-07)
添加葡萄牙语翻译。 [jeanferri]
将内容类型从页面更改为文档。 [jeanferri]
为pypi发布做准备。 [jeanferri]
更新README文件,包含有关此包的有用信息。 [macagua]
添加西班牙语翻译。 [macagua]
添加i18n支持。 [macagua]
初始发布。 [ericof]
项目详细信息
集体.opendata-1.0a2.zip的散列
| 算法 | 散列摘要 | |
|---|---|---|
| SHA256 | c3614849a3315ca9f2b29e5c89301d2a2b62f4c27fe3e993446ac6242cc84715 |
|
| MD5 | 4dd224892fed59fe5cf80b10192b5a2f |
|
| BLAKE2b-256 | ca2a865809622b606e9d508f621bd4eaef8becd0ccd9bf19b021226fbec4e5b3 |