Feature Toggle Service v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
A service that provides feature toggle functionality
Base URLs:
Authentication
- HTTP Authentication, scheme: bearer
FeatureValuesController
FeatureValuesController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /feature-values/count
| Permissions |
| ViewFeatureValues |
| 9 |
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
FeatureValues model count |
loopback.Count |
FeatureValuesController.replaceById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PUT /feature-values/{id}
| Permissions |
| UpdateFeatureValues |
| 11 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
FeatureValues |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
FeatureValues PUT success |
None |
FeatureValuesController.updateById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /feature-values/{id}
| Permissions |
| UpdateFeatureValues |
| 11 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
FeatureValuesPartial |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
FeatureValues PATCH success |
None |
FeatureValuesController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /feature-values/{id}
| Permissions |
| ViewFeatureValues |
| 9 |
Parameters
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Responses
FeatureValuesController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /feature-values/{id}
| Permissions |
| DeleteFeatureValues |
| 12 |
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
FeatureValues DELETE success |
None |
FeatureValuesController.create
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /feature-values
| Permissions |
| CreateFeatureValues |
| 10 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Parameters
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
FeatureValues model instance |
FeatureValues |
FeatureValuesController.updateAll
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /feature-values
| Permissions |
| UpdateFeatureValues |
| 11 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
| body |
body |
FeatureValuesPartial |
false |
none |
Example responses
200 Response
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
FeatureValues PATCH success count |
loopback.Count |
FeatureValuesController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/feature-values',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /feature-values
| Permissions |
| ViewFeatureValues |
| 9 |
Parameters
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of FeatureValues model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[FeatureValuesWithRelations] |
false |
none |
[The feature-values table (tsType: FeatureValuesWithRelations, schemaOptions: { includeRelations: true })] |
| » FeatureValuesWithRelations |
FeatureValuesWithRelations |
false |
none |
The feature-values table (tsType: FeatureValuesWithRelations, schemaOptions: { includeRelations: true }) |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
string(date-time)¦null |
false |
none |
none |
| »» deletedBy |
string¦null |
false |
none |
none |
| »» createdOn |
string(date-time) |
false |
none |
none |
| »» modifiedOn |
string(date-time) |
false |
none |
none |
| »» createdBy |
string |
false |
none |
none |
| »» modifiedBy |
string |
false |
none |
none |
| »» id |
string |
false |
none |
none |
| »» featureKey |
string |
false |
none |
none |
| »» strategyKey |
string |
false |
none |
none |
| »» strategyEntityId |
string |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» value |
string |
false |
none |
none |
FeatureController
FeatureController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /features/count
| Permissions |
| ViewFeature |
| 1 |
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
FeatureController.replaceById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PUT /features/{id}
| Permissions |
| UpdateFeature |
| 3 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
Feature |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Feature PUT success |
None |
FeatureController.updateById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /features/{id}
| Permissions |
| UpdateFeature |
| 3 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
FeaturePartial |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Feature PATCH success |
None |
FeatureController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /features/{id}
| Permissions |
| ViewFeature |
| 1 |
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| filter |
query |
features.Filter |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Responses
FeatureController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/features/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /features/{id}
| Permissions |
| DeleteFeature |
| 4 |
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Feature DELETE success |
None |
FeatureController.create
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /features
| Permissions |
| CreateFeature |
| 2 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| body |
body |
NewFeature |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Feature model instance |
Feature |
FeatureController.updateAll
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /features
| Permissions |
| UpdateFeature |
| 3 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
| body |
body |
FeaturePartial |
false |
none |
Example responses
200 Response
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Feature PATCH success count |
loopback.Count |
FeatureController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/features',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /features
| Permissions |
| ViewFeature |
| 1 |
Parameters
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of Feature model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[FeatureWithRelations] |
false |
none |
[The features table (tsType: FeatureWithRelations, schemaOptions: { includeRelations: true })] |
| » FeatureWithRelations |
FeatureWithRelations |
false |
none |
The features table (tsType: FeatureWithRelations, schemaOptions: { includeRelations: true }) |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
string(date-time)¦null |
false |
none |
none |
| »» deletedBy |
string¦null |
false |
none |
none |
| »» createdOn |
string(date-time) |
false |
none |
none |
| »» modifiedOn |
string(date-time) |
false |
none |
none |
| »» createdBy |
string |
false |
none |
none |
| »» modifiedBy |
string |
false |
none |
none |
| »» id |
string |
false |
none |
none |
| »» name |
string |
true |
none |
none |
| »» key |
string |
true |
none |
none |
| »» description |
string |
false |
none |
none |
| »» defaultValue |
string |
false |
none |
none |
| »» type |
string |
false |
none |
none |
| »» metadata |
object |
false |
none |
none |
StrategyController
StrategyController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /strategies/count
| Permissions |
| ViewStrategy |
| 5 |
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
Example responses
200 Response
Responses
StrategyController.replaceById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PUT /strategies/{id}
| Permissions |
| UpdateStrategy |
| 7 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
Strategy |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Strategy PUT success |
None |
StrategyController.updateById
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /strategies/{id}
| Permissions |
| UpdateStrategy |
| 7 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| body |
body |
StrategyPartial |
false |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Strategy PATCH success |
None |
StrategyController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /strategies/{id}
| Permissions |
| ViewStrategy |
| 5 |
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
| filter |
query |
strategies.Filter |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Responses
StrategyController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/strategies/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /strategies/{id}
| Permissions |
| DeleteStrategy |
| 8 |
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string |
true |
none |
Responses
| Status |
Meaning |
Description |
Schema |
| 204 |
No Content |
Strategy DELETE success |
None |
StrategyController.create
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /strategies
| Permissions |
| CreateStrategy |
| 6 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| body |
body |
NewStrategy |
false |
none |
Example responses
200 Response
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Strategy model instance |
Strategy |
StrategyController.updateAll
Code samples
| const inputBody = '{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const inputBody = {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /strategies
| Permissions |
| UpdateStrategy |
| 7 |
Body parameter
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Parameters
| Name |
In |
Type |
Required |
Description |
| where |
query |
object |
false |
none |
| body |
body |
StrategyPartial |
false |
none |
Example responses
200 Response
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Strategy PATCH success count |
loopback.Count |
StrategyController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
| const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/strategies',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /strategies
| Permissions |
| ViewStrategy |
| 5 |
Parameters
Example responses
200 Response
| [
{
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
]
|
Responses
| Status |
Meaning |
Description |
Schema |
| 200 |
OK |
Array of Strategy model instances |
Inline |
Response Schema
Status Code 200
| Name |
Type |
Required |
Restrictions |
Description |
| anonymous |
[StrategyWithRelations] |
false |
none |
[The strategies table (tsType: StrategyWithRelations, schemaOptions: { includeRelations: true })] |
| » StrategyWithRelations |
StrategyWithRelations |
false |
none |
The strategies table (tsType: StrategyWithRelations, schemaOptions: { includeRelations: true }) |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
string(date-time)¦null |
false |
none |
none |
| »» deletedBy |
string¦null |
false |
none |
none |
| »» createdOn |
string(date-time) |
false |
none |
none |
| »» modifiedOn |
string(date-time) |
false |
none |
none |
| »» createdBy |
string |
false |
none |
none |
| »» modifiedBy |
string |
false |
none |
none |
| »» id |
string |
false |
none |
none |
| »» name |
string |
true |
none |
none |
| »» key |
string |
true |
none |
none |
| »» priority |
number |
false |
none |
none |
Schemas
Feature
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
Feature
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| description |
string |
false |
none |
none |
| defaultValue |
string |
false |
none |
none |
| type |
string |
false |
none |
none |
| metadata |
object |
false |
none |
none |
NewFeature
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
NewFeature
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| description |
string |
false |
none |
none |
| defaultValue |
string |
false |
none |
none |
| type |
string |
false |
none |
none |
| metadata |
object |
false |
none |
none |
FeatureWithRelations
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
FeatureWithRelations
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| description |
string |
false |
none |
none |
| defaultValue |
string |
false |
none |
none |
| type |
string |
false |
none |
none |
| metadata |
object |
false |
none |
none |
FeaturePartial
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"description": "string",
"defaultValue": "string",
"type": "string",
"metadata": {}
}
|
FeaturePartial
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
false |
none |
none |
| key |
string |
false |
none |
none |
| description |
string |
false |
none |
none |
| defaultValue |
string |
false |
none |
none |
| type |
string |
false |
none |
none |
| metadata |
object |
false |
none |
none |
FeatureValues
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
FeatureValues
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| featureKey |
string |
false |
none |
none |
| strategyKey |
string |
false |
none |
none |
| strategyEntityId |
string |
false |
none |
none |
| status |
boolean |
false |
none |
none |
| value |
string |
false |
none |
none |
NewFeatureValues
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
NewFeatureValues
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| featureKey |
string |
false |
none |
none |
| strategyKey |
string |
false |
none |
none |
| strategyEntityId |
string |
false |
none |
none |
| status |
boolean |
false |
none |
none |
| value |
string |
false |
none |
none |
FeatureValuesWithRelations
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
FeatureValuesWithRelations
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| featureKey |
string |
false |
none |
none |
| strategyKey |
string |
false |
none |
none |
| strategyEntityId |
string |
false |
none |
none |
| status |
boolean |
false |
none |
none |
| value |
string |
false |
none |
none |
FeatureValuesPartial
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"featureKey": "string",
"strategyKey": "string",
"strategyEntityId": "string",
"status": true,
"value": "string"
}
|
FeatureValuesPartial
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| featureKey |
string |
false |
none |
none |
| strategyKey |
string |
false |
none |
none |
| strategyEntityId |
string |
false |
none |
none |
| status |
boolean |
false |
none |
none |
| value |
string |
false |
none |
none |
Strategy
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
Strategy
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| priority |
number |
false |
none |
none |
NewStrategy
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
NewStrategy
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| priority |
number |
false |
none |
none |
StrategyWithRelations
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
StrategyWithRelations
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
true |
none |
none |
| key |
string |
true |
none |
none |
| priority |
number |
false |
none |
none |
StrategyPartial
| {
"deleted": true,
"deletedOn": "2019-08-24T14:15:22Z",
"deletedBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"modifiedOn": "2019-08-24T14:15:22Z",
"createdBy": "string",
"modifiedBy": "string",
"id": "string",
"name": "string",
"key": "string",
"priority": 0
}
|
StrategyPartial
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| deleted |
boolean |
false |
none |
none |
| deletedOn |
string(date-time)¦null |
false |
none |
none |
| deletedBy |
string¦null |
false |
none |
none |
| createdOn |
string(date-time) |
false |
none |
none |
| modifiedOn |
string(date-time) |
false |
none |
none |
| createdBy |
string |
false |
none |
none |
| modifiedBy |
string |
false |
none |
none |
| id |
string |
false |
none |
none |
| name |
string |
false |
none |
none |
| key |
string |
false |
none |
none |
| priority |
number |
false |
none |
none |
loopback.Count
loopback.Count
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| count |
number |
false |
none |
none |
feature_values.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"featureKey": true,
"strategyKey": true,
"strategyEntityId": true,
"status": true,
"value": true
}
}
|
feature_values.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» featureKey |
boolean |
false |
none |
none |
| »» strategyKey |
boolean |
false |
none |
none |
| »» strategyEntityId |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» value |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
feature_values.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"featureKey": true,
"strategyKey": true,
"strategyEntityId": true,
"status": true,
"value": true
}
}
|
feature_values.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| where |
object |
false |
none |
none |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» featureKey |
boolean |
false |
none |
none |
| »» strategyKey |
boolean |
false |
none |
none |
| »» strategyEntityId |
boolean |
false |
none |
none |
| »» status |
boolean |
false |
none |
none |
| »» value |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
features.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"key": true,
"description": true,
"defaultValue": true,
"type": true,
"metadata": true
}
}
|
features.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» defaultValue |
boolean |
false |
none |
none |
| »» type |
boolean |
false |
none |
none |
| »» metadata |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
features.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"key": true,
"description": true,
"defaultValue": true,
"type": true,
"metadata": true
}
}
|
features.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| where |
object |
false |
none |
none |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» description |
boolean |
false |
none |
none |
| »» defaultValue |
boolean |
false |
none |
none |
| »» type |
boolean |
false |
none |
none |
| »» metadata |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
strategies.Filter
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"key": true,
"priority": true
}
}
|
strategies.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» priority |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
strategies.Filter1
| {
"offset": 0,
"limit": 100,
"skip": 0,
"order": "string",
"where": {},
"fields": {
"deleted": true,
"deletedOn": true,
"deletedBy": true,
"createdOn": true,
"modifiedOn": true,
"createdBy": true,
"modifiedBy": true,
"id": true,
"name": true,
"key": true,
"priority": true
}
}
|
strategies.Filter
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| offset |
integer |
false |
none |
none |
| limit |
integer |
false |
none |
none |
| skip |
integer |
false |
none |
none |
| order |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| where |
object |
false |
none |
none |
| fields |
any |
false |
none |
none |
oneOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
object |
false |
none |
none |
| »» deleted |
boolean |
false |
none |
none |
| »» deletedOn |
boolean |
false |
none |
none |
| »» deletedBy |
boolean |
false |
none |
none |
| »» createdOn |
boolean |
false |
none |
none |
| »» modifiedOn |
boolean |
false |
none |
none |
| »» createdBy |
boolean |
false |
none |
none |
| »» modifiedBy |
boolean |
false |
none |
none |
| »» id |
boolean |
false |
none |
none |
| »» name |
boolean |
false |
none |
none |
| »» key |
boolean |
false |
none |
none |
| »» priority |
boolean |
false |
none |
none |
xor
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
[string] |
false |
none |
none |