Added Ocapi settings example json
This commit is contained in:
parent
21978218b6
commit
0825ca85a7
32
OCAPI_Settings_Examples/OCAPI_SHOP_Products_example.json
Normal file
32
OCAPI_Settings_Examples/OCAPI_SHOP_Products_example.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"_v": "21.9a",
|
||||
"clients": [
|
||||
{
|
||||
"allowed_origins": [
|
||||
"http://www.sitegenesis.com",
|
||||
"https://secure.sitegenesis.com"
|
||||
],
|
||||
"client_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"resources": [
|
||||
{
|
||||
"resource_id": "/product_search",
|
||||
"methods": [
|
||||
"get"
|
||||
],
|
||||
"read_attributes": "(**)",
|
||||
"write_attributes": "(**)",
|
||||
"cache_time": 900
|
||||
},
|
||||
{
|
||||
"resource_id": "/products/*",
|
||||
"methods": [
|
||||
"get"
|
||||
],
|
||||
"read_attributes": "(**)",
|
||||
"write_attributes": "(**)",
|
||||
"cache_time": 900
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user