Create View
Create a new View in the given project.
Path parameters
projectKey
Headers
Authorization
LD-API-Version
Version of the endpoint.
Request
This endpoint expects an object.
key
Unique key for the view within the account/project
name
Human-readable name for the view
description
Optional detailed description of the view
generateSdkKeys
Whether to generate SDK keys for this view
maintainerId
Member ID of the maintainer for this view. Only one of maintainerId
or maintainerTeamKey
can be specified.
maintainerTeamKey
Key of the maintainer team for this view. Only one of maintainerId
or maintainerTeamKey
can be specified.
Response
Successful response
id
Unique ID of this view
accountId
ID of the account that owns this view
projectId
ID of the project this view belongs to
projectKey
Key of the project this view belongs to
key
Unique key for the view within the account/project
name
Human-readable name for the view
description
Optional detailed description of the view
generateSdkKeys
Whether to generate SDK keys for this view (defaults to false)
version
Version number for tracking changes
createdAt
updatedAt
archived
Whether this view is archived
deleted
Whether this view is deleted
_access
_links
The location and content type of related resources
archivedAt
deletedAt
maintainer
flagsSummary
segmentsSummary
parents
children
all_flags
all_segments