Client configurations
Manage Client Configurations
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
OK
GET /configuration/{tenant}/clients HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
"saas-ag.caas-indexing-service-client"
]
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Desired client's unique identifier.
OK
GET /configuration/{tenant}/clients/{client}/configurations HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
OK
[
{
"_id": "saas-ag.caas-indexing-service-client_algolia_activation",
"client": "saas-ag.caas-indexing-service-client",
"key": "algolia_activation",
"value": true
},
{
"_id": "saas-ag.caas-indexing-service-client_indexing_configuration",
"client": "saas-ag.caas-indexing-service-client",
"key": "indexing_configuration",
"value": {
"activePublishedProductIndexing": true,
"activeNonPublishedProductIndexing": true
}
}
]
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Desired client's unique identifier.
Client configuration's unique identifier.
The client to which the configuration applies.
Client configuration's key.
Client configuration's value. It can be any valid JSON object.
Created
Bad Request
Conflict
POST /configuration/{tenant}/clients/{client}/configurations HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 56
[
{
"client": "test_client",
"key": "test_key",
"value": true
}
]
[
{
"_id": "test_client_test_key",
"client": "test_client",
"key": "test_key",
"value": true
}
]
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Desired client's unique identifier.
Desired configuration's key.
OK
GET /configuration/{tenant}/clients/{client}/configurations/{propertyKey} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"_id": "saas-ag.caas-indexing-service-client_indexing_configuration",
"client": "saas-ag.caas-indexing-service-client",
"key": "indexing_configuration",
"value": {
"activePublishedProductIndexing": true,
"activeNonPublishedProductIndexing": true
}
}
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Desired client's unique identifier.
Desired configuration's key.
Client configuration's unique identifier.
The client to which the configuration applies.
Client configuration's key.
Client configuration's value. It can be any valid JSON object.
OK
Bad Request
Conflict
PUT /configuration/{tenant}/clients/{client}/configurations/{propertyKey} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"id": "test_client_test_key",
"client": "test_client",
"key": "test_key",
"value": false
}
{
"_id": "test_client_test_key",
"client": "test_client",
"key": "test_key",
"value": false
}
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Desired client's unique identifier.
Desired configuration's key.
No Content
Bad Request
Conflict
DELETE /configuration/{tenant}/clients/{client}/configurations/{propertyKey} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Was this helpful?