Skip to content

Extended endpoint for imio applications

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst
Notifications You must be signed in to change notification settings

IMIO/imio.restapi

Repository files navigation

https://travis-ci.com/IMIO/imio.restapi.svg?branch=master https://coveralls.io/repos/github/IMIO/imio.restapi/badge.svg?branch=master PyPI badge

imio.restapi

plone.restapi endpoints and adaptations

Features

  • add element:

    • with children
    • trigger WF transitions
  • @pod-templates endpoint (collective.documentgenerator)

  • disable returning fullobject serialization upon creation:

    • by default when an object is created, the fullobject serialization is returned which is doing some processing sometimes unnecessary
    • adding an environment variable RETURN_FULLOBJECT_AFTER_CREATION_DEFAULT False will return the summary serialization when an object is created
    • this will change the default behavior but it is still possible to change this behavior for a particular POST by defining the "return_fullobject": true/false in the Body

Todo

  • manage wf_transitions triggered when creating an element in the deserializer when we will be using only DX
  • include cleanHTML functionnality at the deserializer level, also when we will be using only DX

Installation

Install imio.restapi by adding it to your buildout:

[buildout]

...

eggs =
    imio.restapi

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

About

Extended endpoint for imio applications

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •