ci-hub/simple-rest-adapter-bundle

Simple REST Adapter for Pimcore DataHub

v2.0.3 2022-08-30 16:38 UTC

This package is not auto-updated.

Last update: 2024-12-13 01:41:10 UTC


README

Software License Latest Stable Version

This bundle adds a simple read-only REST API endpoint to Pimcore DataHub for Assets and DataObjects. All exposed data can be configured, is indexed in Elasticsearch and delivered from there for better query performance and scalability.

Therefore, it can be used to connect Pimcore to other systems or to connect Front-End applications.

Features in a nutshell

  • Configure a schema and expose data like with other DataHub adapters via Drag & Drop.
  • All data gets indexed in Elasticsearch indices and delivered from there (no additional load on the database when accessing data via REST endpoints).
  • Endpoint documentation and test via Swagger UI.
  • Available endpoints:
    • tree-items: Method to load all elements of a tree level with additional support for:
      • paging
      • filtering
      • fulltext search
      • ordering
      • aggregations – provide possible values for fields to create filters
    • search: Method to search for elements, returns elements of all types (no folder structures) with additional support for:
      • paging
      • filtering
      • fulltext search
      • ordering
      • aggregations – provide possible values for fields to create filters
    • get-element: Method to get one single element by type and ID.
  • Endpoint security via bearer token that has to be sent as header with every request.

Schema Configuration Swagger UI

Further Information

License

CI HUB GmbH, Benkertstrasse 4, 14467 Potsdam, Germany
ci-hub.com, info@ci-hub.com
Copyright © 2021 CI HUB GmbH. All rights reserved.

For licensing details please visit LICENSE.md