Create View

Create a new View in the given project.

Path parameters

projectKeystringRequired

Headers

AuthorizationstringRequired
LD-API-Version"beta"Required
Version of the endpoint.

Request

This endpoint expects an object.
keystringRequired

Unique key for the view within the account/project

namestringRequired

Human-readable name for the view

descriptionstringOptionalDefaults to
Optional detailed description of the view
generateSdkKeysbooleanOptionalDefaults to false
Whether to generate SDK keys for this view
maintainerIdstringOptional

Member ID of the maintainer for this view. Only one of maintainerId or maintainerTeamKey can be specified.

maintainerTeamKeystringOptional

Key of the maintainer team for this view. Only one of maintainerId or maintainerTeamKey can be specified.

tagslist of stringsOptional
Tags associated with this view

Response

Successful response
idstring
Unique ID of this view
accountIdstring
ID of the account that owns this view
projectIdstring
ID of the project this view belongs to
projectKeystring
Key of the project this view belongs to
keystring

Unique key for the view within the account/project

namestring

Human-readable name for the view

descriptionstring
Optional detailed description of the view
generateSdkKeysboolean

Whether to generate SDK keys for this view (defaults to false)

versioninteger
Version number for tracking changes
tagslist of strings
Tags associated with this view
createdAtlong
updatedAtlong
archivedboolean
Whether this view is archived
deletedboolean
Whether this view is deleted
_accessobject or null
archivedAtlong or null
deletedAtlong or null
maintainerobject or null
flagsSummaryobject or null
segmentsSummaryobject or null
parentsobject or null
childrenobject or null
all_flagsobject or null
all_segmentsobject or null

Errors