Skip to content

Instantly share code, notes, and snippets.

@ignamiguel
Last active September 5, 2018 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ignamiguel/e22e5d12193f7a96780c59d8fb52f1bd to your computer and use it in GitHub Desktop.
Save ignamiguel/e22e5d12193f7a96780c59d8fb52f1bd to your computer and use it in GitHub Desktop.
#%RAML 1.0 NamedExample
value: {
"items": [
{
"name": "Show new navbar",
"kind": "boolean",
"description": "",
"key": "show-new-navbar",
"creationDate": 1522270536312,
"includeInSnippet": true,
"variations": [
{
"value": true
},
{
"value": false
}
],
"temporary": true,
"tags": [
"integration-tests"
],
"_links": {
"parent": {
"href": "/api/v2/flags/demo-project",
"type": "application/json"
},
"self": {
"href": "/api/v2/flags/demo-project/show-new-navbar",
"type": "application/json"
}
},
"maintainerId": "5ababbd068b4d92ab6b6fa6c",
"_maintainer": {
"_links": {
"self": {
"href": "/api/v2/members/5ababbd068b4d92ab6b6fa6c",
"type": "application/json"
}
},
"_id": "5ababbd068b4d92ab6b6fa6c",
"role": "writer",
"email": "mail@mail.com"
},
"goalIds": [],
"customProperties": {},
"environments": {
"production": {
"on": true,
"archived": false,
"salt": "053ad4c25acf4a31a37c6520c00786b3",
"sel": "ffbaa1900dec445e810c13a4fe402976",
"lastModified": 1522270536316,
"version": 22,
"targets": [
{
"values": [
"3c82b1de-13c6-4e41-9312-1570e8da3fea"
],
"variation": 0
}
],
"rules": [
{
"_id": "b2336ce0-9176-4117-b9a7-f285e621b2b7",
"variation": 0,
"clauses": [
{
"attribute": "organizationId",
"op": "in",
"values": [
"e391ca1a-41ef-49a4-88b3-ae1106af1868",
],
"negate": false
}
]
},
{
"_id": "0c2da258-70d9-4166-90bd-0d574b3f2be4",
"variation": 0,
"clauses": [
{
"attribute": "organizationId",
"op": "in",
"values": [
"d1e5bfd5-31ba-4d5d-8433-807d831f7be0",
],
"negate": false
}
]
}
],
"fallthrough": {
"variation": 1
},
"offVariation": 1,
"prerequisites": [],
"_site": {
"href": "/demo-project/production/features/show-new-navbar",
"type": "text/html"
},
"_environmentName": "prod",
"trackEvents": false,
"_debugEventsUntilDate": null
}
}
}
],
"_links": {
"self": {
"href": "/api/v2/flags/demo-project",
"type": "application/json"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment