Skip to content

Commit

Permalink
[code] Features deprecating value items
Browse files Browse the repository at this point in the history
  • Loading branch information
kronup committed Sep 2, 2023
1 parent 864edb4 commit e4bde8d
Show file tree
Hide file tree
Showing 75 changed files with 796 additions and 796 deletions.
34 changes: 17 additions & 17 deletions docs/Api/AssumptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $sdk->api()->assumptions();

## `create()`

> Add an assumption to value item
> Add an assumption to feature

{: .new-title }
Expand All @@ -40,15 +40,15 @@ $sdk->api()->assumptions();
### Request

> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms`
> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms`
### Type signature

```php
(new \Kronup\Sdk())->api()->assumptions()->create(
string $team_id,
string $channel_id,
string $item_id,
string $feature_id,
\Kronup\Model\PayloadAssmCreate $payload_assm_create
): \Kronup\Model\Assumption
```
Expand All @@ -59,7 +59,7 @@ Name | Type | Description
------------- | ------------- | -------------
**$team_id** | **string** | Team ID
**$channel_id** | **string** | Channel ID
**$item_id** | **string** | Value Item ID
**$feature_id** | **string** | Feature ID
**$payload_assm_create** | [**\Kronup\Model\PayloadAssmCreate**](../../Model/PayloadAssmCreate) |

### Return type
Expand All @@ -73,7 +73,7 @@ Name | Type | Description

## `delete()`

> Delete an assumption from a value item
> Delete an assumption from a feature

{: .new-title }
Expand All @@ -83,15 +83,15 @@ Name | Type | Description
### Request

> **DELETE** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}`
> **DELETE** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}`
### Type signature

```php
(new \Kronup\Sdk())->api()->assumptions()->delete(
string $team_id,
string $channel_id,
string $item_id,
string $feature_id,
string $assm_id
): bool
```
Expand All @@ -102,7 +102,7 @@ Name | Type | Description
------------- | ------------- | -------------
**$team_id** | **string** | Team ID
**$channel_id** | **string** | Channel ID
**$item_id** | **string** | Value item ID
**$feature_id** | **string** | Feature ID
**$assm_id** | **string** | Assumption ID

### Return type
Expand All @@ -126,15 +126,15 @@ Name | Type | Description
### Request

> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}/exp`
> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}/exp`
### Type signature

```php
(new \Kronup\Sdk())->api()->assumptions()->experiment(
string $team_id,
string $channel_id,
string $item_id,
string $feature_id,
string $assm_id,
\Kronup\Model\PayloadAssmExperiment $payload_assm_experiment
): \Kronup\Model\Assumption
Expand All @@ -146,7 +146,7 @@ Name | Type | Description
------------- | ------------- | -------------
**$team_id** | **string** | Team ID
**$channel_id** | **string** | Channel ID
**$item_id** | **string** | Value item ID
**$feature_id** | **string** | Feature ID
**$assm_id** | **string** | Assumption ID
**$payload_assm_experiment** | [**\Kronup\Model\PayloadAssmExperiment**](../../Model/PayloadAssmExperiment) |

Expand All @@ -171,15 +171,15 @@ Name | Type | Description
### Request

> **GET** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms`
> **GET** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms`
### Type signature

```php
(new \Kronup\Sdk())->api()->assumptions()->list(
string $team_id,
string $channel_id,
string $item_id,
string $feature_id,
[ int $page_number = 1, ]
[ int $page_size = 500 ]
): \Kronup\Model\AssumptionsList
Expand All @@ -191,7 +191,7 @@ Name | Type | Description
------------- | ------------- | -------------
**$team_id** | **string** | Team ID
**$channel_id** | **string** | Channel ID
**$item_id** | **string** | Value Item ID
**$feature_id** | **string** | Feature ID
**$page_number** | **int** | [default to 1]
**$page_size** | **int** | [default to 500]

Expand All @@ -216,15 +216,15 @@ Name | Type | Description
### Request

> **POST** `/teams/{teamId}/channels/{channelId}/items/{itemId}/assms/{assmId}`
> **POST** `/teams/{teamId}/channels/{channelId}/features/{featureId}/assms/{assmId}`
### Type signature

```php
(new \Kronup\Sdk())->api()->assumptions()->update(
string $team_id,
string $channel_id,
string $item_id,
string $feature_id,
string $assm_id,
\Kronup\Model\PayloadAssmUpdate $payload_assm_update
): \Kronup\Model\Assumption
Expand All @@ -236,7 +236,7 @@ Name | Type | Description
------------- | ------------- | -------------
**$team_id** | **string** | Team ID
**$channel_id** | **string** | Channel ID
**$item_id** | **string** | Value item ID
**$feature_id** | **string** | Feature ID
**$assm_id** | **string** | Assumption ID
**$payload_assm_update** | [**\Kronup\Model\PayloadAssmUpdate**](../../Model/PayloadAssmUpdate) |

Expand Down
28 changes: 14 additions & 14 deletions docs/Api/DeepContextApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ layout: page

Method | Description
------------- | -------------
🔹 [**delete()**](#delete) | Delete value item
🔹 [**read()**](#read) | Fetch expanded value item
🔹 [**search()**](#search) | Search value items
🔹 [**delete()**](#delete) | Delete feature
🔹 [**read()**](#read) | Fetch expanded feature
🔹 [**search()**](#search) | Search features


📚 [Deep Context API Reference](https://api.kronup.com/#tag/Deep-Context)
Expand All @@ -28,7 +28,7 @@ $sdk->api()->deepContext();

## `delete()`

> Delete a value item from Deep Context
> Delete a feature from Deep Context

{: .new-title }
Expand All @@ -38,21 +38,21 @@ $sdk->api()->deepContext();
### Request

> **DELETE** `/deep-context/{itemId}`
> **DELETE** `/deep-context/{featureId}`
### Type signature

```php
(new \Kronup\Sdk())->api()->deepContext()->delete(
string $item_id
string $feature_id
): bool
```

### Parameters

Name | Type | Description
------------- | ------------- | -------------
**$item_id** | **string** | Value item ID
**$feature_id** | **string** | Feature ID

### Return type

Expand All @@ -65,7 +65,7 @@ Name | Type | Description

## `read()`

> Retrieve value item model
> Retrieve feature model

{: .new-title }
Expand All @@ -75,25 +75,25 @@ Name | Type | Description
### Request

> **GET** `/deep-context/{itemId}`
> **GET** `/deep-context/{featureId}`
### Type signature

```php
(new \Kronup\Sdk())->api()->deepContext()->read(
string $item_id
): \Kronup\Model\ValueItemExpanded
string $feature_id
): \Kronup\Model\FeatureExpanded
```

### Parameters

Name | Type | Description
------------- | ------------- | -------------
**$item_id** | **string** | Value item ID
**$feature_id** | **string** | Feature ID

### Return type

[**\Kronup\Model\ValueItemExpanded**](../../Model/ValueItemExpanded)
[**\Kronup\Model\FeatureExpanded**](../../Model/FeatureExpanded)

[🔺 Back to top](#top)

Expand All @@ -102,7 +102,7 @@ Name | Type | Description

## `search()`

> Get a list of value item models
> Get a list of feature models

{: .new-title }
Expand Down
Loading

0 comments on commit e4bde8d

Please sign in to comment.