Module: BWAPI::Client::Projects
- Includes:
- BulkActions, Categories, Data, DataDownload, Demographics, FacebookQueries, Group, Queries, QueryGroups, Rules, Sharing, Signals, StreamDashboards, Summary, Tags, TwitterQueries, Users, Workflow
- Included in:
- BWAPI::Client
- Defined in:
- lib/bwapi/client/projects.rb,
lib/bwapi/client/projects/data.rb,
lib/bwapi/client/projects/tags.rb,
lib/bwapi/client/projects/group.rb,
lib/bwapi/client/projects/rules.rb,
lib/bwapi/client/projects/users.rb,
lib/bwapi/client/projects/queries.rb,
lib/bwapi/client/projects/sharing.rb,
lib/bwapi/client/projects/signals.rb,
lib/bwapi/client/projects/summary.rb,
lib/bwapi/client/projects/workflow.rb,
lib/bwapi/client/projects/categories.rb,
lib/bwapi/client/projects/rules/copy.rb,
lib/bwapi/client/projects/bulkactions.rb,
lib/bwapi/client/projects/data/volume.rb,
lib/bwapi/client/projects/demographics.rb,
lib/bwapi/client/projects/query_groups.rb,
lib/bwapi/client/projects/data/mentions.rb,
lib/bwapi/client/projects/data_download.rb,
lib/bwapi/client/projects/rules/backfill.rb,
lib/bwapi/client/projects/signals/groups.rb,
lib/bwapi/client/projects/categories/copy.rb,
lib/bwapi/client/projects/twitter_queries.rb,
lib/bwapi/client/projects/facebook_queries.rb,
lib/bwapi/client/projects/group/site_group.rb,
lib/bwapi/client/projects/queries/backfill.rb,
lib/bwapi/client/projects/queries/mentions.rb,
lib/bwapi/client/projects/stream_dashboards.rb,
lib/bwapi/client/projects/bulkactions/author.rb,
lib/bwapi/client/projects/group/author_group.rb,
lib/bwapi/client/projects/queries/date_range.rb,
lib/bwapi/client/projects/data/mentions/notes.rb,
lib/bwapi/client/projects/bulkactions/mentions.rb,
lib/bwapi/client/projects/group/location_group.rb,
lib/bwapi/client/projects/stream_dashboards/streams.rb
Overview
Projects module for projects endpoints
Defined Under Namespace
Modules: BulkActions, Categories, Data, DataDownload, Demographics, FacebookQueries, Group, Queries, QueryGroups, Rules, Sharing, Signals, StreamDashboards, Summary, Tags, TwitterQueries, Users, Workflow
Instance Method Summary collapse
-
#create_project(opts = {}) ⇒ Hash
Create new project.
-
#delete_project(project_id) ⇒ Hash
Delete an existing project.
-
#get_project(project_id) ⇒ Hash
Get a specific project.
-
#projects(opts = {}) ⇒ Hash
Get all projects.
-
#update_project(project_id, opts = {}) ⇒ Hash
Update an existing project.
Methods included from Workflow
Methods included from Users
Methods included from Tags
#create_tag, #delete_tag, #get_tag, #tags, #update_tag
Methods included from Rules
#create_rule, #delete_rule, #get_rule, #rules, #update_rule
Methods included from Rules::Copy
Methods included from Rules::Backfill
Methods included from QueryGroups
#create_query_group, #delete_query_group, #get_query_group, #query_groups, #update_query_group
Methods included from Queries
#create_query, #delete_query, #get_query, #queries, #queries_summary, #update_query
Methods included from Queries::Mentions
#delete_query_mention, #get_query_mention_content, #update_query_mention
Methods included from Queries::DateRange
#create_date_range, #date_ranges, #delete_date_range, #get_date_range, #update_date_range
Methods included from Queries::Backfill
#backfills, #create_backfill, #delete_backfill, #get_backfill
Methods included from StreamDashboards
#create_stream_dashboard, #delete_stream_dashboard, #get_stream_dashboard, #get_stream_dashboard_complete, #get_stream_dashboards_summary, #stream_dashboards, #update_stream_dashboard
Methods included from StreamDashboards::Streams
#create_stream, #delete_stream, #get_stream, #get_streams, #update_stream
Methods included from Sharing
#default_project_sharing, #project_sharing, #project_sharing_user, #update_project_sharing, #update_project_sharing_user
Methods included from Summary
Methods included from Signals
Methods included from Signals::Groups
#create_signal_group, #delete_signal_group, #get_signal_group, #signal_groups, #update_signal_group
Methods included from TwitterQueries
#create_twitter_query, #get_twitter_query, #twitter_queries, #update_twitter_query
Methods included from Group::SiteGroup
#create_site_group, #delete_site_group, #get_site_group, #site_groups_summary, #update_site_group
Methods included from Group::LocationGroup
#create_location_group, #delete_location_group, #get_location_group, #location_groups_summary, #update_location_group
Methods included from Group::AuthorGroup
#author_groups_summary, #create_author_group, #delete_author_group, #get_author_group, #update_author_group
Methods included from FacebookQueries
#authorise_facebook_queries, #create_facebook_query, #facebook_queries, #get_facebook_query, #update_facebook_query
Methods included from Demographics
Methods included from DataDownload
#create_data_download, #data_downloads, #get_data_download
Methods included from Data
Methods included from Data::Volume
#data_volume_date_ranges_days, #data_volume_queries_top_sites, #data_volume_top_authors_queries, #data_volume_top_authors_queries_alt, #data_volume_top_sites_queries, #data_volume_top_tweeters_queries, #data_volume_topics_compare, #data_volume_topics_queries
Methods included from Data::Mentions
#data_mentions, #data_mentions_fulltext, #data_mentions_tweets, #update_data_mentions
Methods included from Data::Mentions::Notes
#create_mention_note, #mention_note, #patch_mention_note, #update_mention_note
Methods included from Categories
#categories, #create_category, #delete_category, #update_category
Methods included from Categories::Copy
Methods included from BulkActions
Methods included from BulkActions::Author
Methods included from BulkActions::Mentions
Instance Method Details
#create_project(opts = {}) ⇒ Hash
Create new project
54 55 56 |
# File 'lib/bwapi/client/projects.rb', line 54 def create_project(opts = {}) post 'projects', opts end |
#delete_project(project_id) ⇒ Hash
Delete an existing project
79 80 81 |
# File 'lib/bwapi/client/projects.rb', line 79 def delete_project(project_id) delete "projects/#{project_id}" end |
#get_project(project_id) ⇒ Hash
Get a specific project
38 39 40 |
# File 'lib/bwapi/client/projects.rb', line 38 def get_project(project_id) get "projects/#{project_id}" end |
#projects(opts = {}) ⇒ Hash
Get all projects
30 31 32 |
# File 'lib/bwapi/client/projects.rb', line 30 def projects(opts = {}) get 'projects', opts end |
#update_project(project_id, opts = {}) ⇒ Hash
Update an existing project
71 72 73 |
# File 'lib/bwapi/client/projects.rb', line 71 def update_project(project_id, opts = {}) put "projects/#{project_id}", opts end |