Here you can add Custom Settings for a user. This is purely for external use cases and is not actually used by Shinobi. It's designed to help developers save custom information for their applications.
This must be a POST request.
http://xxx.xxx.xxx.xxx/[API KEY]/customSettings/[GROUP KEY]
The contents of details
can be anything you desire.
{
"name": "mobile",
"details": {
"hello": 2
}
}
$.post('http://xxx.xxx.xxx.xxx/[API KEY]/customSettings/[GROUP KEY]',{
name: 'mobile',
details: {hello:2}
},function(data){
console.log(data)
})
http://xxx.xxx.xxx.xxx/[API KEY]/customSettings/[GROUP KEY]
This must be a GET request. [SETTING_NAME]
is to be the name you gave it during creation.
http://xxx.xxx.xxx.xxx/[API KEY]/customSettings/[GROUP KEY]/[SETTING_NAME]
This must be a GET request. [SETTING_NAME]
is to be the name you gave it during creation.
http://xxx.xxx.xxx.xxx/[API KEY]/customSettings/[GROUP KEY]/[SETTING_NAME]/delete