Class: MemoriClient::Engine::V2::Topic
- Defined in:
- lib/memori_client/engine/v2/topic.rb
Overview
Generated on 2025-01-27 16:56:16 +0000
Class Method Summary collapse
-
.get_topic(strSessionID:, strTopicID:) ⇒ Object
‘GET /memori/v2/Topic/strSessionID/strTopicID`.
-
.list_topic_users(strSessionID:, strTopicID:) ⇒ Object
‘GET /memori/v2/TopicUsers/strSessionID/strTopicID`.
-
.list_topic_users_paginated(strSessionID:, strTopicID:, from:, howMany:) ⇒ Object
‘GET /memori/v2/TopicUsers/strSessionID/strTopicID/from/howMany`.
-
.list_topics(strSessionID:) ⇒ Object
‘GET /memori/v2/Topics/strSessionID`.
-
.list_topics_paginated(strSessionID:, from:, howMany:) ⇒ Object
‘GET /memori/v2/Topics/strSessionID/from/howMany`.
Methods inherited from Resource
Methods inherited from Resource
build_arguments, build_url, exec_http_request, validate_payload!
Class Method Details
.get_topic(strSessionID:, strTopicID:) ⇒ Object
‘GET /memori/v2/Topic/strSessionID/strTopicID`
Gets the details of a Topic object.
‘get_topic(strSessionID:, strTopicID:)`
45 46 47 48 49 |
# File 'lib/memori_client/engine/v2/topic.rb', line 45 def self.get_topic(strSessionID:, strTopicID:) args = build_arguments(binding) exec_http_request('get', '/memori/v2/Topic/{strSessionID}/{strTopicID}', **args) end |
.list_topic_users(strSessionID:, strTopicID:) ⇒ Object
‘GET /memori/v2/TopicUsers/strSessionID/strTopicID`
Lists all User objects referencing a specified Topic object.
‘list_topic_users(strSessionID:, strTopicID:)`
61 62 63 64 65 |
# File 'lib/memori_client/engine/v2/topic.rb', line 61 def self.list_topic_users(strSessionID:, strTopicID:) args = build_arguments(binding) exec_http_request('get', '/memori/v2/TopicUsers/{strSessionID}/{strTopicID}', **args) end |
.list_topic_users_paginated(strSessionID:, strTopicID:, from:, howMany:) ⇒ Object
‘GET /memori/v2/TopicUsers/strSessionID/strTopicID/from/howMany`
Lists User objects referencing a specified User object, with pagination.
‘list_topic_users_paginated(strSessionID:, strTopicID:, from:, howMany:)`
81 82 83 84 85 |
# File 'lib/memori_client/engine/v2/topic.rb', line 81 def self.list_topic_users_paginated(strSessionID:, strTopicID:, from:, howMany:) args = build_arguments(binding) exec_http_request('get', '/memori/v2/TopicUsers/{strSessionID}/{strTopicID}/{from}/{howMany}', **args) end |
.list_topics(strSessionID:) ⇒ Object
‘GET /memori/v2/Topics/strSessionID`
Lists all Topic objects.
‘list_topics(strSessionID:)`
11 12 13 14 15 |
# File 'lib/memori_client/engine/v2/topic.rb', line 11 def self.list_topics(strSessionID:) args = build_arguments(binding) exec_http_request('get', '/memori/v2/Topics/{strSessionID}', **args) end |
.list_topics_paginated(strSessionID:, from:, howMany:) ⇒ Object
‘GET /memori/v2/Topics/strSessionID/from/howMany`
Lists Topic objects with pagination.
‘list_topics_paginated(strSessionID:, from:, howMany:)`
29 30 31 32 33 |
# File 'lib/memori_client/engine/v2/topic.rb', line 29 def self.list_topics_paginated(strSessionID:, from:, howMany:) args = build_arguments(binding) exec_http_request('get', '/memori/v2/Topics/{strSessionID}/{from}/{howMany}', **args) end |