このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Return a list of environments for the specified project.

Inputs

フィールド

種類

説明

projectKey [required]

string

The project key.

limit

number

The number of environments to return in the response.

default: 20

query

[string]

A list of strings that match against the environments' names and keys. It is not case sensitive. It filters the list of environments whose names or keys match all the query strings. Each string cannot contain “,”.

tags

A list of environment tags. It filters the list of environments that have all of the tags in the list. Each tag cannot contain “,” or “+”.

Outputs

Expand All

フィールド

種類

説明

environments [required]

[object]

_links [required]

object

Links to other resources within the API. Includes the URL and content type of those resources

_id [required]

string

key [required]

string

A project-unique key for the new environment.

name [required]

string

A human-friendly name for the new environment.

apiKey [required]

string

API key to use with client-side SDKs.

mobileKey [required]

string

API key to use with mobile SDKs.

color [required]

string

The color used to indicate this environment in the UI.

defaultTtl [required]

number

The default time (in minutes) that the PHP SDK can cache feature flag rules locally.

secureMode [required]

boolean

Ensures that one end user of the client-side SDK cannot inspect the variations for another end user.

defaultTrackEvents [required]

boolean

Enables tracking detailed information for new flags by default.

requireComments [required]

boolean

Whether members who modify flags and segments through the LaunchDarkly user interface are required to add a comment

confirmChanges [required]

boolean

Whether members who modify flags and segments through the LaunchDarkly user interface are required to confirm those changes

tags [required]

[string]

A list of tags for this environment

approvalSettings

object

required [required]

boolean

If approvals are required for this environment.

bypassApprovalsForPendingChanges [required]

boolean

Whether to skip approvals for pending changes

minNumApprovals [required]

number

Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five.

canReviewOwnRequest [required]

boolean

Allow someone who makes an approval request to apply their own change.

canApplyDeclinedChanges [required]

boolean

Allow applying the change as long as at least one person has approved.

serviceKind [required]

string

Which service to use for managing approvals.

serviceConfig [required]

object

requiredApprovalTags [required]

[string]

Require approval only on flags with the provided tags. Otherwise all flags will require approval.