bo-hub/ci-hub-api-bundle

REST Adapter for CI-HUB

3.0.16 2024-04-17 08:49 UTC

README

Software License Latest Stable Version

This bundle adds a REST API endpoints 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.
    • add-asset: Method to create and replace asset
    • download-asset: Method to download binary file
    • lock-asset: Method to lock asset by current user
    • unlock-asset: Method to unlock asset by current user
  • Endpoint security via bearer token that has to be sent as header with every request.

Schema Configuration Swagger UI

Further Information

License

Brand Oriented, Okopowa 33/26, 01-059 Warszawa, Polska
brandoriented.pl, biuro@brandoriented.pl
Copyright © 2023 Brand Oriented. All rights reserved.

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