Create flag link
Create a new flag link. Flag links let you reference external resources and associate them with your flags.
Path parameters
projectKey
The project key
featureFlagKey
The feature flag key
Headers
Authorization
Request
This endpoint expects an object.
key
The flag link key
integrationKey
The integration key for an integration whose manifest.json
includes the flagLink
capability, if this is a flag link for an existing integration. Do not include for URL flag links.
timestamp
The time, in Unix milliseconds, to mark this flag link as associated with the external URL. If omitted, defaults to the creation time of this flag link.
deepLink
The URL for the external resource you are linking the flag to
title
The title of the flag link
description
The description of the flag link
metadata
The metadata required by this integration in order to create a flag link, if this is a flag link for an existing integration. Defined in the integration’s manifest.json
file under flagLink
.
Response
Flag link response
_links
The location and content type of related resources
_id
The ID of this flag link
_deepLink
The URL for the external resource the flag is linked to
_timestamp
The time to mark this flag link as associated with the external URL. Defaults to the creation time of the flag link, but can be set to another time during creation.
_createdAt
Timestamp of when the flag link was created
_key
The flag link key
_integrationKey
The integration key for an integration whose manifest.json
includes the flagLink
capability, if this is a flag link for an existing integration
title
The title of the flag link
description
The description of the flag link
_metadata
The metadata required by this integration in order to create a flag link, if this is a flag link for an existing integration. Defined in the integration’s manifest.json
file under flagLink
.
_member
Details on the member associated with this flag link