Create deployment event
Create deployment event
Headers
Authorization
Request
This endpoint expects an object.
projectKey
The project key
environmentKey
The environment key
applicationKey
The application key. This defines the granularity at which you want to view your insights metrics. Typically it is the name of one of the GitHub repositories that you use in this project.
LaunchDarkly automatically creates a new application each time you send a unique application key.
version
The application version. You can set the application version to any string that includes only letters, numbers, periods (.
), hyphens (-
), or underscores (_
).
We recommend setting the application version to at least the first seven characters of the SHA or to the tag of the GitHub commit for this deployment.
eventType
The event type
Allowed values:
applicationName
The application name. This defines how the application is displayed
applicationKind
The kind of application. Default: server
Allowed values:
versionName
The version name. This defines how the version is displayed
eventTime
The time, in Unix milliseconds, when the event occurred. If not included, the time will default to when the event is processed and stored in LaunchDarkly.
eventMetadata
A JSON object containing metadata about the event
deploymentMetadata
A JSON object containing metadata about the deployment