You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni b37f6abe44 updated apache config for check.php пре 10 година
misc updated apache config for check.php пре 10 година
.gitignore media upload пре 10 година
README database graphical structure пре 10 година
index.php fixed confirm regex пре 10 година
sql.php api key check пре 10 година
status.php fixed error messages пре 10 година
user.php fixed error messages пре 10 година
utils.php check_table_field return all fields пре 10 година

README

VDM webservice API for 3ie recruitment.

API online demo:
https://api.vdm.rthoni.com/
Api-Key: demo42

API Documentation:
- https://api.vdm.rthoni.com/doc/index.html
- http://vdm.3ie.fr/doc/index.html

Developped with:
- apache2
modules:
- ssl (optionnal)
- rewrite
- PHP 5.3.3-7+squeeze19
- mysql Ver 14.14 Distrib 5.1.73

Apache configuration example:
misc/api.vdm

API configuration example:
misc/config.php.sample
Save it as misc/config.php

Database structure:
misc/database.png
misc/create_database.sql
Create database, then insert this structure

API test:
Create structure then fill database with test_database.sql
Exec misc/tests.php

Clear script:
misc/api.vdm-clear.php
Remove expired tokens
Run it frequenlty (every 24h would be nice)
Cron example:
misc/api.vdm-cron