Skip to content

Commit 83bb8a8

Browse files
committed
adding config
1 parent 30bead4 commit 83bb8a8

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

config.dist.json

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"api" : {
44
"wpApiPosts": {
55
"getList": [{
6-
"per_page": 1
6+
"search": "_embed=true&per_page=1"
77
}],
88
"get": [2016],
99
"getMetaList": [2016],
@@ -18,20 +18,14 @@
1818
"wpApiCustom": {
1919
"movie": {
2020
"getList": [{
21-
"per_page": 1
21+
"search": "_embed=true&per_page=1"
2222
}],
23-
"get": [295]
24-
},
25-
"plane": {
26-
"getList": [{
27-
"per_page": 1
28-
}],
29-
"get": [295]
23+
"get": [2595]
3024
}
3125
},
3226
"wpApiPages": {
3327
"getList": [{
34-
"per_page": 1
28+
"search": "_embed=true&per_page=1"
3529
}],
3630
"get": [535],
3731
"getMetaList": [535],
@@ -41,13 +35,13 @@
4135
},
4236
"wpApiMedia": {
4337
"getList": [{
44-
"per_page": 1
38+
"search": "_embed=true&per_page=1"
4539
}],
46-
"get": [2032]
40+
"get": [2499]
4741
},
4842
"wpApiTypes": {
4943
"getList": [{
50-
"per_page": 1
44+
"search": "_embed=true&per_page=1"
5145
}],
5246
"get": ["attachment"]
5347
},
@@ -59,14 +53,13 @@
5953
"getList": [],
6054
"get": ["category"]
6155
},
62-
"wpApiTerms": {
63-
"getCategoryList": [],
64-
"getCategory": [2],
65-
"getTagList": [],
66-
"getTag": [11],
67-
"getCustomList": ["audience"],
68-
"getCustom": ["audience", 6]
69-
},
56+
"wpApiTerms": [{
57+
"getList": ["tags"],
58+
"get": ["tags", 11]
59+
},{
60+
"getList": ["categories"],
61+
"get": ["categories", 2]
62+
}],
7063
"wpApiUsers": {
7164
"getList": [],
7265
"get": [1],

0 commit comments

Comments
 (0)