Skip to content

Covantec/collective.opendata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6112ebd · Aug 27, 2015

History

51 Commits
Apr 11, 2014
Aug 27, 2015
Apr 24, 2014
Apr 23, 2014
Apr 24, 2014
Aug 27, 2015
Aug 7, 2015
Apr 11, 2014
Apr 11, 2014
Aug 7, 2015
Apr 24, 2014
Jul 12, 2015
Jun 8, 2015
Aug 7, 2015
Aug 26, 2015
Apr 24, 2014

Repository files navigation

collective.opendata

A generic implementation of a pluggable open data package for Plone.

The Plone Open Data API.

The Plone Open Data API.

This package have by default two (02) open data pluggable as the following:

A plugin for information about the CMS used in this portal.

  • site_info: Information about a portal.

This plugin generate a JSON format from the base API URL: http://localhost:8080/Plone/apidata/cms

[{
    "uri": "http://localhost:8080/Plone/apidata/cms/site_info",
    "description": "Information about a portal",
    "entity": "site_info"
}]

A JSON format for Information site, like this:

{
  "software": "collective.opendata",
  "description": "",
  "software_version": "0.1",
  "title": "Site"
}

A plugin for content information.

  • News Item: Dublin Core info for News Item.
  • Image: Dublin Core info for Image.
  • File: Dublin Core info for File.
  • Folder: Dublin Core info for Folder.
  • Document: Dublin Core info for Document.
  • Event: Dublin Core info for Event.

This plugin generate a JSON format from the base API URL: http://localhost:8080/Plone/apidata/content

[
  {
    "uri": "http://localhost:8080/Plone/apidata/content/News Item",
    "description": "Dublin Core info for News Item",
    "entity": "News Item"
  },
  {
    "uri": "http://localhost:8080/Plone/apidata/content/Image",
    "description": "Dublin Core info for Image",
    "entity": "Image"
  },
  {
    "uri": "http://localhost:8080/Plone/apidata/content/File",
    "description": "Dublin Core info for File",
    "entity": "File"
  },
  {
    "uri": "http://localhost:8080/Plone/apidata/content/Folder",
    "description": "Dublin Core info for Folder",
    "entity": "Folder"
  },
  {
    "uri": "http://localhost:8080/Plone/apidata/content/Document",
    "description": "Dublin Core info for Document",
    "entity": "Document"
  },
  {
    "uri": "http://localhost:8080/Plone/apidata/content/Event",
    "description": "Dublin Core info for Event",
    "entity": "Event"
  }
]

A JSON format for Folder content type, like this:

[
  {
    "title": "News",
    "identifier": "http://localhost:8080/Plone/news",
    "uid": "07997a0ee8f14414bfcf8c146cc865f2",
    "uri": "http://localhost:8080/Plone/apidata/content/Folder/07997a0ee8f14414bfcf8c146cc865f2"
  },
  {
    "title": "Events",
    "identifier": "http://localhost:8080/Plone/events",
    "uid": "bf5aafa2c7224eb5935d174c1a9a43ff",
    "uri": "http://localhost:8080/Plone/apidata/content/Folder/bf5aafa2c7224eb5935d174c1a9a43ff"
  },
  {
    "title": "Users",
    "identifier": "http://localhost:8080/Plone/Members",
    "uid": "761536d101414a47bc0e5494f51d97f1",
    "uri": "http://localhost:8080/Plone/apidata/content/Folder/761536d101414a47bc0e5494f51d97f1"
  }
]

This product was created by the PloneGov-BR community in a sprint at Interlegis:

http://www.softwarelivre.gov.br/plone

Special thanks to Érico Andrei!

This product has been translated into

  • Portuguese (thanks, Jean Ferri)
  • Spanish (thanks, Leonardo J. Caballero G.)

If you are having issues, please let us know, submit a ticket with the report http://github.com/plonegovbr/collective.opendata/issues

The project is licensed under the GNU General Public License v2 (GPLv2).


Travis CI badge Coveralls badge

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Makefile 4.7%