Enonic Market Enonic Market
Guillotine Lib icon

Guillotine Lib

Adds a headless CMS GraphQL API to your site


  • Accessing the Guillotine generated API using GraphQL Playground

Guillotine builds on the powerful Content Type system and CMS capabilities of Enonic XP. Simply create a service and call this library and it will automatically expose a powerful API specifically matching your site and application. This gives you instant access to all editorial content available in the site. The API can further be used by virtually any client - including iOS and Android apps, smart TVs and smart watches, and naturally also modern web-based sites and applications. The GraphQL API is fast, self documenting and easy to use for everyone.

Headless and coupled

Guillotine builds on the powerful CMS capabilities of Enonic XP. Here are just some of the features in XP:

  • Content types
  • Tree structures
  • Custom preview support
  • Fine grained access control
  • Bulk publishing
  • Image service (advanced media handling)
  • Landing page editor (if needed) and much more.

Professional development

Rolling out changes and handling consistent behaviour between your content and applications has never been easier. Developers define and deploy content types safely using XP apps. This means support for continuous delivery and modern development processes. Applications may even process, import or manipulate content on deployment.

The combination of capabilities makes Guillotine one of the most potent Headless CMS solutions on the planet!


  1. 4.2.3

    • Fixed handling of option names inside option-set
    • Compatibility:
      • 7.2.0
  2. 4.2.2

    • Bug: processHtml is unavailable for HtmlArea inside an item-set
    • Compatibility:
      • 7.2.0
  3. 4.2.1

    • Fixed resolution of attachment input type
    • Compatibility:
      • 7.2.0
  4. 4.2.0

    • Enhancement: Component Config
    • Enhancement: Content: Field "_references"
    • Enhancement: ContentType: Field "formAsJson"
    • Enhancement: Content: Field "contentType"
    • Enhancement: Handle input type "MediaSelector"
    • Compatibility:
      • 7.2.0
  5. 4.1.2

    • Bug: Return null values
    • Compatibility:
      • 7.0.0
  6. 4.1.1

    • Bug: Added missing build dependency
    • Compatibility:
      • 7.0.0
  7. 4.1.0

    • Enhancement: New event subscription
    • Compatibility:
      • 7.0.0
  8. 4.0.0

    • Enhancement: Possibility to serve contents located outside of the site (allowPaths)
    • Enhancement: Handle widlcard "${site}" in content paths and queries
    • Improvement: Refactored page related fields
    • Compatibility:
      • 7.0.0
  9. 3.0.0

    • Enhancement: Additional security check
    • Enhancement: Remove site path filtering on references
    • Enhancement: Flattened components
    • Compatibility:
      • 7.0.0
  10. 2.0.0

    • Adaptation: Adapt to Enonic XP 7.0 changes
    • Compatibility:
      • 7.0.0
  11. 1.0.2

    • Bug: processHtml is unavailable for HtmlArea inside an item-set
    • Compatibility:
      • 6.13.0
  12. 1.0.0

    • Initial release
    • Compatibility:
      • 6.10.0

Download Guillotine Lib

This version requires XP

An XP library is normally included in your application through the Gradle build script like this:

                    dependencies {
    include 'com.enonic.lib:lib-guillotine:4.2.3'

Download the source code for Guillotine Lib

Documentation for Guillotine Lib