Commit Graph

25 Commits

Author SHA1 Message Date
Jonathan Martz
a21e474749 first version, no prod ready 2025-06-24 21:43:34 +02:00
Jonathan Martz
f9911ffc29 refactoring collection a little bit, adjust token from collection manual,write some test for the simple logic, fixing superusers authAdmin 2025-01-21 23:52:11 +01:00
Anthony Bellancourt
9b1ded7968 allow to manually define the auth token for client and settings 2025-01-21 17:21:53 +01:00
Jonathan Martz
ded787aeb3 write first placeholder test 2025-01-12 11:57:48 +01:00
Jonathan Martz
2ab938c2f4 remove vardump from getFullList 2024-11-14 16:54:18 +01:00
Jonathan Martz
ad593198b0 fix getFullList batch bug 2024-11-14 15:50:04 +00:00
Jonathan Martz
64a0f24e55 update docs for upload 2023-10-09 20:16:19 +02:00
Jonathan Martz
bbe4857b34 add file upload function to collection 2023-10-09 18:28:19 +02:00
Jonathan Martz
a3ac61ac2d add perPage from params to queryParams 2023-06-30 19:30:21 +02:00
Jonathan
df8ed036fc add Settings Class, add authAsUser method for collection 2023-04-15 20:50:48 +02:00
Martz
9d125d8cc2 return response of create 2023-03-31 00:20:39 +02:00
Martz
ec7434f089 add logic for get list 2023-03-29 02:30:28 +02:00
Martz
78fd67a12d remove users collection and used code 2023-02-28 21:12:38 +01:00
Martz
c52ff18bea merge into master 2023-02-24 21:50:49 +01:00
Martz
47699576a4 move curl logic into own doRequest function 2023-02-24 21:48:27 +01:00
BOCKTAELS Hugo
b0b6fbaaa1 Adding queryParams in curl call
using http_build_query()
we can simply pass the parameters  describe in the Api doc.
ex  :  $this->pb->collection('coolCollection')->getFullList(200,['filter'=> $filter])
It can be used for all other function.
2023-02-22 10:55:46 +01:00
Martz
9c67639d2f implement doReqeust for dublicated code on request curl 2023-02-18 20:22:40 +01:00
Martz
8b748f4d73 add logic for get One and get First, update phpDocs 2023-02-18 19:30:26 +01:00
Martz
98ae821c59 update phpDocs 2023-02-18 19:21:13 +01:00
Martz
54f064093c add delete logic and rename authWithPassword to authAsAdmin 2023-02-18 18:06:02 +01:00
Martz
9224293de2 add token auth 2023-02-16 22:36:16 +01:00
Martz
2b8639223b add logic to auth as admin 2023-02-16 20:48:50 +01:00
Martz
49b63ca434 return request instead of collection 2023-02-16 19:40:08 +01:00
Martz
c586b4b9ff add User Collection, adapt crud, refactor crud, add readme 2023-02-05 20:06:44 +01:00
Martz
c8523b3b06 start with Collection Class 2023-02-05 17:55:36 +01:00