Added Ocapi settings example json

This commit is contained in:
Max Gialanella 2021-12-22 11:21:12 -07:00
parent 21978218b6
commit 0825ca85a7

View 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
}
]
}
]
}