File tree 2 files changed +29
-7
lines changed
2 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ composer required restjs/php-rest-api
17
17
### API Routes
18
18
| HTTP Method | Path | Action | Scope | Desciption |
19
19
| ----- | ----- | ----- | ---- | ------------- |
20
- | GET | /<table_name > | index | data : list | Get all data
21
- | POST | /<table_name > | store | data : create | Create an data
22
- | GET | /<table_name >/{_ id} | show | data : read | Fetch an data by id
23
- | PUT | /<table_name >/{_ id} | update | data : write | Update an data by id
24
- | DELETE | /<table_name >/{_ id} | destroy | data : delete | Delete an data by id
20
+ | GET | /<collection_name > | index | document : list | Get all document
21
+ | POST | /<collection_name > | store | document : create | Create an document
22
+ | GET | /<collection_name >/{_ id} | show | document : read | Fetch an document by id
23
+ | PUT | /<collection_name >/{_ id} | update | document : write | Update an document by id
24
+ | DELETE | /<collection_name >/{_ id} | destroy | document : delete | Delete an document by id
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " restjs/php-rest-api" ,
3
3
"description" : " Create Rest API Application" ,
4
+ "type" : " package" ,
4
5
"keywords" : [
5
6
" php" ,
6
7
" composer" ,
17
18
"RestJS\\ PhpRestApi\\ " : " src/"
18
19
}
19
20
},
20
-
21
+ "repositories" : [
22
+ {
23
+ "type" : " package" ,
24
+ "package" : {
25
+ "name" : " RestJS/php-rest-api" ,
26
+ "version" : " v2" ,
27
+ "source" : {
28
+ "url" : " https://github.com/fullstackondemand/php-rest-api.git" ,
29
+ "type" : " git" ,
30
+ "reference" : " master"
31
+ }
32
+ }
33
+ }
34
+ ],
35
+ "authors" : [
36
+ {
37
+ "name" : " Pramod Singh" ,
38
+ "email" : " spramodgusain@gmail.com" ,
39
+ "homepage" : " https://github.com/fullstackondemand" ,
40
+ "role" : " Developer"
41
+ }
42
+ ],
21
43
"minimum-stability" : " dev" ,
22
44
"prefer-stable" : true ,
23
45
"require" : {
26
48
"alcaeus/mongo-php-adapter" : " ^1.2" ,
27
49
"vlucas/phpdotenv" : " ^5.6"
28
50
}
29
- }
51
+ }
You can’t perform that action at this time.
0 commit comments