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
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": true
}';
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": true
};
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": true
}
|
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": true
}';
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": true
};
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": true
}
|
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": true
}
|
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": true
}';
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": true
};
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": true
}
|
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": true
}
|
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": true
}';
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": true
};
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": true
}
|
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": true
}
]
|
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 |
boolean |
false |
none |
none |
FeatureToggleController
FeatureToggleController.count
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/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('/featuretoggles/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /featuretoggles/count
Permissions |
ViewFeatureToggle |
9 |
Parameters
Name |
In |
Type |
Required |
Description |
where |
query |
object |
false |
none |
Example responses
200 Response
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
FeatureToggle model count |
loopback.Count |
FeatureToggleController.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
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{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
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{id}',
{
method: 'PUT',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PUT /featuretoggles/{id}
Permissions |
UpdateFeatureToggle |
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
}
|
Parameters
Name |
In |
Type |
Required |
Description |
id |
path |
string |
true |
none |
body |
body |
FeatureToggle |
false |
none |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
FeatureToggle PUT success |
None |
FeatureToggleController.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
}';
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{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
};
const headers = {
'Content-Type':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{id}',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /featuretoggles/{id}
Permissions |
UpdateFeatureToggle |
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
}
|
Parameters
Name |
In |
Type |
Required |
Description |
id |
path |
string |
true |
none |
body |
body |
FeatureTogglePartial |
false |
none |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
FeatureToggle PATCH success |
None |
FeatureToggleController.findById
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{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('/featuretoggles/{id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /featuretoggles/{id}
Permissions |
ViewFeatureToggle |
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
}
|
Responses
FeatureToggleController.deleteById
Code samples
| const headers = {
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles/{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('/featuretoggles/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
DELETE /featuretoggles/{id}
Permissions |
DeleteFeatureToggle |
12 |
Parameters
Name |
In |
Type |
Required |
Description |
id |
path |
string |
true |
none |
Responses
Status |
Meaning |
Description |
Schema |
204 |
No Content |
FeatureToggle DELETE success |
None |
FeatureToggleController.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
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles',
{
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
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles',
{
method: 'POST',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
POST /featuretoggles
Permissions |
CreateFeatureToggle |
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
}
|
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
}
|
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
FeatureToggle model instance |
FeatureToggle |
FeatureToggleController.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
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles',
{
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
};
const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles',
{
method: 'PATCH',
body: JSON.stringify(inputBody),
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
PATCH /featuretoggles
Permissions |
UpdateFeatureToggle |
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
}
|
Parameters
Name |
In |
Type |
Required |
Description |
where |
query |
object |
false |
none |
body |
body |
FeatureTogglePartial |
false |
none |
Example responses
200 Response
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
FeatureToggle PATCH success count |
loopback.Count |
FeatureToggleController.find
Code samples
| const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('/featuretoggles',
{
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('/featuretoggles',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
|
GET /featuretoggles
Permissions |
ViewFeatureToggle |
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
}
]
|
Responses
Status |
Meaning |
Description |
Schema |
200 |
OK |
Array of FeatureToggle model instances |
Inline |
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
anonymous |
[FeatureToggleWithRelations] |
false |
none |
[The feature-toggle table (tsType: FeatureToggleWithRelations, schemaOptions: { includeRelations: true })] |
» FeatureToggleWithRelations |
FeatureToggleWithRelations |
false |
none |
The feature-toggle table (tsType: FeatureToggleWithRelations, 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 |
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": true
}
|
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 |
boolean |
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": true
}
|
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 |
boolean |
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": true
}
|
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 |
boolean |
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": true
}
|
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 |
boolean |
false |
none |
none |
FeatureToggle
| {
"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
}
|
FeatureToggle
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 |
NewFeatureToggle
| {
"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
}
|
NewFeatureToggle
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 |
FeatureToggleWithRelations
| {
"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
}
|
FeatureToggleWithRelations
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 |
FeatureTogglePartial
| {
"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
}
|
FeatureTogglePartial
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 |
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 |
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
}
}
|
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 |
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
}
}
|
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 |
xor
Name |
Type |
Required |
Restrictions |
Description |
» anonymous |
[string] |
false |
none |
none |
feature_toggles.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
}
}
|
feature_toggles.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 |
xor
Name |
Type |
Required |
Restrictions |
Description |
» anonymous |
[string] |
false |
none |
none |
feature_toggles.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
}
}
|
feature_toggles.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 |
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 |