jfefe
dbb9449ee7
Fix PHPCS
2015-05-06 00:55:42 +02:00
jfefe
db5a2bacd1
Bad sort field
2015-05-05 12:42:56 +02:00
jfefe
18def27eb6
Change API route for thirdparties lists
...
Use /thirdparty/list instead of /thirdparties/
2015-05-04 01:31:23 +02:00
jfefe
0673e3a1f1
Fix API lists method for thirdparty and contact
2015-05-04 00:33:44 +02:00
jfefe
60d6cc5806
Modify search of API classes for module
...
A module can now bring several API classes.
By example, thirdparty module can have api_thirdparty.class.php for thirdparty and api_contact.class.php for contacts.
Classes must be named <Object>API (ie ThirdpartyApi or ContactApi)
2015-05-03 19:43:49 +02:00
jfefe
80b832e90c
Add API methods to retrieve customers, prospects and others
2015-05-03 19:13:14 +02:00
jfefe
a8ee123bb2
Add API methods to create, update and delete a thirdparty
2015-05-03 18:30:59 +02:00
jfefe
64d0a710f7
API tirdparties list
2015-05-03 16:59:47 +02:00
jfefe
47c3724f3d
Verify API access by user to resource
...
API authentication mechanism is supposed to be working with internal or external users
2015-05-03 14:44:37 +02:00
jfefe
31e5b4786a
Fix : verify access method
...
Now we can use tag '@class' into PHPDoc block of method or class.
By example: @class DolibarrApiAccess {@requires user,external}
2015-05-03 01:54:04 +02:00
jfefe
fa494369b8
New : API key authentication
...
One key is stored by user when login API method is called. Each API request must have api_key parameter
2015-05-02 23:54:35 +02:00
jfefe
30c901c266
Begin REST API implementation with thirdparty classes and methods needed.
...
Work in progress !
2015-05-01 16:12:30 +02:00