Workflow progress RestAPI
Project description
A Plone add-on that expose workflow progress via RestAPI
Main features
RestAPI workflow progress:
$ curl -H 'Accept: application/json' --user admin:admin -i http://localhost:8080/Plone/a-page/@workflow.progress or $ curl -H 'Accept: application/json' --user admin:admin -i http://localhost:8080/Plone/a-page?expand=workflow.progress
Install
Add eea.progress.workflow to your eggs section in your buildout and re-run buildout:
[buildout] eggs += eea.progress.workflow
You can download a sample buildout from:
Or via docker:
$ docker run --rm -p 8080:8080 -e ADDONS="eea.progress.workflow" plone
Install eea.progress.workflow within Site Setup > Add-ons
Buildout installation
Source code
Eggs repository
Plone versions
It has been developed and tested for Plone 4 and 5. See buildouts section above.
How to contribute
Copyright and license
eea.progress.workflow (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
The Initial Owner of the Original Code is European Environment Agency (EEA). Portions created by Eau de Web are Copyright (C) 2009 by European Environment Agency. All Rights Reserved.
Funding
EEA - European Environment Agency (EU)
Changelog
2.2 - (2021-12-08)
Feature: Add transitions to @workflow.progress RestAPI endpoint [avoinea refs #124587]
2.1 - (2021-06-11)
Change: Merge #134214 [Petchesi-Iulian]
2.0 - (2020-12-04)
Change: Guess Progress: 25 50 75 100 and minProgress -1 [avoinea refs #124586]
1.1 - (2020-11-26)
Bug fix: Could not adapt Document to IWorkflowProgress [@avoinea refs #124586]
1.0 - (2020-11-25)
Expose workflow progress via RestAPI [@avoinea refs #124586]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.