Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKY-6124 Minor docs updates for experiment #271

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ curl --request POST \
## Edit variant

```bash
PATCH https://experiment.amplitude.com/api/1/experiments/<id>/variants/
PATCH https://experiment.amplitude.com/api/1/experiments/<id>/variants/<variantKey>
```

Edit a variant for an experiment.
Expand All @@ -665,7 +665,7 @@ Edit a variant for an experiment.
|`key`| Optional | string | The variant key. |
|`description`| Optional | string | Description for the variant.|
|`name`| Optional | string | Name for the variant.|
|`payload`| Optional | string | Optional payload. Value must be a valid JSON element.|
|`payload`| Optional | string | Optional payload. Value must be a valid JSON element. This value replaces the existing value for the variant payload.|
|`rolloutWeight`| Optional | number | Rollout weight for non-targeted users.|

{{partial:admonition type="example" heading="Example request"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ Edit a variant for a flag.
|`key`| Optional | string | The variant key. |
|`description`| Optional | string | Description for the variant.|
|`name`| Optional | string | Name for the variant.|
|`payload`| Optional | string | Optional payload. Value must be a valid JSON element.|
|`payload`| Optional | string | Optional payload. Value must be a valid JSON element. This value replaces the existing value for the variant payload.|
|`rolloutWeight`| Optional | number | Rollout weight for non-targeted users.|

### Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@ This table describes the various permissions included with each permission level
| Add user to a project | | | Y | Y |
| Edit project role | | | Y | Y |
| Add user to organization | | | | Y |
| Edit organization role | | | | Y |
| Edit organization role | | | | Y |

| **Other** | Viewer | Member | Manager (Project) | Admin (Org) |
| ------------------------ | ------ | ------ | ----------------- | ----------- |
| View Project API Key | Y | Y | Y | Y |
Loading