curl --location --request GET 'https://app.launchdarkly.com/api/v2/flags//'
{
"_links": {
"next": {
"href": "/api/v2/endpoint",
"type": "application/json"
},
"self": {
"href": "/api/v2/endpoint",
"type": "application/json"
}
},
"_maintainer": {
"_id": "5a580a01b4ff89217bdf9dc1",
"_lastSeen": 1469326565348,
"_lastSeenMetadata": {
"tokenId": "5fd2a1ee05600316d5cb3e96"
},
"_links": {
"next": {
"href": "/api/v2/endpoint",
"type": "application/json"
},
"self": {
"href": "/api/v2/endpoint",
"type": "application/json"
}
},
"_pendingInvite": true,
"_verified": true,
"customRoles": [
"5a580a01b4ff89217bdf9dc1"
],
"email": "user@launchdarkly.com",
"firstName": "Alan",
"isBeta": true,
"lastName": "Turing",
"role": "writer"
},
"_version": 23,
"archived": false,
"archivedDate": 1443652232590,
"clientSideAvailability": {
"usingEnvironmentId": true,
"usingMobileKey": true
},
"creationDate": 1443652232590,
"customProperties": {
"bugs": {
"name": "Issue tracker ids",
"value": [
"123",
"456"
]
},
"deprecated": {
"name": "Deprecated Date",
"value": []
}
},
"defaults": {
"offVariation": 0,
"onVariation": 0
},
"description": "This flag controls whether test feature is turned on or not.",
"environments": {
"property1": {
"_environmentName": "string",
"_site": {
"href": "/features/sort.order",
"type": "text/html"
},
"archived": true,
"fallthrough": {
"rollout": {
"bucketBy": "string",
"variations": [
{
"variation": 0,
"weight": 0
}
]
},
"variation": 0
},
"lastModified": 1469326565348,
"offVariation": 0,
"on": true,
"prerequisites": [
{
"key": "string",
"variation": 0
}
],
"rules": [
{
"_id": "string",
"clauses": [
{
"_id": "string",
"attribute": "groups",
"negate": true,
"op": "in",
"values": [
"Top Customers"
]
}
],
"description": "string",
"rollout": {
"bucketBy": "string",
"variations": [
{
"variation": 0,
"weight": 0
}
]
},
"trackEvents": true,
"variation": 0
}
],
"salt": "YWx0ZXJuYXRlLnBhZ2U=",
"sel": "45501b9314dc4641841af774cb038b96",
"targets": [
{
"values": [
"\"1461797806427-7-115540266\", \"00142875-a39d-4028-a3b7-987ccd151649\""
],
"variation": 0
}
],
"trackEvents": false,
"trackEventsFallthrough": true,
"version": 65
},
"property2": {
"_environmentName": "string",
"_site": {
"href": "/features/sort.order",
"type": "text/html"
},
"archived": true,
"fallthrough": {
"rollout": {
"bucketBy": "string",
"variations": [
{
"variation": 0,
"weight": 0
}
]
},
"variation": 0
},
"lastModified": 1469326565348,
"offVariation": 0,
"on": true,
"prerequisites": [
{
"key": "string",
"variation": 0
}
],
"rules": [
{
"_id": "string",
"clauses": [
{
"_id": "string",
"attribute": "groups",
"negate": true,
"op": "in",
"values": [
"Top Customers"
]
}
],
"description": "string",
"rollout": {
"bucketBy": "string",
"variations": [
{
"variation": 0,
"weight": 0
}
]
},
"trackEvents": true,
"variation": 0
}
],
"salt": "YWx0ZXJuYXRlLnBhZ2U=",
"sel": "45501b9314dc4641841af774cb038b96",
"targets": [
{
"values": [
"\"1461797806427-7-115540266\", \"00142875-a39d-4028-a3b7-987ccd151649\""
],
"variation": 0
}
],
"trackEvents": false,
"trackEventsFallthrough": true,
"version": 65
}
},
"goalIds": [
"d7239405bd89c930e885aa76",
"405bc930e88d7239d895aa76"
],
"includeInSnippet": false,
"key": "test-feature",
"kind": "boolean",
"maintainerId": "561c579cd8fd5c2704000001",
"name": "Test Feature",
"tags": [],
"temporary": false,
"variations": [
{
"value": "a"
},
{
"value": "b"
}
]
}