Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
bat_api
Commits
ba83ce18
Commit
ba83ce18
authored
Jan 15, 2016
by
istos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPdate bat_api with new settings
parent
d9ec245c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
bat_api.services.inc
bat_api.services.inc
+20
-9
No files found.
bat_api.services.inc
View file @
ba83ce18
...
...
@@ -36,7 +36,7 @@ function bat_api_default_services_endpoint() {
),
);
$endpoint
->
resources
=
array
(
'
uni
ts'
=>
array
(
'
even
ts'
=>
array
(
'operations'
=>
array
(
'index'
=>
array
(
'enabled'
=>
'1'
,
...
...
@@ -45,27 +45,30 @@ function bat_api_default_services_endpoint() {
'enabled'
=>
'1'
,
),
),
'actions'
=>
array
(
'add'
=>
array
(
),
'events-calendar'
=>
array
(
'operations'
=>
array
(
'index'
=>
array
(
'enabled'
=>
'1'
,
),
),
),
'units
-calendar
'
=>
array
(
'units'
=>
array
(
'operations'
=>
array
(
'index'
=>
array
(
'enabled'
=>
'1'
,
),
'update'
=>
array
(
'enabled'
=>
'1'
,
),
),
'events'
=>
array
(
'operations'
=>
array
(
'index'
=>
array
(
'actions'
=>
array
(
'add'
=>
array
(
'enabled'
=>
'1'
,
),
),
),
'
even
ts-calendar'
=>
array
(
'
uni
ts-calendar'
=>
array
(
'operations'
=>
array
(
'index'
=>
array
(
'enabled'
=>
'1'
,
...
...
@@ -76,6 +79,11 @@ function bat_api_default_services_endpoint() {
'actions'
=>
array
(
'login'
=>
array
(
'enabled'
=>
'1'
,
'settings'
=>
array
(
'services'
=>
array
(
'resource_api_version'
=>
'1.0'
,
),
),
),
'logout'
=>
array
(
'enabled'
=>
'1'
,
...
...
@@ -85,6 +93,9 @@ function bat_api_default_services_endpoint() {
),
),
),
'token'
=>
array
(
'enabled'
=>
'1'
,
),
),
),
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment