Skip to content

Add API Endpoint for the Custom Entity Bundle for Akeneo

Notifications You must be signed in to change notification settings

diglin/AkeneoCustomEntityAPIEndpointBundle

Repository files navigation

Diglin Reference Data API Endpoint Bundle

Add entry point for the API of the CustomEntityBundle of Akeneo Labs.

Installation

You can install this bundle with composer:

php composer.phar require diglin/custom-entity-api-endpoint-bundle:1.*

Add at the end of app/config/routing.yml, the following content:

diglin_api_ref_data:
    resource: "@DiglinApiRefDataBundle/Resources/config/routing.yml"
    prefix: /api

and enable the bundle in the app/AppKernel.php file in the registerProjectBundles() method:

    $bundles = [
        // ...
        new \Diglin\Bundle\ApiRefDataBundle\DiglinApiRefDataBundle(),
    ]

Usage

Available API endpoint:

api_ref_data_reference_data_list  GET  /api/rest/v1/reference-data/{referenceName}
api_ref_data_reference_data_get  GET  /api/rest/v1/reference-data/{referenceName}/{code}  

License

Do What The Fuck You Want To Public License (WTFPL)

Author

About

Add API Endpoint for the Custom Entity Bundle for Akeneo

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages