项目作者: salamonrafal

项目描述 :
Parsing Document Tool
高级语言: Roff
项目地址: git://github.com/salamonrafal/pdt-api.git
创建时间: 2018-08-04T17:11:47Z
项目社区:https://github.com/salamonrafal/pdt-api

开源协议:

下载


Parsing Document Tool API

Codacy Badge
Build Status Coverage Status Minimum PHP Version

Index

Run server

  1. php bin/console server:run

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

  1. php bin/console server:start 0.0.0.0:8000

Unit testing

  1. 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