| Project Wiki (Page: OpenForge) |
|---|
Last Changed 7 months ago, by Tim Groeneveld |
|
Table of Contents
What is OpenForge?OpenForge is an XML output from ShareSource (and other Forge's that output OpenForge XML) which allows much of the data available in ShareSource.org through a common API. All data that is fetched from ShareSource's implementation of OpenForge is realtime. That is, as soon as a change is made in a project it will be reflected in any future requests for that project via OpenForge. StatusOpenForge is currently in a state of still being drafted. The implementation of ShareSource's OpenForge API is currently in beta. Licensing CaveatsAll data retrieved via ShareSource's OpenForge API belongs to the project. Other forges, however, may not follow this, and so you must check with the sites whom you use the API with. Fetching Project DataOpenForge HeaderAll replies for requests to the OpenForge API should have an API that looks like this:
For example, ShareSource's header would look like this:
The {prefix}All requests are appended to a defualt URL. ShareSource's default URL is http://sharesource.org/api, however, other valid examples are http://api.sharesource.org and http://sourceforge.us/myapi.php. On all examples shown in this draft, it is represented as {prefix} [optional]Any text enclosed in square brackets are completely optional. Implementations should implement them, however, it is not necessary for them to do so. In most cases, optional text is only for presentation. Getting 'Core' data{prefix}/project/{project name}/[{project name}.xml]
|
