provider Views (beta) GET /api/v2/projects/{projectKey}/views/{viewKey}
@utdk/launchdarkly /api/v2/projects/{projectKey}/views/{viewKey}
Get view
Retrieve a specific view by its key.
LD-API-Version header required
Version of the endpoint.
enum: beta
projectKey path required
string
viewKey path required
string
sort query
A sort to apply to the list of views.
enum: key, name, updatedAt
limit query
The number of views to return.
integer
offset query
Where to start in the list. Use this 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`.
integer
filter query
A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals).
string
expand query
A comma-separated list of fields to expand.
array

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getview
GET/api/v2/projects/{projectKey}/views/{viewKey}
Retrieve a specific view by its key.

Parameters

required
required

A sort to apply to the list of views.

The number of views to return.

Where to start in the list. Use this 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`.

A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals).

A comma-separated list of fields to expand.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getview()