Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Api / Deep Context

Method Description
🔹 delete() Delete feature
🔹 read() Fetch expanded feature
🔹 search() Search features

📚 Deep Context API Reference

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

php -f delete.php

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

🔺 Back to top


read()

Retrieve feature model

#️⃣ Execute example in terminal

php -f read.php

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

\Kronup\Model\FeatureExpanded

🔺 Back to top


Get a list of feature models

#️⃣ Execute example in terminal

php -f search.php

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]

Return type

\Kronup\Model\DeepContextList

🔺 Back to top