Skip to content

salamonrafal/pdt-api

Repository files navigation

Parsing Document Tool API

Codacy Badge Build Status Coverage Status Minimum PHP Version

Index

Run server

    php bin/console server:run 

If you're using a VM, you may need to tell the server to bind to all IP addresses:

   php bin/console server:start 0.0.0.0:8000 

Unit testing

    php bin/phpunit 

Endpoints

  • /api/v1/info - Displaying information about health status for service.
  • /api/v1/convert/{docId} - Parsing uploaded PDF/DOC file and return HTML content
  • /api/v1/convert - Uploaded and convert PDF/DOC file and return HTML content
  • /api/v1/upload/ - Upload file on storage