Api / Deep Context
Method | Description |
---|---|
🔹 delete() | Delete feature |
🔹 read() | Fetch expanded feature |
🔹 search() | Search features |
Getting started
// Place your API Key 👇 here
$sdk = new \Kronup\Sdk();
// API Call
$sdk->api()->deepContext();
delete()
Delete a feature from Deep Context
#️⃣ Execute example in terminal
Request
DELETE
/deep-context/{featureId}
Type signature
(new \Kronup\Sdk())->api()->deepContext()->delete(
string $feature_id
): bool
Parameters
Name | Type | Description |
---|---|---|
$feature_id | string | Feature ID |
Return type
bool
read()
Retrieve feature model
#️⃣ Execute example in terminal
Request
GET
/deep-context/{featureId}
Type signature
(new \Kronup\Sdk())->api()->deepContext()->read(
string $feature_id
): \Kronup\Model\FeatureExpanded
Parameters
Name | Type | Description |
---|---|---|
$feature_id | string | Feature ID |
Return type
search()
Get a list of feature models
#️⃣ Execute example in terminal
Request
GET
/deep-context
Type signature
(new \Kronup\Sdk())->api()->deepContext()->search(
[ string $search_term, ]
[ int $page_number = 1, ]
[ int $page_size = 500 ]
): \Kronup\Model\DeepContextList
Parameters
Name | Type | Description |
---|---|---|
$search_term | string | Search term |
$page_number | int | [default to 1] |
$page_size | int | [default to 500] |