bwapi 10.0.0 → 11.0.0.pre.550
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.editorconfig +1 -1
- data/.gitignore +1 -1
- data/lib/bwapi/client.rb +26 -3
- data/lib/bwapi/client/admin.rb +2 -0
- data/lib/bwapi/client/admin/demographics.rb +17 -0
- data/lib/bwapi/client/aggregates.rb +13 -0
- data/lib/bwapi/client/author.rb +56 -0
- data/lib/bwapi/client/brandwatch.rb +6 -0
- data/lib/bwapi/client/brandwatch/become.rb +0 -2
- data/lib/bwapi/client/brandwatch/clients.rb +2 -8
- data/lib/bwapi/client/brandwatch/clients/command_center.rb +20 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/limits.rb +33 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb +26 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/themes.rb +26 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/users.rb +30 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/users/access.rb +28 -0
- data/lib/bwapi/client/brandwatch/clients/users.rb +0 -2
- data/lib/bwapi/client/brandwatch/command_center.rb +14 -0
- data/lib/bwapi/client/brandwatch/command_center/scene_types.rb +31 -0
- data/lib/bwapi/client/brandwatch/command_center/themes.rb +17 -0
- data/lib/bwapi/client/brandwatch/log_level.rb +17 -0
- data/lib/bwapi/client/brandwatch/price_structures.rb +45 -0
- data/lib/bwapi/client/brandwatch/usage_report.rb +19 -0
- data/lib/bwapi/client/command_center.rb +12 -0
- data/lib/bwapi/client/command_center/category_colours.rb +15 -0
- data/lib/bwapi/client/command_center/colour_palette.rb +22 -0
- data/lib/bwapi/client/command_center/display_access.rb +12 -0
- data/lib/bwapi/client/command_center/display_access/users.rb +14 -0
- data/lib/bwapi/client/command_center/display_access/users/access.rb +21 -0
- data/lib/bwapi/client/command_center/displays/scenes.rb +1 -1
- data/lib/bwapi/client/command_center/projects.rb +16 -0
- data/lib/bwapi/client/command_center/projects/category_colours.rb +45 -0
- data/lib/bwapi/client/command_center/projects/data.rb +21 -0
- data/lib/bwapi/client/command_center/projects/tag_colours.rb +45 -0
- data/lib/bwapi/client/command_center/query_colours.rb +36 -0
- data/lib/bwapi/client/command_center/scene_types.rb +3 -3
- data/lib/bwapi/client/command_center/tag_colours.rb +15 -0
- data/lib/bwapi/client/dimensions.rb +13 -0
- data/lib/bwapi/client/oauth.rb +2 -1
- data/lib/bwapi/client/projects.rb +13 -11
- data/lib/bwapi/client/projects/{bulkactions.rb → bulk_actions.rb} +2 -2
- data/lib/bwapi/client/projects/{bulkactions → bulk_actions}/author.rb +0 -0
- data/lib/bwapi/client/projects/{bulkactions → bulk_actions}/mentions.rb +0 -0
- data/lib/bwapi/client/projects/data.rb +20 -0
- data/lib/bwapi/client/projects/data/audience.rb +21 -0
- data/lib/bwapi/client/projects/data/audience_activity.rb +21 -0
- data/lib/bwapi/client/projects/data/channel_metrics.rb +21 -0
- data/lib/bwapi/client/projects/data/emoticons.rb +23 -0
- data/lib/bwapi/client/projects/data/hashtags.rb +23 -0
- data/lib/bwapi/client/projects/data/headlines.rb +20 -0
- data/lib/bwapi/client/projects/data/impressions.rb +21 -0
- data/lib/bwapi/client/projects/data/mentioned_authors.rb +23 -0
- data/lib/bwapi/client/projects/data/mentions.rb +32 -2
- data/lib/bwapi/client/projects/data/owner_activity.rb +21 -0
- data/lib/bwapi/client/projects/data/urls.rb +23 -0
- data/lib/bwapi/client/projects/query/mentionfind.rb +21 -0
- data/lib/bwapi/client/projects/signals/groups.rb +18 -5
- data/lib/bwapi/client/user.rb +2 -0
- data/lib/bwapi/client/user/instagram_credentials.rb +32 -0
- data/lib/bwapi/configuration.rb +3 -2
- data/lib/bwapi/default.rb +7 -3
- data/lib/bwapi/error.rb +0 -2
- data/lib/bwapi/version.rb +1 -1
- data/spec/bwapi/client_spec.rb +29 -167
- data/spec/bwapi/configuration_spec.rb +499 -0
- data/spec/bwapi/default_spec.rb +242 -0
- metadata +72 -30
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bwapi/client/brandwatch/command_center/scene_types'
|
2
|
+
require 'bwapi/client/brandwatch/command_center/themes'
|
3
|
+
|
4
|
+
module BWAPI
|
5
|
+
class Client
|
6
|
+
module Brandwatch
|
7
|
+
# CommandCenter module for brandwatch/commandcenter endpoints
|
8
|
+
module CommandCenter
|
9
|
+
include BWAPI::Client::Brandwatch::CommandCenter::SceneTypes
|
10
|
+
include BWAPI::Client::Brandwatch::CommandCenter::Themes
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
module CommandCenter
|
5
|
+
# SceneTypes module for brandwatch/commandcenter/scenetypes endpoints
|
6
|
+
module SceneTypes
|
7
|
+
# Fetch all supported parent scene types
|
8
|
+
#
|
9
|
+
# TODO: Add parameters documentation
|
10
|
+
def brandwatch_all_scene_types
|
11
|
+
get 'brandwatch/commandcenter/scenetypes'
|
12
|
+
end
|
13
|
+
|
14
|
+
# Fetch a scene type
|
15
|
+
#
|
16
|
+
# TODO: Add parameters documentation
|
17
|
+
def brandwatch_scene_type(scene_type_id)
|
18
|
+
get "brandwatch/commandcenter/scenetypes/#{scene_type_id}"
|
19
|
+
end
|
20
|
+
|
21
|
+
# Fetch all sub scene types for a scene type
|
22
|
+
#
|
23
|
+
# TODO: Add parameters documentation
|
24
|
+
def brandwatch_scene_type_with_sub_scenes(scene_type_id)
|
25
|
+
get "brandwatch/commandcenter/scenetypes/#{scene_type_id}/subscenes"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
module CommandCenter
|
5
|
+
# Themes module for brandwatch/commandcenter/themes endpoints
|
6
|
+
module Themes
|
7
|
+
# Get supported Vizia themes
|
8
|
+
#
|
9
|
+
# @return [Hash] All themes
|
10
|
+
def brandwatch_all_themes
|
11
|
+
get 'brandwatch/commandcenter/themes'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
# Loglevel module for brandwatch/log-level endpoint
|
5
|
+
module LogLevel
|
6
|
+
# Change the API LogLevel
|
7
|
+
#
|
8
|
+
# @param opts [Hash] options hash of parameters
|
9
|
+
# @option opts [String] logLevel for API2
|
10
|
+
# @return [Array] Returns the updated log level
|
11
|
+
def brandwatch_log_level(opts = {})
|
12
|
+
post 'brandwatch/log-level', opts
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
# PriceStructures module for brandwatch/pricestructures endpoint
|
5
|
+
module PriceStructures
|
6
|
+
# Show available price structures
|
7
|
+
#
|
8
|
+
# @return [Array] List of all price structures
|
9
|
+
def get_price_structures
|
10
|
+
get 'brandwatch/pricestructures'
|
11
|
+
end
|
12
|
+
|
13
|
+
# Create a new price structure
|
14
|
+
#
|
15
|
+
# @param opts [Hash] options Hash of parameters
|
16
|
+
# @option opts [Integer] autoDeleteDays Auto delete days of the price structure
|
17
|
+
# @option opts [Boolean] autoUpgrade If the price structure can be auto upgraded
|
18
|
+
# @option opts [Integer] availableBackfillMonths Available backfill months of the price structure
|
19
|
+
# @option opts [Integer] backfillMentionLimit Backfill mention limit of the price structure
|
20
|
+
# @option opts [String] backfillMentionLimitPeriod Backfill mention limit period of the price structure
|
21
|
+
# @option opts [String] currencyCode Currency code of the price structure
|
22
|
+
# @option opts [String] description Description of the price structure
|
23
|
+
# @option opts [Boolean] forWebSignUp If the price structure is for web sign up
|
24
|
+
# @option opts [Integer] id Id of the price structure
|
25
|
+
# @option opts [String] mentionLimitPeriod Mention limit period of the price structure
|
26
|
+
# @option opts [String] name Name of the price structure
|
27
|
+
# @option opts [String] notes Notes for the price structure
|
28
|
+
# @option opts [Array] priceStructureLines Price structure lines belonging to the price structure
|
29
|
+
# @option opts [Boolean] resellerAllowed If the price structure is reseller allowed
|
30
|
+
# @return [Hash] Newly created price structure
|
31
|
+
def create_price_structure(opts)
|
32
|
+
post 'brandwatch/pricestructures', opts
|
33
|
+
end
|
34
|
+
|
35
|
+
# Delete a price structure
|
36
|
+
#
|
37
|
+
# @param price_structure_id [Integer] Id of the price structure
|
38
|
+
# @return [Hash] Deleted price structure
|
39
|
+
def delete_price_structure(price_structure_id)
|
40
|
+
delete "brandwatch/pricestructures/#{price_structure_id}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
# usageReport module for brandwatch/usageReport endpoint
|
5
|
+
module UsageReport
|
6
|
+
# Get the Clients Mention Usage report
|
7
|
+
#
|
8
|
+
# @param clientId [Integer] Id of client
|
9
|
+
# @param startDate [DateTime] Report startDate
|
10
|
+
# @param endDate [DateTime] Report endDate
|
11
|
+
# @param opts [Hash] options hash of parameters
|
12
|
+
# @return [Hash] Returns usage report for active client
|
13
|
+
def brandwatch_usage_report(clientId, startDate, endDate, opts = {})
|
14
|
+
get "brandwatch/usageReport/client/#{clientId}/start/#{startDate}/end/#{endDate}", opts
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -1,6 +1,12 @@
|
|
1
|
+
require 'bwapi/client/command_center/category_colours'
|
1
2
|
require 'bwapi/client/command_center/client'
|
3
|
+
require 'bwapi/client/command_center/colour_palette'
|
4
|
+
require 'bwapi/client/command_center/display_access'
|
2
5
|
require 'bwapi/client/command_center/displays'
|
6
|
+
require 'bwapi/client/command_center/projects'
|
7
|
+
require 'bwapi/client/command_center/query_colours'
|
3
8
|
require 'bwapi/client/command_center/scene_types'
|
9
|
+
require 'bwapi/client/command_center/tag_colours'
|
4
10
|
require 'bwapi/client/command_center/themes'
|
5
11
|
require 'bwapi/client/command_center/users'
|
6
12
|
|
@@ -8,9 +14,15 @@ module BWAPI
|
|
8
14
|
class Client
|
9
15
|
# CommandCenter module for commandcenter endpoints
|
10
16
|
module CommandCenter
|
17
|
+
include BWAPI::Client::CommandCenter::CategoryColours
|
11
18
|
include BWAPI::Client::CommandCenter::Client
|
19
|
+
include BWAPI::Client::CommandCenter::ColourPalette
|
20
|
+
include BWAPI::Client::CommandCenter::DisplayAccess
|
12
21
|
include BWAPI::Client::CommandCenter::Displays
|
22
|
+
include BWAPI::Client::CommandCenter::Projects
|
23
|
+
include BWAPI::Client::CommandCenter::QueryColours
|
13
24
|
include BWAPI::Client::CommandCenter::SceneTypes
|
25
|
+
include BWAPI::Client::CommandCenter::TagColours
|
14
26
|
include BWAPI::Client::CommandCenter::Themes
|
15
27
|
include BWAPI::Client::CommandCenter::Users
|
16
28
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
# CategoryColours module for commandcenter/categoryColours endpoints
|
5
|
+
module CategoryColours
|
6
|
+
# Get colours defined for categories in current client
|
7
|
+
#
|
8
|
+
# TODO: Add parameters documentation
|
9
|
+
def all_category_colours
|
10
|
+
get 'commandcenter/categoryColours'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
# ColourPalette module for commandcenter/colourPalette endpoints
|
5
|
+
module ColourPalette
|
6
|
+
# Get the colour palette for the current client
|
7
|
+
#
|
8
|
+
# TODO: Add parameters documentation
|
9
|
+
def colour_palette
|
10
|
+
get '/commandcenter/colourPalette'
|
11
|
+
end
|
12
|
+
|
13
|
+
# Update the colour palette for the current client
|
14
|
+
#
|
15
|
+
# TODO: Add parameters documentation
|
16
|
+
def update_colour_palette(opts = {})
|
17
|
+
put '/commandcenter/colourPalette', opts
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'bwapi/client/command_center/display_access/users'
|
2
|
+
|
3
|
+
module BWAPI
|
4
|
+
class Client
|
5
|
+
module CommandCenter
|
6
|
+
# DisplayAccess module for commandcenter/displayaccess endpoints
|
7
|
+
module DisplayAccess
|
8
|
+
include BWAPI::Client::CommandCenter::DisplayAccess::Users
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bwapi/client/command_center/display_access/users/access'
|
2
|
+
|
3
|
+
module BWAPI
|
4
|
+
class Client
|
5
|
+
module CommandCenter
|
6
|
+
module DisplayAccess
|
7
|
+
# Users module for commandcenter/displayaccess/users endpoints
|
8
|
+
module Users
|
9
|
+
include BWAPI::Client::CommandCenter::DisplayAccess::Users::Access
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
module DisplayAccess
|
5
|
+
module Users
|
6
|
+
# Access module for commandcenter/displayaccess/users/{user_id}/access endpoints
|
7
|
+
module Access
|
8
|
+
# Alter specific user's access to multiple specified displays
|
9
|
+
#
|
10
|
+
# @param [Integer] user_id the user id
|
11
|
+
# @param [Integer] access_level the access level
|
12
|
+
# TODO: Add parameters documentation
|
13
|
+
def update_displays_user_access_level(user_id, access_level, opts = {})
|
14
|
+
put "commandcenter/displayaccess/users/#{user_id}/access/#{access_level}", opts
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -35,7 +35,7 @@ module BWAPI
|
|
35
35
|
# @param [Integer] display_id The display id
|
36
36
|
# @param opts [Hash] options hash of parameters
|
37
37
|
# @option opts [Integer] id The id of scene
|
38
|
-
# @option opts String] name The name of the scene
|
38
|
+
# @option opts [String] name The name of the scene
|
39
39
|
# @option opts [Integer] projectId The project id
|
40
40
|
# @option opts [Integer] displayId The display id
|
41
41
|
# @option opts [Hash] options Scene options
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'bwapi/client/command_center/projects/category_colours'
|
2
|
+
require 'bwapi/client/command_center/projects/data'
|
3
|
+
require 'bwapi/client/command_center/projects/tag_colours'
|
4
|
+
|
5
|
+
module BWAPI
|
6
|
+
class Client
|
7
|
+
module CommandCenter
|
8
|
+
# Projects module for commandcenter/projects endpoints
|
9
|
+
module Projects
|
10
|
+
include BWAPI::Client::CommandCenter::Projects::CategoryColours
|
11
|
+
include BWAPI::Client::CommandCenter::Projects::Data
|
12
|
+
include BWAPI::Client::CommandCenter::Projects::TagColours
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
module Projects
|
5
|
+
# CategoryColours module for commandcenter/projects/{project_id}/categoryColours endpoints
|
6
|
+
module CategoryColours
|
7
|
+
# Get colours defined for categories in given project
|
8
|
+
#
|
9
|
+
# TODO: Add parameters documentation
|
10
|
+
def category_colours(project_id)
|
11
|
+
get "/commandcenter/projects/#{project_id}/categoryColours"
|
12
|
+
end
|
13
|
+
|
14
|
+
# Get colour defined for given category
|
15
|
+
#
|
16
|
+
# TODO: Add parameters documentation
|
17
|
+
def category_colour(project_id, category_id)
|
18
|
+
get "/commandcenter/projects/#{project_id}/categoryColours/#{category_id}"
|
19
|
+
end
|
20
|
+
|
21
|
+
# Define the colour for a category
|
22
|
+
#
|
23
|
+
# TODO: Add parameters documentation
|
24
|
+
def create_category_colour(project_id, opts = {})
|
25
|
+
post "/commandcenter/projects/#{project_id}/categoryColours", opts
|
26
|
+
end
|
27
|
+
|
28
|
+
# Update the colour for a category
|
29
|
+
#
|
30
|
+
# TODO: Add parameters documentation
|
31
|
+
def update_category_colour(project_id, category_id, opts = {})
|
32
|
+
put "/commandcenter/projects/#{project_id}/categoryColours/#{category_id}", opts
|
33
|
+
end
|
34
|
+
|
35
|
+
# Remove the colour for a category
|
36
|
+
#
|
37
|
+
# TODO: Add parameters documentation
|
38
|
+
def delete_category_colour(project_id, category_id)
|
39
|
+
delete "/commandcenter/projects/#{project_id}/categoryColours/#{category_id}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
module Projects
|
5
|
+
# Data module for commandcenter/projects/{project_id}/data endpoints
|
6
|
+
module Data
|
7
|
+
# Retrieve aggregate data and sample mentions broken down by specified dimensions
|
8
|
+
#
|
9
|
+
# @param project_id [Integer] Id of project
|
10
|
+
# @param aggregate [String] Aggregate value
|
11
|
+
# @param dimension_one [String] Dimension 1 value
|
12
|
+
# @param dimension_two [String] Dimension 2 value
|
13
|
+
# TODO: Add parameters documentation
|
14
|
+
def command_center_data(project_id, aggregate, dimension_one, dimension_two, opts = {})
|
15
|
+
get "commandcenter/projects/#{project_id}/data/#{aggregate}/#{dimension_one}/#{dimension_two}", opts
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
module Projects
|
5
|
+
# TagColours module for commandcenter/projects/{project_id}/tagColours endpoints
|
6
|
+
module TagColours
|
7
|
+
# Get colours defined for tags in given project
|
8
|
+
#
|
9
|
+
# TODO: Add parameters documentation
|
10
|
+
def tag_colours(project_id)
|
11
|
+
get "/commandcenter/projects/#{project_id}/tagColours"
|
12
|
+
end
|
13
|
+
|
14
|
+
# Get colour defined for given tag
|
15
|
+
#
|
16
|
+
# TODO: Add parameters documentation
|
17
|
+
def tag_colour(project_id, tag_name)
|
18
|
+
get "/commandcenter/projects/#{project_id}/tagColours/#{tag_name}"
|
19
|
+
end
|
20
|
+
|
21
|
+
# Define the colour for a tag
|
22
|
+
#
|
23
|
+
# TODO: Add parameters documentation
|
24
|
+
def create_tag_colour(project_id, opts = {})
|
25
|
+
post "/commandcenter/projects/#{project_id}/tagColours", opts
|
26
|
+
end
|
27
|
+
|
28
|
+
# Update the colour for a tag
|
29
|
+
#
|
30
|
+
# TODO: Add parameters documentation
|
31
|
+
def update_tag_colour(project_id, tag_name, opts = {})
|
32
|
+
put "/commandcenter/projects/#{project_id}/tagColours/#{tag_name}", opts
|
33
|
+
end
|
34
|
+
|
35
|
+
# Remove the colour for a tag
|
36
|
+
#
|
37
|
+
# TODO: Add parameters documentation
|
38
|
+
def delete_tag_colour(project_id, tag_name)
|
39
|
+
delete "/commandcenter/projects/#{project_id}/tagColours/#{tag_name}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module CommandCenter
|
4
|
+
# QueryColours module for commandcenter/queryColours endpoints
|
5
|
+
module QueryColours
|
6
|
+
# Get colours defined for queries in current client
|
7
|
+
#
|
8
|
+
# TODO: Add parameters documentation
|
9
|
+
def query_colours
|
10
|
+
get 'commandcenter/queryColours'
|
11
|
+
end
|
12
|
+
|
13
|
+
# Define the colour for a query
|
14
|
+
#
|
15
|
+
# TODO: Add parameters documentation
|
16
|
+
def create_query_colour(opts = {})
|
17
|
+
post 'commandcenter/queryColours', opts
|
18
|
+
end
|
19
|
+
|
20
|
+
# Get colours defined for queries in current client
|
21
|
+
#
|
22
|
+
# TODO: Add parameters documentation
|
23
|
+
def update_query_colour(query_id)
|
24
|
+
put "/commandcenter/queryColours/#{query_id}"
|
25
|
+
end
|
26
|
+
|
27
|
+
# Get colours defined for queries in current client
|
28
|
+
#
|
29
|
+
# TODO: Add parameters documentation
|
30
|
+
def delete_query_colour(query_id)
|
31
|
+
delete "/commandcenter/queryColours/#{query_id}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|