Skip to content

Commit 8c61b62

Browse files
author
LaunchDarklyReleaseBot
committed
Version 10.0.0 automatically generated from ld-openapi.
1 parent feb53c5 commit 8c61b62

File tree

805 files changed

+31286
-6925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

805 files changed

+31286
-6925
lines changed

.openapi-generator/FILES

Lines changed: 100 additions & 22 deletions
Large diffs are not rendered by default.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.3.0
1+
6.0.0

README.md

Lines changed: 113 additions & 142 deletions
Large diffs are not rendered by default.

docs/AccessTokensApi.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,11 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
420420
],
421421
inline_role=[
422422
StatementPost(
423-
resources=[
424-
"resources_example",
425-
],
423+
resources=["proj/*:env/*:flag/*;testing-tag"],
426424
not_resources=[
427425
"not_resources_example",
428426
],
429-
actions=[
430-
"actions_example",
431-
],
427+
actions=["*"],
432428
not_actions=[
433429
"not_actions_example",
434430
],

docs/AccountMembersApi.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void (empty response body)
103103
104104
Get account member
105105

106-
Get a single account member by ID. `me` is a reserved value for the `id` parameter and returns the caller's member information.
106+
Get a single account member by member ID. `me` is a reserved value for the `id` parameter and returns the caller's member information.
107107

108108
### Example
109109

@@ -189,7 +189,7 @@ Name | Type | Description | Notes
189189
190190
List account members
191191

192-
Return a list of account members. By default, this returns the first 20 members. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the returned `_links` field. These links are not present if the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page. ### Filtering members LaunchDarkly supports three fields for filters: `query`, `role`, and `lastSeen`: - `query` is a string that matches against the members' emails and names. It is not case sensitive. - `role` is a `|` separated list of roles and custom roles. It filters the list to members who have any of the roles in the list. For the purposes of this filtering, `Owner` counts as `Admin`. - `lastSeen` is a JSON object in one of the following formats: - `{\"never\": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM. - `{\"noData\": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps. - `{\"before\": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds. For example, the filter `query:abc,role:admin|customrole` matches members with the string `abc` in their email or name, ignoring case, who also are either an an `Owner` or `Admin` or have the custom role `customrole`. ### Sorting members LaunchDarkly supports two fields for sorting: `displayName` and `lastSeen`: - `displayName` sorts by first + last name, using the member's email if no name is set. - `lastSeen` sorts by the `_lastSeen` property. LaunchDarkly considers members that have never been seen or have no data the oldest.
192+
Return a list of account members. By default, this returns the first 20 members. Page through this list with the `limit` parameter and by following the `first`, `prev`, `next`, and `last` links in the returned `_links` field. These links are not present if the pages they refer to don't exist. For example, the `first` and `prev` links will be missing from the response on the first page. ### Filtering members LaunchDarkly supports three fields for filters: `query`, `role`, and `lastSeen`: - `query` is a string that matches against the members' emails and names. It is not case sensitive. - `role` is a `|` separated list of roles and custom roles. It filters the list to members who have any of the roles in the list. For the purposes of this filtering, `Owner` counts as `Admin`. - `team` is a string that matches against the key of the teams the members belong to. It is not case sensitive. - `lastSeen` is a JSON object in one of the following formats: - `{\"never\": true}` - Members that have never been active, such as those who have not accepted their invitation to LaunchDarkly, or have not logged in after being provisioned via SCIM. - `{\"noData\": true}` - Members that have not been active since LaunchDarkly began recording last seen timestamps. - `{\"before\": 1608672063611}` - Members that have not been active since the provided value, which should be a timestamp in Unix epoch milliseconds. For example, the filter `query:abc,role:admin|customrole` matches members with the string `abc` in their email or name, ignoring case, who also are either an an `Owner` or `Admin` or have the custom role `customrole`. ### Sorting members LaunchDarkly supports two fields for sorting: `displayName` and `lastSeen`: - `displayName` sorts by first + last name, using the member's email if no name is set. - `lastSeen` sorts by the `_lastSeen` property. LaunchDarkly considers members that have never been seen or have no data the oldest.
193193

194194
### Example
195195

@@ -227,7 +227,7 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
227227
# Create an instance of the API class
228228
api_instance = account_members_api.AccountMembersApi(api_client)
229229
limit = 1 # int | The number of members to return in the response. Defaults to 20. (optional)
230-
offset = 1 # int | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items. (optional)
230+
offset = 1 # int | Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
231231
filter = "filter_example" # str | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above. (optional)
232232
sort = "sort_example" # str | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. (optional)
233233

@@ -247,7 +247,7 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
247247
Name | Type | Description | Notes
248248
------------- | ------------- | ------------- | -------------
249249
**limit** | **int**| The number of members to return in the response. Defaults to 20. | [optional]
250-
**offset** | **int**| Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items. | [optional]
250+
**offset** | **int**| Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. | [optional]
251251
**filter** | **str**| A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above. | [optional]
252252
**sort** | **str**| A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. | [optional]
253253

@@ -422,9 +422,7 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
422422
api_instance = account_members_api.AccountMembersApi(api_client)
423423
id = "id_example" # str | The member ID
424424
member_teams_post_input = MemberTeamsPostInput(
425-
team_keys=[
426-
"team_keys_example",
427-
],
425+
team_keys=["team1","team2"],
428426
) # MemberTeamsPostInput |
429427

430428
# example passing only required values which don't have defaults set
@@ -476,7 +474,7 @@ Name | Type | Description | Notes
476474
477475
Invite new members
478476

479-
> ### Full use of this API resource is only available to accounts with paid subscriptions > > The ability to bulk invite members is a paid feature. Single members may be invited if not on a paid plan. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. Requests to create account members will not work if SCIM is enabled for the account. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
477+
> ### Full use of this API resource is only available to customers on an Enterprise plan > > The ability to bulk invite members is an Enterprise feature. On a starter or Pro plan? You can invite members individually. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. Requests to create account members will not work if SCIM is enabled for the account. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
480478

481479
### Example
482480

@@ -517,14 +515,12 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
517515
api_instance = account_members_api.AccountMembersApi(api_client)
518516
new_member_form_list_post = NewMemberFormListPost([
519517
NewMemberForm(
520-
email="email_example",
521-
password="password_example",
522-
first_name="first_name_example",
523-
last_name="last_name_example",
524-
role="role_example",
525-
custom_roles=[
526-
"custom_roles_example",
527-
],
518+
519+
password="***",
520+
first_name="Sandy",
521+
last_name="Smith",
522+
role="reader",
523+
custom_roles=["customRole1","customRole2"],
528524
),
529525
]) # NewMemberFormListPost |
530526

0 commit comments

Comments
 (0)