FastComments.com

FastComments Ruby SDK

์ด๊ฒƒ์€ FastComments์˜ ๊ณต์‹ Ruby SDK์ž…๋‹ˆ๋‹ค.

FastComments API์˜ ๊ณต์‹ Ruby SDK

๋ฆฌํฌ์ง€ํ† ๋ฆฌ

GitHub์—์„œ ๋ณด๊ธฐ


์„ค์น˜ Internal Link


์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ Gemfile์— ๋‹ค์Œ ์ค„์„ ์ถ”๊ฐ€ํ•˜์„ธ์š”:

gem 'fastcomments'

๊ทธ๋ฆฌ๊ณ  ๋‹ค์Œ์„ ์‹คํ–‰ํ•˜์„ธ์š”:

bundle install

๋˜๋Š” ์ง์ ‘ ์„ค์น˜ํ•˜๋ ค๋ฉด ๋‹ค์Œ์„ ์‚ฌ์šฉํ•˜์„ธ์š”:

gem install fastcomments

๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋‚ด์šฉ

์ด ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์—๋Š” ์ƒ์„ฑ๋œ API ํด๋ผ์ด์–ธํŠธ์™€ API ์ž‘์—…์„ ๋” ์‰ฝ๊ฒŒ ํ•ด์ฃผ๋Š” SSO ์œ ํ‹ธ๋ฆฌํ‹ฐ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

๊ณต๊ฐœ API์™€ ๋ณด์•ˆ API

API ํด๋ผ์ด์–ธํŠธ์—๋Š” ๋‘ ๊ฐœ์˜ ํด๋ž˜์Šค, DefaultApi์™€ PublicApi๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. DefaultApi๋Š” API ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ๋ฉ”์„œ๋“œ๋ฅผ ํฌํ•จํ•˜๊ณ , PublicApi๋Š” ๋ธŒ๋ผ์šฐ์ €/๋ชจ๋ฐ”์ผ ๊ธฐ๊ธฐ ๋“ฑ์—์„œ ์ธ์ฆ ์—†์ด ์ง์ ‘ ํ˜ธ์ถœํ•  ์ˆ˜ ์žˆ๋Š” API ํ˜ธ์ถœ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

๋น ๋ฅธ ์‹œ์ž‘ Internal Link

์ธ์ฆ๋œ API ์‚ฌ์šฉ (DefaultApi)

์ค‘์š”: ์ธ์ฆ๋œ ์š”์ฒญ์„ ํ•˜๊ธฐ ์ „์— ApiClient์— API ํ‚ค๋ฅผ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ์š”์ฒญ์ด 401 ์˜ค๋ฅ˜๋กœ ์‹คํŒจํ•ฉ๋‹ˆ๋‹ค.

require 'fastcomments-client'

# API ํด๋ผ์ด์–ธํŠธ ์ƒ์„ฑ ๋ฐ ๊ตฌ์„ฑ
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)

# ํ•„์ˆ˜: API ํ‚ค ์„ค์ • (FastComments ๋Œ€์‹œ๋ณด๋“œ์—์„œ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค)
config.api_key['x-api-key'] = 'YOUR_API_KEY_HERE'

# ๊ตฌ์„ฑ๋œ ํด๋ผ์ด์–ธํŠธ๋กœ API ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ
api = FastCommentsClient::DefaultApi.new(api_client)

# ์ด์ œ ์ธ์ฆ๋œ API ํ˜ธ์ถœ์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
begin
  # ์˜ˆ์‹œ: SSO ์‚ฌ์šฉ์ž ์ถ”๊ฐ€
  user_data = {
    id: 'user-123',
    email: 'user@example.com',
    displayName: 'John Doe'
  }

  response = api.add_sso_user('YOUR_TENANT_ID', user_data)
  puts "User created: #{response}"

rescue FastCommentsClient::ApiError => e
  puts "Error: #{e.response_body}"
  # ์ผ๋ฐ˜์ ์ธ ์˜ค๋ฅ˜:
  # - 401: API ํ‚ค๊ฐ€ ์—†๊ฑฐ๋‚˜ ์ž˜๋ชป๋˜์—ˆ์Šต๋‹ˆ๋‹ค
  # - 400: ์š”์ฒญ ๊ฒ€์ฆ ์‹คํŒจ
end

๊ณต๊ฐœ API ์‚ฌ์šฉ (PublicApi)

๊ณต๊ฐœ ์—”๋“œํฌ์ธํŠธ๋Š” ์ธ์ฆ์ด ํ•„์š” ์—†์Šต๋‹ˆ๋‹ค:

require 'fastcomments-client'

public_api = FastCommentsClient::PublicApi.new

begin
  response = public_api.get_comments_public(
    tenant_id: 'YOUR_TENANT_ID',
    url_id: 'page-url-id'
  )
  puts response
rescue FastCommentsClient::ApiError => e
  puts e.message
end

์ผ๋ฐ˜์ ์ธ ๋ฌธ์ œ

  1. 401 "missing-api-key" ์˜ค๋ฅ˜: config.api_key['x-api-key'] = 'YOUR_KEY' ๋ฅผ DefaultApi ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์ „์— ์„ค์ •ํ–ˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.
  2. ์ž˜๋ชป๋œ API ํด๋ž˜์Šค: ์„œ๋ฒ„ ์ธก ์ธ์ฆ๋œ ์š”์ฒญ์—๋Š” DefaultApi๋ฅผ, ํด๋ผ์ด์–ธํŠธ ์ธก/๊ณต๊ฐœ ์š”์ฒญ์—๋Š” PublicApi๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”.
  3. API ํ‚ค๊ฐ€ null์ธ ๊ฒฝ์šฐ: SDK๋Š” API ํ‚ค๊ฐ€ null์ด๋ฉด ์ธ์ฆ์„ ์กฐ์šฉํžˆ ๊ฑด๋„ˆ๋›ฐ์–ด 401 ์˜ค๋ฅ˜๋ฅผ ์ดˆ๋ž˜ํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ  Internal Link

๋ธŒ๋กœ๋“œ์บ์ŠคํŠธ ID

์ผ๋ถ€ API ํ˜ธ์ถœ์—์„œ๋Š” broadcastId๋ฅผ ์ „๋‹ฌํ•ด์•ผ ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ๋ณด๊ฒŒ ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ด๋ฒคํŠธ๋ฅผ ์ˆ˜์‹ ํ•˜๋ฉด ์ด ID๊ฐ€ ๋ฐ˜ํ™˜๋˜๋ฏ€๋กœ, ํด๋ผ์ด์–ธํŠธ์—์„œ ๋ณ€๊ฒฝ์„ ๋‚™๊ด€์ ์œผ๋กœ ์ ์šฉํ•˜๋ ค๋Š” ๊ฒฝ์šฐ ํ•ด๋‹น ์ด๋ฒคํŠธ๋ฅผ ๋ฌด์‹œํ•ด์•ผ ํ•˜๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค (์ด๋Š” ์ตœ์ƒ์˜ ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์„ ์ œ๊ณตํ•˜๋ฏ€๋กœ ์•„๋งˆ ๊ทธ๋ ‡๊ฒŒ ํ•˜๊ณ  ์‹ถ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค). ์—ฌ๊ธฐ์— UUID๋ฅผ ์ „๋‹ฌํ•˜์„ธ์š”. ์ด ID๋Š” ๋ธŒ๋ผ์šฐ์ € ์„ธ์…˜์—์„œ ๋‘ ๋ฒˆ ๋ฐœ์ƒํ•˜์ง€ ์•Š์„ ๋งŒํผ ์ถฉ๋ถ„ํžˆ ๊ณ ์œ ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

SSO (์‹ฑ๊ธ€ ์‚ฌ์ธ์˜จ)

SSO ์˜ˆ์ œ๋Š” ์•„๋ž˜๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

SSO ์‚ฌ์šฉ Internal Link

๊ฐ„๋‹จํ•œ SSO

require 'fastcomments'
require 'fastcomments-client'

# ๊ฐ„๋‹จํ•œ SSO ํ† ํฐ ์ƒ์„ฑ
user = FastComments::SSO::SimpleSSOUserData.new(
  user_id: 'user-123',
  email: 'user@example.com',
  avatar: 'https://example.com/avatar.jpg'
)

sso = FastComments::SSO::FastCommentsSSO.new_simple(user)
token = sso.create_token

puts "SSO Token: #{token}"

# SSO ํ† ํฐ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ธ์ฆ๋œ API ํ˜ธ์ถœ ์ˆ˜ํ–‰
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)
public_api = FastCommentsClient::PublicApi.new(api_client)

response = public_api.get_comments_public(
  tenant_id: 'your-tenant-id',
  url_id: 'your-page-url-id',
  sso: token
)

puts "Status: #{response}"

๋ณด์•ˆ SSO

require 'fastcomments'
require 'fastcomments-client'

# ๋ณด์•ˆ SSO ํ† ํฐ ์ƒ์„ฑ
user = FastComments::SSO::SecureSSOUserData.new(
  user_id: 'user-123',
  email: 'user@example.com',
  username: 'johndoe',
  avatar: 'https://example.com/avatar.jpg'
)

api_key = 'your-api-key'
sso = FastComments::SSO::FastCommentsSSO.new_secure(api_key, user)
token = sso.create_token

puts "Secure SSO Token: #{token}"

# SSO ํ† ํฐ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ธ์ฆ๋œ API ํ˜ธ์ถœ ์ˆ˜ํ–‰
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)
public_api = FastCommentsClient::PublicApi.new(api_client)

response = public_api.get_comments_public(
  tenant_id: 'your-tenant-id',
  url_id: 'your-page-url-id',
  sso: token
)

puts "Status: #{response}"

์ง‘๊ณ„ Internal Link

๋ฌธ์„œ๋ฅผ ๊ทธ๋ฃนํ™”(groupBy๊ฐ€ ์ œ๊ณต๋œ ๊ฒฝ์šฐ)ํ•˜๊ณ  ์—ฌ๋Ÿฌ ์—ฐ์‚ฐ์„ ์ ์šฉํ•˜์—ฌ ์ง‘๊ณ„ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์–‘ํ•œ ์—ฐ์‚ฐ(์˜ˆ: sum, countDistinct, avg ๋“ฑ)์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
parentTenantId string query ์•„๋‹ˆ์š”
includeStats boolean query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: AggregationResponse

์˜ˆ์ œ

aggregate ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์˜ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14aggregation_request = FastCommentsClient::AggregationRequest.new({resource_name: 'resource_name_example', operations: [FastCommentsClient::AggregationOperation.new({field: 'field_example', op: FastCommentsClient::AggregationOpType::SUM})]}) # AggregationRequest |
15opts = {
16 parent_tenant_id: 'parent_tenant_id_example', # String |
17 include_stats: true # Boolean |
18}
19
20begin
21
22 result = api_instance.aggregate(tenant_id, aggregation_request, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->aggregate: #{e}"
26end
27

๊ฐ์‚ฌ ๋กœ๊ทธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
limit number query ์•„๋‹ˆ์š”
skip number query ์•„๋‹ˆ์š”
order string query ์•„๋‹ˆ์š”
after number query ์•„๋‹ˆ์š”
before number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetAuditLogs200Response

์˜ˆ์ œ

get_audit_logs ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 limit: 1.2, # Float |
16 skip: 1.2, # Float |
17 order: FastCommentsClient::SORTDIR::ASC, # SORTDIR |
18 after: 1.2, # Float |
19 before: 1.2 # Float |
20}
21
22begin
23
24 result = api_instance.get_audit_logs(tenant_id, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->get_audit_logs: #{e}"
28end
29

๊ณต๊ฐœ ๋Œ“๊ธ€์—์„œ ์ฐจ๋‹จ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
commentId string path ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: BlockFromCommentPublic200Response

์˜ˆ์ œ

block_from_comment_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_id = 'comment_id_example' # String |
8public_block_from_comment_params = FastCommentsClient::PublicBlockFromCommentParams.new({comment_ids: ['comment_ids_example']}) # PublicBlockFromCommentParams |
9opts = {
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->block_from_comment_public: #{e}"
19end
20

๊ณต๊ฐœ ๋Œ“๊ธ€ ์ฐจ๋‹จ ํ•ด์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
commentId string path ์˜ˆ
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: UnBlockCommentPublic200Response

์˜ˆ์ œ

un_block_comment_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_id = 'comment_id_example' # String |
8public_block_from_comment_params = FastCommentsClient::PublicBlockFromCommentParams.new({comment_ids: ['comment_ids_example']}) # PublicBlockFromCommentParams |
9opts = {
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->un_block_comment_public: #{e}"
19end
20

์ฐจ๋‹จ๋œ ๋Œ“๊ธ€ ํ™•์ธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
commentIds string query ์˜ˆ ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„๋œ ๋Œ“๊ธ€ ID ๋ชฉ๋ก.
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: CheckedCommentsForBlocked200Response

์˜ˆ์ œ

checked_comments_for_blocked ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_ids = 'comment_ids_example' # String | ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„๋œ ๋Œ“๊ธ€ ID ๋ชฉ๋ก.
8opts = {
9 sso: 'sso_example' # String |
10}
11
12begin
13
14 result = api_instance.checked_comments_for_blocked(tenant_id, comment_ids, opts)
15 p result
16rescue FastCommentsClient::ApiError => e
17 puts "Error when calling PublicApi->checked_comments_for_blocked: #{e}"
18end
19

๋Œ“๊ธ€์—์„œ ์‚ฌ์šฉ์ž ์ฐจ๋‹จ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
anonUserId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: BlockFromCommentPublic200Response

์˜ˆ์ œ

block_user_from_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•ด ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”(์˜ˆ: 'Bearer') (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15block_from_comment_params = FastCommentsClient::BlockFromCommentParams.new # BlockFromCommentParams |
16opts = {
17 user_id: 'user_id_example', # String |
18 anon_user_id: 'anon_user_id_example' # String |
19}
20
21begin
22
23 result = api_instance.block_user_from_comment(tenant_id, id, block_from_comment_params, opts)
24 p result
25rescue FastCommentsClient::ApiError => e
26 puts "Error when calling DefaultApi->block_user_from_comment: #{e}"
27end
28

๊ณต๊ฐœ ๋Œ“๊ธ€ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
urlId string query ์˜ˆ
broadcastId string query ์˜ˆ
sessionId string query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: CreateCommentPublic200Response

์˜ˆ์ œ

create_comment_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
8broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
9comment_data = FastCommentsClient::CommentData.new({commenter_name: 'commenter_name_example', comment: 'comment_example', url: 'url_example', url_id: 'url_id_example'}) # CommentData |
10opts = {
11 session_id: 'session_id_example', # ๋ฌธ์ž์—ด |
12 sso: 'sso_example' # ๋ฌธ์ž์—ด |
13}
14
15begin
16
17 result = api_instance.create_comment_public(tenant_id, url_id, broadcast_id, comment_data, opts)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling PublicApi->create_comment_public: #{e}"
21end
22

๋Œ“๊ธ€ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
contextUserId string query ์•„๋‹ˆ์š”
isLive boolean query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteComment200Response

์˜ˆ์ œ

delete_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 context_user_id: 'context_user_id_example', # String |
17 is_live: true # Boolean |
18}
19
20begin
21
22 result = api_instance.delete_comment(tenant_id, id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->delete_comment: #{e}"
26end
27

๊ณต๊ฐœ ๋Œ“๊ธ€ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
broadcastId string query ์˜ˆ
editKey string query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentPublic200Response

์˜ˆ์ œ

delete_comment_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
9opts = {
10 edit_key: 'edit_key_example', # ๋ฌธ์ž์—ด |
11 sso: 'sso_example' # ๋ฌธ์ž์—ด |
12}
13
14begin
15
16 result = api_instance.delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
17 p result
18rescue FastCommentsClient::ApiError => e
19 puts "Error when calling PublicApi->delete_comment_public: #{e}"
20end
21

๋Œ“๊ธ€ ํˆฌํ‘œ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string ๊ฒฝ๋กœ ์˜ˆ
commentId string ๊ฒฝ๋กœ ์˜ˆ
voteId string ๊ฒฝ๋กœ ์˜ˆ
urlId string ์ฟผ๋ฆฌ ์˜ˆ
broadcastId string ์ฟผ๋ฆฌ ์˜ˆ
editKey string ์ฟผ๋ฆฌ ์•„๋‹ˆ์š”
sso string ์ฟผ๋ฆฌ ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentVote200Response

์˜ˆ์ œ

delete_comment_vote ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8vote_id = 'vote_id_example' # ๋ฌธ์ž์—ด |
9url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
10broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
11opts = {
12 edit_key: 'edit_key_example', # ๋ฌธ์ž์—ด |
13 sso: 'sso_example' # ๋ฌธ์ž์—ด |
14}
15
16begin
17
18 result = api_instance.delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling PublicApi->delete_comment_vote: #{e}"
22end
23

๋Œ“๊ธ€ ์‹ ๊ณ  Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes
id string path Yes
userId string query No
anonUserId string query No

์‘๋‹ต

๋ฐ˜ํ™˜: FlagComment200Response

์˜ˆ์ œ

flag_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 user_id: 'user_id_example', # String |
17 anon_user_id: 'anon_user_id_example' # String |
18}
19
20begin
21
22 result = api_instance.flag_comment(tenant_id, id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->flag_comment: #{e}"
26end
27

๋Œ“๊ธ€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜๊ฐ’: GetComment200Response

์˜ˆ์ œ

get_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_comment(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_comment: #{e}"
22end
23

๋Œ“๊ธ€ ํ…์ŠคํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
editKey string query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetCommentText200Response

์˜ˆ์ œ

get_comment_text ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_id = 'comment_id_example' # String |
8opts = {
9 edit_key: 'edit_key_example', # String |
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.get_comment_text(tenant_id, comment_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->get_comment_text: #{e}"
19end
20

๋Œ“๊ธ€ ํˆฌํ‘œ ์‚ฌ์šฉ์ž ์ด๋ฆ„ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
dir integer query ์˜ˆ
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetCommentVoteUserNames200Response

์˜ˆ์ œ

get_comment_vote_user_names ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8dir = 56 # ์ •์ˆ˜ |
9opts = {
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->get_comment_vote_user_names: #{e}"
19end
20

๋Œ“๊ธ€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
page integer query ์•„๋‹ˆ์š”
limit integer query ์•„๋‹ˆ์š”
skip integer query ์•„๋‹ˆ์š”
asTree boolean query ์•„๋‹ˆ์š”
skipChildren integer query ์•„๋‹ˆ์š”
limitChildren integer query ์•„๋‹ˆ์š”
maxTreeDepth integer query ์•„๋‹ˆ์š”
urlId string query ์•„๋‹ˆ์š”
userId string query ์•„๋‹ˆ์š”
anonUserId string query ์•„๋‹ˆ์š”
contextUserId string query ์•„๋‹ˆ์š”
hashTag string query ์•„๋‹ˆ์š”
parentId string query ์•„๋‹ˆ์š”
direction string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetComments200Response

์˜ˆ์ œ

get_comments ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 page: 56, # Integer |
16 limit: 56, # Integer |
17 skip: 56, # Integer |
18 as_tree: true, # Boolean |
19 skip_children: 56, # Integer |
20 limit_children: 56, # Integer |
21 max_tree_depth: 56, # Integer |
22 url_id: 'url_id_example', # String |
23 user_id: 'user_id_example', # String |
24 anon_user_id: 'anon_user_id_example', # String |
25 context_user_id: 'context_user_id_example', # String |
26 hash_tag: 'hash_tag_example', # String |
27 parent_id: 'parent_id_example', # String |
28 direction: FastCommentsClient::SortDirections::OF # SortDirections |
29}
30
31begin
32
33 result = api_instance.get_comments(tenant_id, opts)
34 p result
35rescue FastCommentsClient::ApiError => e
36 puts "Error when calling DefaultApi->get_comments: #{e}"
37end
38

๊ณต๊ฐœ ๋Œ“๊ธ€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

ํ•„์ˆ˜ tenantId urlId

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
urlId string query ์˜ˆ
page integer query ์•„๋‹ˆ์š”
direction string query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”
skip integer query ์•„๋‹ˆ์š”
skipChildren integer query ์•„๋‹ˆ์š”
limit integer query ์•„๋‹ˆ์š”
limitChildren integer query ์•„๋‹ˆ์š”
countChildren boolean query ์•„๋‹ˆ์š”
fetchPageForCommentId string query ์•„๋‹ˆ์š”
includeConfig boolean query ์•„๋‹ˆ์š”
countAll boolean query ์•„๋‹ˆ์š”
includei10n boolean query ์•„๋‹ˆ์š”
locale string query ์•„๋‹ˆ์š”
modules string query ์•„๋‹ˆ์š”
isCrawler boolean query ์•„๋‹ˆ์š”
includeNotificationCount boolean query ์•„๋‹ˆ์š”
asTree boolean query ์•„๋‹ˆ์š”
maxTreeDepth integer query ์•„๋‹ˆ์š”
useFullTranslationIds boolean query ์•„๋‹ˆ์š”
parentId string query ์•„๋‹ˆ์š”
searchText string query ์•„๋‹ˆ์š”
hashTags array query ์•„๋‹ˆ์š”
userId string query ์•„๋‹ˆ์š”
customConfigStr string query ์•„๋‹ˆ์š”
afterCommentId string query ์•„๋‹ˆ์š”
beforeCommentId string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetCommentsPublic200Response

์˜ˆ์ œ

get_comments_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7url_id = 'url_id_example' # String |
8opts = {
9 page: 56, # Integer |
10 direction: FastCommentsClient::SortDirections::OF, # SortDirections |
11 sso: 'sso_example', # String |
12 skip: 56, # Integer |
13 skip_children: 56, # Integer |
14 limit: 56, # Integer |
15 limit_children: 56, # Integer |
16 count_children: true, # Boolean |
17 fetch_page_for_comment_id: 'fetch_page_for_comment_id_example', # String |
18 include_config: true, # Boolean |
19 count_all: true, # Boolean |
20 includei10n: true, # Boolean |
21 locale: 'locale_example', # String |
22 modules: 'modules_example', # String |
23 is_crawler: true, # Boolean |
24 include_notification_count: true, # Boolean |
25 as_tree: true, # Boolean |
26 max_tree_depth: 56, # Integer |
27 use_full_translation_ids: true, # Boolean |
28 parent_id: 'parent_id_example', # String |
29 search_text: 'search_text_example', # String |
30 hash_tags: ['inner_example'], # Array<String> |
31 user_id: 'user_id_example', # String |
32 custom_config_str: 'custom_config_str_example', # String |
33 after_comment_id: 'after_comment_id_example', # String |
34 before_comment_id: 'before_comment_id_example' # String |
35}
36
37begin
38
39 result = api_instance.get_comments_public(tenant_id, url_id, opts)
40 p result
41rescue FastCommentsClient::ApiError => e
42 puts "Error when calling PublicApi->get_comments_public: #{e}"
43end
44

๋Œ“๊ธ€ ์ž ๊ธˆ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
broadcastId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: LockComment200Response

์˜ˆ์ œ

lock_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
9opts = {
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.lock_comment(tenant_id, comment_id, broadcast_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->lock_comment: #{e}"
19end
20

๋Œ“๊ธ€ ๊ณ ์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
broadcastId string query ์˜ˆ
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: PinComment200Response

์˜ˆ์ œ

pin_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_id = 'comment_id_example' # String |
8broadcast_id = 'broadcast_id_example' # String |
9opts = {
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.pin_comment(tenant_id, comment_id, broadcast_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->pin_comment: #{e}"
19end
20

๋Œ“๊ธ€ ์ €์žฅ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
isLive boolean query ์•„๋‹ˆ์˜ค
doSpamCheck boolean query ์•„๋‹ˆ์˜ค
sendEmails boolean query ์•„๋‹ˆ์˜ค
populateNotifications boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: SaveComment200Response

์˜ˆ์ œ

save_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_comment_params = FastCommentsClient::CreateCommentParams.new({commenter_name: 'commenter_name_example', comment: 'comment_example', url: 'url_example', url_id: 'url_id_example', locale: 'locale_example'}) # CreateCommentParams |
15opts = {
16 is_live: true, # Boolean |
17 do_spam_check: true, # Boolean |
18 send_emails: true, # Boolean |
19 populate_notifications: true # Boolean |
20}
21
22begin
23
24 result = api_instance.save_comment(tenant_id, create_comment_params, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->save_comment: #{e}"
28end
29

๋Œ“๊ธ€ ์ผ๊ด„ ์ €์žฅ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
isLive boolean query ์•„๋‹ˆ์˜ค
doSpamCheck boolean query ์•„๋‹ˆ์˜ค
sendEmails boolean query ์•„๋‹ˆ์˜ค
populateNotifications boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: Array&lt;SaveComment200Response&gt;

์˜ˆ์ œ

save_comments_bulk ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_comment_params = [FastCommentsClient::CreateCommentParams.new({commenter_name: 'commenter_name_example', comment: 'comment_example', url: 'url_example', url_id: 'url_id_example', locale: 'locale_example'})] # Array<CreateCommentParams> |
15opts = {
16 is_live: true, # Boolean |
17 do_spam_check: true, # Boolean |
18 send_emails: true, # Boolean |
19 populate_notifications: true # Boolean |
20}
21
22begin
23
24 result = api_instance.save_comments_bulk(tenant_id, create_comment_params, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->save_comments_bulk: #{e}"
28end
29

๋Œ“๊ธ€ ํ…์ŠคํŠธ ์„ค์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ๊ฒฝ๋กœ ์˜ˆ
commentId string ๊ฒฝ๋กœ ์˜ˆ
broadcastId string ์ฟผ๋ฆฌ ์˜ˆ
editKey string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
sso string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: SetCommentText200Response

์˜ˆ์ œ

set_comment_text ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7comment_id = 'comment_id_example' # String |
8broadcast_id = 'broadcast_id_example' # String |
9comment_text_update_request = FastCommentsClient::CommentTextUpdateRequest.new({comment: 'comment_example'}) # CommentTextUpdateRequest |
10opts = {
11 edit_key: 'edit_key_example', # String |
12 sso: 'sso_example' # String |
13}
14
15begin
16
17 result = api_instance.set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling PublicApi->set_comment_text: #{e}"
21end
22

๋Œ“๊ธ€์—์„œ ์‚ฌ์šฉ์ž ์ฐจ๋‹จ ํ•ด์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
anonUserId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: UnBlockCommentPublic200Response

์˜ˆ์ œ

un_block_user_from_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15un_block_from_comment_params = FastCommentsClient::UnBlockFromCommentParams.new # UnBlockFromCommentParams |
16opts = {
17 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
18 anon_user_id: 'anon_user_id_example' # ๋ฌธ์ž์—ด |
19}
20
21begin
22
23 result = api_instance.un_block_user_from_comment(tenant_id, id, un_block_from_comment_params, opts)
24 p result
25rescue FastCommentsClient::ApiError => e
26 puts "Error when calling DefaultApi->un_block_user_from_comment: #{e}"
27end
28

๋Œ“๊ธ€ ์‹ ๊ณ  ์ทจ์†Œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
anonUserId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagComment200Response

์˜ˆ์ œ

un_flag_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15opts = {
16 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
17 anon_user_id: 'anon_user_id_example' # ๋ฌธ์ž์—ด |
18}
19
20begin
21
22 result = api_instance.un_flag_comment(tenant_id, id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->un_flag_comment: #{e}"
26end
27

๋Œ“๊ธ€ ์ž ๊ธˆ ํ•ด์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
broadcastId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: LockComment200Response

์˜ˆ์ œ

un_lock_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
9opts = {
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.un_lock_comment(tenant_id, comment_id, broadcast_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->un_lock_comment: #{e}"
19end
20

๋Œ“๊ธ€ ๊ณ ์ • ํ•ด์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
broadcastId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: PinComment200Response

์˜ˆ์ œ

un_pin_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
9opts = {
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.un_pin_comment(tenant_id, comment_id, broadcast_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->un_pin_comment: #{e}"
19end
20

๋Œ“๊ธ€ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
contextUserId string query ์•„๋‹ˆ์˜ค
doSpamCheck boolean query ์•„๋‹ˆ์˜ค
isLive boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15updatable_comment_params = FastCommentsClient::UpdatableCommentParams.new # UpdatableCommentParams |
16opts = {
17 context_user_id: 'context_user_id_example', # String |
18 do_spam_check: true, # Boolean |
19 is_live: true # Boolean |
20}
21
22begin
23
24 result = api_instance.update_comment(tenant_id, id, updatable_comment_params, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->update_comment: #{e}"
28end
29

๋Œ“๊ธ€ ํˆฌํ‘œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
commentId string path ์˜ˆ
urlId string query ์˜ˆ
broadcastId string query ์˜ˆ
sessionId string query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: VoteComment200Response

์˜ˆ์ œ

vote_comment ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
9broadcast_id = 'broadcast_id_example' # ๋ฌธ์ž์—ด |
10vote_body_params = FastCommentsClient::VoteBodyParams.new({commenter_email: 'commenter_email_example', commenter_name: 'commenter_name_example', vote_dir: 'up', url: 'url_example'}) # VoteBodyParams |
11opts = {
12 session_id: 'session_id_example', # ๋ฌธ์ž์—ด |
13 sso: 'sso_example' # ๋ฌธ์ž์—ด |
14}
15
16begin
17
18 result = api_instance.vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling PublicApi->vote_comment: #{e}"
22end
23

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ์ถ”๊ฐ€ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: AddDomainConfig200Response

์˜ˆ์ œ

add_domain_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14add_domain_config_params = FastCommentsClient::AddDomainConfigParams.new({domain: 'domain_example'}) # AddDomainConfigParams |
15
16begin
17
18 result = api_instance.add_domain_config(tenant_id, add_domain_config_params)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->add_domain_config: #{e}"
22end
23

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
domain string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteDomainConfig200Response

์˜ˆ์ œ

delete_domain_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14domain = 'domain_example' # String |
15
16begin
17
18 result = api_instance.delete_domain_config(tenant_id, domain)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_domain_config: #{e}"
22end
23

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
domain string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

get_domain_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14domain = 'domain_example' # String |
15
16begin
17
18 result = api_instance.get_domain_config(tenant_id, domain)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_domain_config: #{e}"
22end
23

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfigs200Response

์˜ˆ์ œ

get_domain_configs ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์—ฌ API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14
15begin
16
17 result = api_instance.get_domain_configs(tenant_id)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling DefaultApi->get_domain_configs: #{e}"
21end
22

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ์ผ๋ถ€ ์ˆ˜์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
domainToUpdate string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

patch_domain_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14domain_to_update = 'domain_to_update_example' # String |
15patch_domain_config_params = FastCommentsClient::PatchDomainConfigParams.new # PatchDomainConfigParams |
16
17begin
18
19 result = api_instance.patch_domain_config(tenant_id, domain_to_update, patch_domain_config_params)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->patch_domain_config: #{e}"
23end
24

๋„๋ฉ”์ธ ๊ตฌ์„ฑ ๊ต์ฒด Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
domainToUpdate string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

put_domain_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14domain_to_update = 'domain_to_update_example' # String |
15update_domain_config_params = FastCommentsClient::UpdateDomainConfigParams.new({domain: 'domain_example'}) # UpdateDomainConfigParams |
16
17begin
18
19 result = api_instance.put_domain_config(tenant_id, domain_to_update, update_domain_config_params)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->put_domain_config: #{e}"
23end
24

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateEmailTemplate200Response

์˜ˆ์ œ

create_email_template ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_email_template_body = FastCommentsClient::CreateEmailTemplateBody.new({email_template_id: 'email_template_id_example', display_name: 'display_name_example', ejs: 'ejs_example'}) # CreateEmailTemplateBody |
15
16begin
17
18 result = api_instance.create_email_template(tenant_id, create_email_template_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_email_template: #{e}"
22end
23

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_email_template ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_email_template(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_email_template: #{e}"
22end
23

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ๋ Œ๋” ์˜ค๋ฅ˜ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
errorId string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_email_template_render_error ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์—ฌ API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15error_id = 'error_id_example' # ๋ฌธ์ž์—ด |
16
17begin
18
19 result = api_instance.delete_email_template_render_error(tenant_id, id, error_id)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->delete_email_template_render_error: #{e}"
23end
24

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplate200Response

์˜ˆ์ œ

get_email_template ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_email_template(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_email_template: #{e}"
22end
23

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ์ •์˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplateDefinitions200Response

์˜ˆ์ œ

get_email_template_definitions ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ ์„ค์ •์„ ์œ„ํ•ด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14
15begin
16
17 result = api_instance.get_email_template_definitions(tenant_id)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling DefaultApi->get_email_template_definitions: #{e}"
21end
22

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ๋ Œ๋” ์˜ค๋ฅ˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplateRenderErrors200Response

์˜ˆ์ œ

get_email_template_render_errors ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”, ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 skip: 1.2 # Float |
17}
18
19begin
20
21 result = api_instance.get_email_template_render_errors(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->get_email_template_render_errors: #{e}"
25end
26

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplates200Response

์˜ˆ์ œ

get_email_templates ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14opts = {
15 skip: 1.2 # ์‹ค์ˆ˜ |
16}
17
18begin
19
20 result = api_instance.get_email_templates(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_email_templates: #{e}"
24end
25

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ๋ Œ๋” Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
locale string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: RenderEmailTemplate200Response

์˜ˆ์ œ

render_email_template ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # config.api_key_prefix['x-api-key'] = 'Bearer'
9 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”(๊ธฐ๋ณธ๊ฐ’: nil)
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14render_email_template_body = FastCommentsClient::RenderEmailTemplateBody.new({email_template_id: 'email_template_id_example', ejs: 'ejs_example'}) # RenderEmailTemplateBody |
15opts = {
16 locale: 'locale_example' # String |
17}
18
19begin
20
21 result = api_instance.render_email_template(tenant_id, render_email_template_body, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "DefaultApi->render_email_template ํ˜ธ์ถœ ์ค‘ ์˜ค๋ฅ˜ ๋ฐœ์ƒ: #{e}"
25end
26

์ด๋ฉ”์ผ ํ…œํ”Œ๋ฆฟ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_email_template ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_email_template_body = FastCommentsClient::UpdateEmailTemplateBody.new # UpdateEmailTemplateBody |
16
17begin
18
19 result = api_instance.update_email_template(tenant_id, id, update_email_template_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_email_template: #{e}"
23end
24

์ด๋ฒคํŠธ ๋กœ๊ทธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

req tenantId urlId userIdWS

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path Yes
urlId string query Yes
userIdWS string query Yes
startTime integer query Yes
endTime integer query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: GetEventLog200Response

์˜ˆ์ œ

get_event_log ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7url_id = 'url_id_example' # String |
8user_id_ws = 'user_id_ws_example' # String |
9start_time = 789 # Integer |
10end_time = 789 # Integer |
11
12begin
13
14 result = api_instance.get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
15 p result
16rescue FastCommentsClient::ApiError => e
17 puts "Error when calling PublicApi->get_event_log: #{e}"
18end
19

์ „์ฒด ์ด๋ฒคํŠธ ๋กœ๊ทธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


์š”์ฒญ tenantId urlId userIdWS

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string path ์˜ˆ
urlId string query ์˜ˆ
userIdWS string query ์˜ˆ
startTime integer query ์˜ˆ
endTime integer query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetEventLog200Response

์˜ˆ์ œ

get_global_event_log ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
8user_id_ws = 'user_id_ws_example' # ๋ฌธ์ž์—ด |
9start_time = 789 # ์ •์ˆ˜ |
10end_time = 789 # ์ •์ˆ˜ |
11
12begin
13
14 result = api_instance.get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
15 p result
16rescue FastCommentsClient::ApiError => e
17 puts "Error when calling PublicApi->get_global_event_log: #{e}"
18end
19

ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
broadcastId string query ์•„๋‹ˆ์š”
isLive boolean query ์•„๋‹ˆ์š”
doSpamCheck boolean query ์•„๋‹ˆ์š”
skipDupCheck boolean query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPost200Response

์˜ˆ์ œ

create_feed_post ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”(์˜ˆ: 'Bearer'). (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_feed_post_params = FastCommentsClient::CreateFeedPostParams.new # CreateFeedPostParams |
15opts = {
16 broadcast_id: 'broadcast_id_example', # String |
17 is_live: true, # Boolean |
18 do_spam_check: true, # Boolean |
19 skip_dup_check: true # Boolean |
20}
21
22begin
23
24 result = api_instance.create_feed_post(tenant_id, create_feed_post_params, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->create_feed_post: #{e}"
28end
29

๊ณต๊ฐœ ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์š” ์—ฌ๋ถ€ ์„ค๋ช…
tenantId string path ์˜ˆ
broadcastId string query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPostPublic200Response

์˜ˆ์ œ

create_feed_post_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7create_feed_post_params = FastCommentsClient::CreateFeedPostParams.new # CreateFeedPostParams |
8opts = {
9 broadcast_id: 'broadcast_id_example', # String |
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.create_feed_post_public(tenant_id, create_feed_post_params, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->create_feed_post_public: #{e}"
19end
20

๊ณต๊ฐœ ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
postId string path ์˜ˆ
broadcastId string query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteFeedPostPublic200Response

์˜ˆ์ œ

delete_feed_post_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7post_id = 'post_id_example' # ๋ฌธ์ž์—ด |
8opts = {
9 broadcast_id: 'broadcast_id_example', # ๋ฌธ์ž์—ด |
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.delete_feed_post_public(tenant_id, post_id, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->delete_feed_post_public: #{e}"
19end
20

ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

req tenantId afterId

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
afterId string query ์•„๋‹ˆ์š”
limit integer query ์•„๋‹ˆ์š”
tags array query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPosts200Response

์˜ˆ์ œ

get_feed_posts ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์—ฌ API ํ‚ค ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 after_id: 'after_id_example', # String |
16 limit: 56, # Integer |
17 tags: ['inner_example'] # Array<String> |
18}
19
20begin
21
22 result = api_instance.get_feed_posts(tenant_id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->get_feed_posts: #{e}"
26end
27

๊ณต๊ฐœ ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

req tenantId afterId

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
afterId string query ์•„๋‹ˆ์˜ค
limit integer query ์•„๋‹ˆ์˜ค
tags array query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค
isCrawler boolean query ์•„๋‹ˆ์˜ค
includeUserInfo boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPostsPublic200Response

์˜ˆ์ œ

get_feed_posts_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7opts = {
8 after_id: 'after_id_example', # String |
9 limit: 56, # Integer |
10 tags: ['inner_example'], # Array<String> |
11 sso: 'sso_example', # String |
12 is_crawler: true, # Boolean |
13 include_user_info: true # Boolean |
14}
15
16begin
17
18 result = api_instance.get_feed_posts_public(tenant_id, opts)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling PublicApi->get_feed_posts_public: #{e}"
22end
23

ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ํ†ต๊ณ„ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string path ์˜ˆ
postIds array query ์˜ˆ
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPostsStats200Response

์˜ˆ์ œ

get_feed_posts_stats ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7post_ids = ['inner_example'] # Array<String> |
8opts = {
9 sso: 'sso_example' # String |
10}
11
12begin
13
14 result = api_instance.get_feed_posts_stats(tenant_id, post_ids, opts)
15 p result
16rescue FastCommentsClient::ApiError => e
17 puts "Error when calling PublicApi->get_feed_posts_stats: #{e}"
18end
19

๊ณต๊ฐœ ์‚ฌ์šฉ์ž ๋ฐ˜์‘ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ๊ฒฝ๋กœ ์˜ˆ
postIds array ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
sso string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserReactsPublic200Response

์˜ˆ์ œ

get_user_reacts_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7opts = {
8 post_ids: ['inner_example'], # Array<String> |
9 sso: 'sso_example' # String |
10}
11
12begin
13
14 result = api_instance.get_user_reacts_public(tenant_id, opts)
15 p result
16rescue FastCommentsClient::ApiError => e
17 puts "Error when calling PublicApi->get_user_reacts_public: #{e}"
18end
19

๊ณต๊ฐœ ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ์— ๋ฐ˜์‘ํ•˜๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
postId string path ์˜ˆ
isUndo boolean query ์•„๋‹ˆ์˜ค
broadcastId string query ์•„๋‹ˆ์˜ค
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: ReactFeedPostPublic200Response

์˜ˆ์ œ

react_feed_post_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7post_id = 'post_id_example' # String |
8react_body_params = FastCommentsClient::ReactBodyParams.new # ReactBodyParams |
9opts = {
10 is_undo: true, # Boolean |
11 broadcast_id: 'broadcast_id_example', # String |
12 sso: 'sso_example' # String |
13}
14
15begin
16
17 result = api_instance.react_feed_post_public(tenant_id, post_id, react_body_params, opts)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling PublicApi->react_feed_post_public: #{e}"
21end
22

ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_feed_post ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์‹ญ์‹œ์˜ค. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15feed_post = FastCommentsClient::FeedPost.new({_id: '_id_example', tenant_id: 'tenant_id_example', created_at: Time.now}) # FeedPost |
16
17begin
18
19 result = api_instance.update_feed_post(tenant_id, id, feed_post)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_feed_post: #{e}"
23end
24

๊ณต๊ฐœ ํ”ผ๋“œ ๊ฒŒ์‹œ๋ฌผ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ๊ฒฝ๋กœ ์˜ˆ
postId string ๊ฒฝ๋กœ ์˜ˆ
broadcastId string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
sso string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPostPublic200Response

์˜ˆ์ œ

update_feed_post_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7post_id = 'post_id_example' # ๋ฌธ์ž์—ด |
8update_feed_post_params = FastCommentsClient::UpdateFeedPostParams.new # UpdateFeedPostParams |
9opts = {
10 broadcast_id: 'broadcast_id_example', # ๋ฌธ์ž์—ด |
11 sso: 'sso_example' # ๋ฌธ์ž์—ด |
12}
13
14begin
15
16 result = api_instance.update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts)
17 p result
18rescue FastCommentsClient::ApiError => e
19 puts "Error when calling PublicApi->update_feed_post_public: #{e}"
20end
21

๊ณต๊ฐœ ๋Œ“๊ธ€ ์‹ ๊ณ  Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
commentId string path ์˜ˆ
isFlagged boolean query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

flag_comment_public ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
8is_flagged = true # ๋ถ€์šธ |
9opts = {
10 sso: 'sso_example' # ๋ฌธ์ž์—ด |
11}
12
13begin
14
15 result = api_instance.flag_comment_public(tenant_id, comment_id, is_flagged, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->flag_comment_public: #{e}"
19end
20

ํ•ด์‹œํƒœ๊ทธ ์ถ”๊ฐ€ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: AddHashTag200Response

์˜ˆ์ œ

add_hash_tag ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13opts = {
14 tenant_id: 'tenant_id_example', # String |
15 create_hash_tag_body: FastCommentsClient::CreateHashTagBody.new({tag: 'tag_example'}) # CreateHashTagBody |
16}
17
18begin
19
20 result = api_instance.add_hash_tag(opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->add_hash_tag: #{e}"
24end
25

ํ•ด์‹œํƒœ๊ทธ ์ผ๊ด„ ์ถ”๊ฐ€ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: AddHashTagsBulk200Response

์˜ˆ์ œ

add_hash_tags_bulk ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13opts = {
14 tenant_id: 'tenant_id_example', # String |
15 bulk_create_hash_tags_body: FastCommentsClient::BulkCreateHashTagsBody.new({tags: [FastCommentsClient::BulkCreateHashTagsBodyTagsInner.new({tag: 'tag_example'})]}) # BulkCreateHashTagsBody |
16}
17
18begin
19
20 result = api_instance.add_hash_tags_bulk(opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->add_hash_tags_bulk: #{e}"
24end
25

ํ•ด์‹œํƒœ๊ทธ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tag string path ์˜ˆ
tenantId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_hash_tag ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์˜ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tag = 'tag_example' # String |
14opts = {
15 tenant_id: 'tenant_id_example', # String |
16 delete_hash_tag_request: FastCommentsClient::DeleteHashTagRequest.new # DeleteHashTagRequest |
17}
18
19begin
20
21 result = api_instance.delete_hash_tag(tag, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->delete_hash_tag: #{e}"
25end
26

ํ•ด์‹œํƒœ๊ทธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

Parameters

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
page number query ์•„๋‹ˆ์˜ค

Response

๋ฐ˜ํ™˜: GetHashTags200Response

์˜ˆ์ œ

get_hash_tags ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 page: 1.2 # Float |
16}
17
18begin
19
20 result = api_instance.get_hash_tags(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_hash_tags: #{e}"
24end
25

ํ•ด์‹œํƒœ๊ทธ ์ผ๋ถ€ ์ˆ˜์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tag string path Yes
tenantId string query No

์‘๋‹ต

๋ฐ˜ํ™˜: PatchHashTag200Response

์˜ˆ์ œ

patch_hash_tag ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tag = 'tag_example' # String |
14opts = {
15 tenant_id: 'tenant_id_example', # String |
16 update_hash_tag_body: FastCommentsClient::UpdateHashTagBody.new # UpdateHashTagBody |
17}
18
19begin
20
21 result = api_instance.patch_hash_tag(tag, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->patch_hash_tag: #{e}"
25end
26

๋ชจ๋”๋ ˆ์ดํ„ฐ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateModerator200Response

์˜ˆ์ œ

create_moderator ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_moderator_body = FastCommentsClient::CreateModeratorBody.new({name: 'name_example', email: 'email_example'}) # CreateModeratorBody |
15
16begin
17
18 result = api_instance.create_moderator(tenant_id, create_moderator_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_moderator: #{e}"
22end
23

๋ชจ๋”๋ ˆ์ดํ„ฐ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
sendEmail string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_moderator ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 send_email: 'send_email_example' # String |
17}
18
19begin
20
21 result = api_instance.delete_moderator(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->delete_moderator: #{e}"
25end
26

๋ชจ๋”๋ ˆ์ดํ„ฐ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetModerator200Response

์˜ˆ์ œ

get_moderator ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_moderator(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_moderator: #{e}"
22end
23

๋ชจ๋”๋ ˆ์ดํ„ฐ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetModerators200Response

์˜ˆ์ œ

get_moderators ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 skip: 1.2 # Float |
16}
17
18begin
19
20 result = api_instance.get_moderators(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_moderators: #{e}"
24end
25

์ดˆ๋Œ€์žฅ ์ „์†ก Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
fromName string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

send_invite ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15from_name = 'from_name_example' # String |
16
17begin
18
19 result = api_instance.send_invite(tenant_id, id, from_name)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->send_invite: #{e}"
23end
24

๋ชจ๋”๋ ˆ์ดํ„ฐ ์—…๋ฐ์ดํŠธ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_moderator ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_moderator_body = FastCommentsClient::UpdateModeratorBody.new # UpdateModeratorBody |
16
17begin
18
19 result = api_instance.update_moderator(tenant_id, id, update_moderator_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_moderator: #{e}"
23end
24

์•Œ๋ฆผ ์ˆ˜ ์‚ญ์ œ Internal Link

Parameters

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ

Response

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_notification_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_notification_count(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_notification_count: #{e}"
22end
23

์บ์‹œ๋œ ์•Œ๋ฆผ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetCachedNotificationCount200Response

์˜ˆ์ œ

get_cached_notification_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_cached_notification_count(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_cached_notification_count: #{e}"
22end
23

์•Œ๋ฆผ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
userId string query ์•„๋‹ˆ์š”
urlId string query ์•„๋‹ˆ์š”
fromCommentId string query ์•„๋‹ˆ์š”
viewed boolean query ์•„๋‹ˆ์š”
type string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetNotificationCount200Response

์˜ˆ์ œ

get_notification_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14opts = {
15 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
16 url_id: 'url_id_example', # ๋ฌธ์ž์—ด |
17 from_comment_id: 'from_comment_id_example', # ๋ฌธ์ž์—ด |
18 viewed: true, # ๋ถ€์šธ |
19 type: 'type_example' # ๋ฌธ์ž์—ด |
20}
21
22begin
23
24 result = api_instance.get_notification_count(tenant_id, opts)
25 p result
26rescue FastCommentsClient::ApiError => e
27 puts "Error when calling DefaultApi->get_notification_count: #{e}"
28end
29

์•Œ๋ฆผ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
userId string query ์•„๋‹ˆ์š”
urlId string query ์•„๋‹ˆ์š”
fromCommentId string query ์•„๋‹ˆ์š”
viewed boolean query ์•„๋‹ˆ์š”
type string query ์•„๋‹ˆ์š”
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetNotifications200Response

์˜ˆ์ œ

get_notifications ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14opts = {
15 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
16 url_id: 'url_id_example', # ๋ฌธ์ž์—ด |
17 from_comment_id: 'from_comment_id_example', # ๋ฌธ์ž์—ด |
18 viewed: true, # ๋ถˆ๋ฆฌ์–ธ |
19 type: 'type_example', # ๋ฌธ์ž์—ด |
20 skip: 1.2 # ์‹ค์ˆ˜ |
21}
22
23begin
24
25 result = api_instance.get_notifications(tenant_id, opts)
26 p result
27rescue FastCommentsClient::ApiError => e
28 puts "Error when calling DefaultApi->get_notifications: #{e}"
29end
30

์•Œ๋ฆผ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
userId string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_notification ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_notification_body = FastCommentsClient::UpdateNotificationBody.new # UpdateNotificationBody |
16opts = {
17 user_id: 'user_id_example' # String |
18}
19
20begin
21
22 result = api_instance.update_notification(tenant_id, id, update_notification_body, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->update_notification: #{e}"
26end
27

ํŽ˜์ด์ง€ ์ถ”๊ฐ€ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: AddPageAPIResponse

์˜ˆ์ œ

add_page ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_api_page_data = FastCommentsClient::CreateAPIPageData.new({title: 'title_example', url: 'url_example', url_id: 'url_id_example'}) # CreateAPIPageData |
15
16begin
17
18 result = api_instance.add_page(tenant_id, create_api_page_data)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->add_page: #{e}"
22end
23

ํŽ˜์ด์ง€ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: DeletePageAPIResponse

์˜ˆ์ œ

delete_page ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_page(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_page: #{e}"
22end
23

URL ID๋กœ ํŽ˜์ด์ง€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
urlId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetPageByURLIdAPIResponse

์˜ˆ์ œ

get_page_by_urlid ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์—ฌ API ํ‚ค ์ ‘๋‘์‚ฌ ์„ค์ •, ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_page_by_urlid(tenant_id, url_id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_page_by_urlid: #{e}"
22end
23

ํŽ˜์ด์ง€ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetPagesAPIResponse

์˜ˆ์ œ

get_pages ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14
15begin
16
17 result = api_instance.get_pages(tenant_id)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling DefaultApi->get_pages: #{e}"
21end
22

ํŽ˜์ด์ง€ ์ผ๋ถ€ ์ˆ˜์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: PatchPageAPIResponse

์˜ˆ์ œ

patch_page ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_api_page_data = FastCommentsClient::UpdateAPIPageData.new # UpdateAPIPageData |
16
17begin
18
19 result = api_instance.patch_page(tenant_id, id, update_api_page_data)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->patch_page: #{e}"
23end
24

๋ณด๋ฅ˜ ์ค‘์ธ ์›นํ›„ํฌ ์ด๋ฒคํŠธ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_pending_webhook_event ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_pending_webhook_event(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_pending_webhook_event: #{e}"
22end
23

๋ณด๋ฅ˜ ์ค‘์ธ ์›นํ›„ํฌ ์ด๋ฒคํŠธ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
commentId string query ์•„๋‹ˆ์š”
externalId string query ์•„๋‹ˆ์š”
eventType string query ์•„๋‹ˆ์š”
type string query ์•„๋‹ˆ์š”
domain string query ์•„๋‹ˆ์š”
attemptCountGT number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetPendingWebhookEventCount200Response

์˜ˆ์ œ

get_pending_webhook_event_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ์•„๋ž˜ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14opts = {
15 comment_id: 'comment_id_example', # ๋ฌธ์ž์—ด |
16 external_id: 'external_id_example', # ๋ฌธ์ž์—ด |
17 event_type: 'event_type_example', # ๋ฌธ์ž์—ด |
18 type: 'type_example', # ๋ฌธ์ž์—ด |
19 domain: 'domain_example', # ๋ฌธ์ž์—ด |
20 attempt_count_gt: 1.2 # ์‹ค์ˆ˜ |
21}
22
23begin
24
25 result = api_instance.get_pending_webhook_event_count(tenant_id, opts)
26 p result
27rescue FastCommentsClient::ApiError => e
28 puts "Error when calling DefaultApi->get_pending_webhook_event_count: #{e}"
29end
30

๋ณด๋ฅ˜ ์ค‘์ธ ์›นํ›„ํฌ ์ด๋ฒคํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ์ฟผ๋ฆฌ ์˜ˆ
commentId string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
externalId string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
eventType string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
type string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
domain string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
attemptCountGT number ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค
skip number ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetPendingWebhookEvents200Response

์˜ˆ์ œ

get_pending_webhook_events ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”, ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 comment_id: 'comment_id_example', # String |
16 external_id: 'external_id_example', # String |
17 event_type: 'event_type_example', # String |
18 type: 'type_example', # String |
19 domain: 'domain_example', # String |
20 attempt_count_gt: 1.2, # Float |
21 skip: 1.2 # Float |
22}
23
24begin
25
26 result = api_instance.get_pending_webhook_events(tenant_id, opts)
27 p result
28rescue FastCommentsClient::ApiError => e
29 puts "Error when calling DefaultApi->get_pending_webhook_events: #{e}"
30end
31

์งˆ๋ฌธ ๊ตฌ์„ฑ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateQuestionConfig200Response

์˜ˆ์ œ

create_question_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์˜ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”(์˜ˆ: 'Bearer', ๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_question_config_body = FastCommentsClient::CreateQuestionConfigBody.new({name: 'name_example', question: 'question_example', type: 'type_example', reporting_order: 3.56}) # CreateQuestionConfigBody |
15
16begin
17
18 result = api_instance.create_question_config(tenant_id, create_question_config_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_question_config: #{e}"
22end
23

์งˆ๋ฌธ ๊ตฌ์„ฑ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_question_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_question_config(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_question_config: #{e}"
22end
23

์งˆ๋ฌธ ๊ตฌ์„ฑ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes
id string path Yes

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionConfig200Response

์˜ˆ์ œ

get_question_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_question_config(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_question_config: #{e}"
22end
23

์งˆ๋ฌธ ๊ตฌ์„ฑ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionConfigs200Response

์˜ˆ์ œ

get_question_configs ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์—ฌ API ํ‚ค ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 skip: 1.2 # Float |
16}
17
18begin
19
20 result = api_instance.get_question_configs(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_question_configs: #{e}"
24end
25

์งˆ๋ฌธ ๊ตฌ์„ฑ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_question_config ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_question_config_body = FastCommentsClient::UpdateQuestionConfigBody.new # UpdateQuestionConfigBody |
16
17begin
18
19 result = api_instance.update_question_config(tenant_id, id, update_question_config_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_question_config: #{e}"
23end
24

์งˆ๋ฌธ ๊ฒฐ๊ณผ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: CreateQuestionResult200Response

์˜ˆ์ œ

create_question_result ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_question_result_body = FastCommentsClient::CreateQuestionResultBody.new({url_id: 'url_id_example', value: 3.56, question_id: 'question_id_example'}) # CreateQuestionResultBody |
15
16begin
17
18 result = api_instance.create_question_result(tenant_id, create_question_result_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_question_result: #{e}"
22end
23

์งˆ๋ฌธ ๊ฒฐ๊ณผ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

๋ฐ˜ํ™˜

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_question_result ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”(๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_question_result(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_question_result: #{e}"
22end
23

์งˆ๋ฌธ ๊ฒฐ๊ณผ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionResult200Response

์˜ˆ์ œ

get_question_result ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_question_result(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_question_result: #{e}"
22end
23

์งˆ๋ฌธ ๊ฒฐ๊ณผ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
urlId string query ์•„๋‹ˆ์š”
userId string query ์•„๋‹ˆ์š”
startDate string query ์•„๋‹ˆ์š”
questionId string query ์•„๋‹ˆ์š”
questionIds string query ์•„๋‹ˆ์š”
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionResults200Response

์˜ˆ์ œ

get_question_results ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 url_id: 'url_id_example', # String |
16 user_id: 'user_id_example', # String |
17 start_date: 'start_date_example', # String |
18 question_id: 'question_id_example', # String |
19 question_ids: 'question_ids_example', # String |
20 skip: 1.2 # Float |
21}
22
23begin
24
25 result = api_instance.get_question_results(tenant_id, opts)
26 p result
27rescue FastCommentsClient::ApiError => e
28 puts "Error when calling DefaultApi->get_question_results: #{e}"
29end
30

์งˆ๋ฌธ ๊ฒฐ๊ณผ ์—…๋ฐ์ดํŠธ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_question_result ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_question_result_body = FastCommentsClient::UpdateQuestionResultBody.new # UpdateQuestionResultBody |
16
17begin
18
19 result = api_instance.update_question_result(tenant_id, id, update_question_result_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_question_result: #{e}"
23end
24

์งˆ๋ฌธ ๊ฒฐ๊ณผ ์ง‘๊ณ„ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
questionId string query ์•„๋‹ˆ์š”
questionIds array query ์•„๋‹ˆ์š”
urlId string query ์•„๋‹ˆ์š”
timeBucket string query ์•„๋‹ˆ์š”
startDate string query ์•„๋‹ˆ์š”
forceRecalculate boolean query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: AggregateQuestionResults200Response

์˜ˆ์ œ

aggregate_question_results ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 question_id: 'question_id_example', # String |
16 question_ids: ['inner_example'], # Array<String> |
17 url_id: 'url_id_example', # String |
18 time_bucket: FastCommentsClient::AggregateTimeBucket::DAY, # AggregateTimeBucket |
19 start_date: Time.parse('2013-10-20T19:20:30+01:00'), # Time |
20 force_recalculate: true # Boolean |
21}
22
23begin
24
25 result = api_instance.aggregate_question_results(tenant_id, opts)
26 p result
27rescue FastCommentsClient::ApiError => e
28 puts "Error when calling DefaultApi->aggregate_question_results: #{e}"
29end
30

์งˆ๋ฌธ ๊ฒฐ๊ณผ ์ผ๊ด„ ์ง‘๊ณ„ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
forceRecalculate boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: BulkAggregateQuestionResults200Response

์˜ˆ์ œ

bulk_aggregate_question_results ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14bulk_aggregate_question_results_request = FastCommentsClient::BulkAggregateQuestionResultsRequest.new({aggregations: [FastCommentsClient::BulkAggregateQuestionItem.new({agg_id: 'agg_id_example'})]}) # BulkAggregateQuestionResultsRequest |
15opts = {
16 force_recalculate: true # Boolean |
17}
18
19begin
20
21 result = api_instance.bulk_aggregate_question_results(tenant_id, bulk_aggregate_question_results_request, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->bulk_aggregate_question_results: #{e}"
25end
26

๋Œ“๊ธ€์„ ์งˆ๋ฌธ ๊ฒฐ๊ณผ์™€ ๊ฒฐํ•ฉ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
questionId string query ์•„๋‹ˆ์˜ค
questionIds array query ์•„๋‹ˆ์˜ค
urlId string query ์•„๋‹ˆ์˜ค
startDate string query ์•„๋‹ˆ์˜ค
forceRecalculate boolean query ์•„๋‹ˆ์˜ค
minValue number query ์•„๋‹ˆ์˜ค
maxValue number query ์•„๋‹ˆ์˜ค
limit number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: CombineCommentsWithQuestionResults200Response

์˜ˆ์ œ

combine_comments_with_question_results ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 question_id: 'question_id_example', # String |
16 question_ids: ['inner_example'], # Array<String> |
17 url_id: 'url_id_example', # String |
18 start_date: Time.parse('2013-10-20T19:20:30+01:00'), # Time |
19 force_recalculate: true, # Boolean |
20 min_value: 1.2, # Float |
21 max_value: 1.2, # Float |
22 limit: 1.2 # Float |
23}
24
25begin
26
27 result = api_instance.combine_comments_with_question_results(tenant_id, opts)
28 p result
29rescue FastCommentsClient::ApiError => e
30 puts "Error when calling DefaultApi->combine_comments_with_question_results: #{e}"
31end
32

SSO ์‚ฌ์šฉ์ž ์ถ”๊ฐ€ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: AddSSOUserAPIResponse

์˜ˆ์ œ

add_sso_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_apisso_user_data = FastCommentsClient::CreateAPISSOUserData.new({email: 'email_example', username: 'username_example', id: 'id_example'}) # CreateAPISSOUserData |
15
16begin
17
18 result = api_instance.add_sso_user(tenant_id, create_apisso_user_data)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->add_sso_user: #{e}"
22end
23

SSO ์‚ฌ์šฉ์ž ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
deleteComments boolean query ์•„๋‹ˆ์˜ค
commentDeleteMode string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteSSOUserAPIResponse

์˜ˆ์ œ

delete_sso_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 delete_comments: true, # Boolean |
17 comment_delete_mode: 'comment_delete_mode_example' # String |
18}
19
20begin
21
22 result = api_instance.delete_sso_user(tenant_id, id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->delete_sso_user: #{e}"
26end
27

์ด๋ฉ”์ผ๋กœ SSO ์‚ฌ์šฉ์ž ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
email string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUserByEmailAPIResponse

์˜ˆ์ œ

get_sso_user_by_email ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14email = 'email_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_sso_user_by_email(tenant_id, email)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_sso_user_by_email: #{e}"
22end
23

ID๋กœ SSO ์‚ฌ์šฉ์ž ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUserByIdAPIResponse

์˜ˆ์ œ

get_sso_user_by_id ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์‹ญ์‹œ์˜ค. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_sso_user_by_id(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_sso_user_by_id: #{e}"
22end
23

SSO ์‚ฌ์šฉ์ž ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip integer query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUsers200Response

์˜ˆ์ œ

get_sso_users ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14opts = {
15 skip: 56 # ์ •์ˆ˜ |
16}
17
18begin
19
20 result = api_instance.get_sso_users(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_sso_users: #{e}"
24end
25

SSO ์‚ฌ์šฉ์ž ์ผ๋ถ€ ์ˆ˜์ • Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
updateComments boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: PatchSSOUserAPIResponse

์˜ˆ์ œ

patch_sso_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์—ฌ API ํ‚ค ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_apisso_user_data = FastCommentsClient::UpdateAPISSOUserData.new # UpdateAPISSOUserData |
16opts = {
17 update_comments: true # Boolean |
18}
19
20begin
21
22 result = api_instance.patch_sso_user(tenant_id, id, update_apisso_user_data, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->patch_sso_user: #{e}"
26end
27

SSO ์‚ฌ์šฉ์ž ๊ต์ฒด Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
updateComments boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: PutSSOUserAPIResponse

์˜ˆ์ œ

put_sso_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_apisso_user_data = FastCommentsClient::UpdateAPISSOUserData.new # UpdateAPISSOUserData |
16opts = {
17 update_comments: true # Boolean |
18}
19
20begin
21
22 result = api_instance.put_sso_user(tenant_id, id, update_apisso_user_data, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->put_sso_user: #{e}"
26end
27

๊ตฌ๋… ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateSubscriptionAPIResponse

์˜ˆ์ œ

create_subscription ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_api_user_subscription_data = FastCommentsClient::CreateAPIUserSubscriptionData.new({url_id: 'url_id_example'}) # CreateAPIUserSubscriptionData |
15
16begin
17
18 result = api_instance.create_subscription(tenant_id, create_api_user_subscription_data)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_subscription: #{e}"
22end
23

๊ตฌ๋… ์‚ญ์ œ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteSubscriptionAPIResponse

์˜ˆ์ œ

delete_subscription ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15opts = {
16 user_id: 'user_id_example' # ๋ฌธ์ž์—ด |
17}
18
19begin
20
21 result = api_instance.delete_subscription(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->delete_subscription: #{e}"
25end
26

๊ตฌ๋… ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetSubscriptionsAPIResponse

์˜ˆ์ œ

get_subscriptions ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 user_id: 'user_id_example' # String |
16}
17
18begin
19
20 result = api_instance.get_subscriptions(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_subscriptions: #{e}"
24end
25

ํ…Œ๋„ŒํŠธ ์ผ์ผ ์‚ฌ์šฉ๋Ÿ‰ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
yearNumber number query ์•„๋‹ˆ์˜ค
monthNumber number query ์•„๋‹ˆ์˜ค
dayNumber number query ์•„๋‹ˆ์˜ค
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantDailyUsages200Response

์˜ˆ์ œ

get_tenant_daily_usages ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 year_number: 1.2, # Float |
16 month_number: 1.2, # Float |
17 day_number: 1.2, # Float |
18 skip: 1.2 # Float |
19}
20
21begin
22
23 result = api_instance.get_tenant_daily_usages(tenant_id, opts)
24 p result
25rescue FastCommentsClient::ApiError => e
26 puts "Error when calling DefaultApi->get_tenant_daily_usages: #{e}"
27end
28

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenantPackage200Response

์˜ˆ์ œ

create_tenant_package ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_tenant_package_body = FastCommentsClient::CreateTenantPackageBody.new({name: 'name_example', max_monthly_page_loads: 3.56, max_monthly_api_credits: 3.56, max_monthly_comments: 3.56, max_concurrent_users: 3.56, max_tenant_users: 3.56, max_sso_users: 3.56, max_moderators: 3.56, max_domains: 3.56, has_debranding: false, for_who_text: 'for_who_text_example', feature_taglines: ['feature_taglines_example'], has_flex_pricing: false}) # CreateTenantPackageBody |
15
16begin
17
18 result = api_instance.create_tenant_package(tenant_id, create_tenant_package_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_tenant_package: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_tenant_package ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.delete_tenant_package(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_tenant_package: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantPackage200Response

์˜ˆ์ œ

get_tenant_package ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_tenant_package(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_tenant_package: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantPackages200Response

์˜ˆ์ œ

get_tenant_packages ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”, ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 skip: 1.2 # Float |
16}
17
18begin
19
20 result = api_instance.get_tenant_packages(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_tenant_packages: #{e}"
24end
25

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ๊ต์ฒด Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

replace_tenant_package ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15replace_tenant_package_body = FastCommentsClient::ReplaceTenantPackageBody.new({name: 'name_example', monthly_cost_usd: 3.56, yearly_cost_usd: 3.56, max_monthly_page_loads: 3.56, max_monthly_api_credits: 3.56, max_monthly_comments: 3.56, max_concurrent_users: 3.56, max_tenant_users: 3.56, max_sso_users: 3.56, max_moderators: 3.56, max_domains: 3.56, has_debranding: false, for_who_text: 'for_who_text_example', feature_taglines: ['feature_taglines_example'], has_flex_pricing: false}) # ReplaceTenantPackageBody |
16
17begin
18
19 result = api_instance.replace_tenant_package(tenant_id, id, replace_tenant_package_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->replace_tenant_package: #{e}"
23end
24

ํ…Œ๋„ŒํŠธ ํŒจํ‚ค์ง€ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_tenant_package ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_tenant_package_body = FastCommentsClient::UpdateTenantPackageBody.new # UpdateTenantPackageBody |
16
17begin
18
19 result = api_instance.update_tenant_package(tenant_id, id, update_tenant_package_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_tenant_package: #{e}"
23end
24

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenantUser200Response

์˜ˆ์ œ

create_tenant_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_tenant_user_body = FastCommentsClient::CreateTenantUserBody.new({username: 'username_example', email: 'email_example'}) # CreateTenantUserBody |
15
16begin
17
18 result = api_instance.create_tenant_user(tenant_id, create_tenant_user_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_tenant_user: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
deleteComments string query ์•„๋‹ˆ์š”
commentDeleteMode string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

delete_tenant_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 delete_comments: 'delete_comments_example', # String |
17 comment_delete_mode: 'comment_delete_mode_example' # String |
18}
19
20begin
21
22 result = api_instance.delete_tenant_user(tenant_id, id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->delete_tenant_user: #{e}"
26end
27

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantUser200Response

์˜ˆ์ œ

get_tenant_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_tenant_user(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_tenant_user: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantUsers200Response

์˜ˆ์ œ

get_tenant_users ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 skip: 1.2 # Float |
16}
17
18begin
19
20 result = api_instance.get_tenant_users(tenant_id, opts)
21 p result
22rescue FastCommentsClient::ApiError => e
23 puts "Error when calling DefaultApi->get_tenant_users: #{e}"
24end
25

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ๊ต์ฒด Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
updateComments string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

replace_tenant_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์—ฌ API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(e.g. 'Bearer')๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15replace_tenant_user_body = FastCommentsClient::ReplaceTenantUserBody.new({username: 'username_example', email: 'email_example'}) # ReplaceTenantUserBody |
16opts = {
17 update_comments: 'update_comments_example' # String |
18}
19
20begin
21
22 result = api_instance.replace_tenant_user(tenant_id, id, replace_tenant_user_body, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->replace_tenant_user: #{e}"
26end
27

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
redirectURL string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

send_login_link ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 redirect_url: 'redirect_url_example' # String |
17}
18
19begin
20
21 result = api_instance.send_login_link(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->send_login_link: #{e}"
25end
26

ํ…Œ๋„ŒํŠธ ์‚ฌ์šฉ์ž ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ
updateComments string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_tenant_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์˜ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_tenant_user_body = FastCommentsClient::UpdateTenantUserBody.new # UpdateTenantUserBody |
16opts = {
17 update_comments: 'update_comments_example' # String |
18}
19
20begin
21
22 result = api_instance.update_tenant_user(tenant_id, id, update_tenant_user_body, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->update_tenant_user: #{e}"
26end
27

ํ…Œ๋„ŒํŠธ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenant200Response

์˜ˆ์ œ

create_tenant ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14create_tenant_body = FastCommentsClient::CreateTenantBody.new({name: 'name_example', domain_configuration: [FastCommentsClient::APIDomainConfiguration.new({id: 'id_example', domain: 'domain_example', created_at: Time.now})]}) # CreateTenantBody |
15
16begin
17
18 result = api_instance.create_tenant(tenant_id, create_tenant_body)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_tenant: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ์‚ญ์ œ Internal Link

Parameters

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
sure string query ์•„๋‹ˆ์š”

Response

๋ฐ˜ํ™˜: FlagCommentPublic200Response

Example

delete_tenant ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15opts = {
16 sure: 'sure_example' # String |
17}
18
19begin
20
21 result = api_instance.delete_tenant(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->delete_tenant: #{e}"
25end
26

ํ…Œ๋„ŒํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenant200Response

์˜ˆ์ œ

get_tenant ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ(์˜ˆ: 'Bearer')๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š” (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_tenant(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_tenant: #{e}"
22end
23

ํ…Œ๋„ŒํŠธ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
meta string query ์•„๋‹ˆ์˜ค
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenants200Response

์˜ˆ์ œ

get_tenants ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 meta: 'meta_example', # String |
16 skip: 1.2 # Float |
17}
18
19begin
20
21 result = api_instance.get_tenants(tenant_id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->get_tenants: #{e}"
25end
26

ํ…Œ๋„ŒํŠธ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

update_tenant ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_tenant_body = FastCommentsClient::UpdateTenantBody.new # UpdateTenantBody |
16
17begin
18
19 result = api_instance.update_tenant(tenant_id, id, update_tenant_body)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_tenant: #{e}"
23end
24

์ด๋ฏธ์ง€ ์—…๋กœ๋“œ Internal Link

์ด๋ฏธ์ง€ ์—…๋กœ๋“œ ๋ฐ ํฌ๊ธฐ ์กฐ์ •

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
sizePreset string query ์•„๋‹ˆ์˜ค ํฌ๊ธฐ ํ”„๋ฆฌ์…‹: "Default" (1000x1000px) ๋˜๋Š” "CrossPlatform" (์ธ๊ธฐ ์žˆ๋Š” ๊ธฐ๊ธฐ์šฉ ํฌ๊ธฐ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค)
urlId string query ์•„๋‹ˆ์˜ค ์—…๋กœ๋“œ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ํŽ˜์ด์ง€ ID(๊ตฌ์„ฑ์šฉ)

์‘๋‹ต

๋ฐ˜ํ™˜: UploadImageResponse

์˜ˆ์ œ

upload_image ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7file = File.new('/path/to/some/file') # File |
8opts = {
9 size_preset: FastCommentsClient::SizePreset::DEFAULT, # SizePreset | ํฌ๊ธฐ ํ”„๋ฆฌ์…‹: \"Default\" (1000x1000px) ๋˜๋Š” \"CrossPlatform\" (์ธ๊ธฐ ์žˆ๋Š” ๊ธฐ๊ธฐ์šฉ ํฌ๊ธฐ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค)
10 url_id: 'url_id_example' # String | ์—…๋กœ๋“œ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ํŽ˜์ด์ง€ ID(๊ตฌ์„ฑ์šฉ)
11}
12
13begin
14
15 result = api_instance.upload_image(tenant_id, file, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->upload_image: #{e}"
19end
20

ID๋กœ ์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ์ง„ํ–‰์ƒํ™ฉ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressById200Response

์˜ˆ์ œ

get_user_badge_progress_by_id ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_user_badge_progress_by_id(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_user_badge_progress_by_id: #{e}"
22end
23

์‚ฌ์šฉ์ž ID๋กœ ๋ฐฐ์ง€ ์ง„ํ–‰์ƒํ™ฉ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
userId string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressById200Response

์˜ˆ์ œ

get_user_badge_progress_by_user_id ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14user_id = 'user_id_example' # String |
15
16begin
17
18 result = api_instance.get_user_badge_progress_by_user_id(tenant_id, user_id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_user_badge_progress_by_user_id: #{e}"
22end
23

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ์ง„ํ–‰ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
userId string query ์•„๋‹ˆ์š”
limit number query ์•„๋‹ˆ์š”
skip number query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressList200Response

์˜ˆ์ œ

get_user_badge_progress_list ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 user_id: 'user_id_example', # String |
16 limit: 1.2, # Float |
17 skip: 1.2 # Float |
18}
19
20begin
21
22 result = api_instance.get_user_badge_progress_list(tenant_id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->get_user_badge_progress_list: #{e}"
26end
27

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ์ƒ์„ฑ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateUserBadge200Response

์˜ˆ์ œ

create_user_badge ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14create_user_badge_params = FastCommentsClient::CreateUserBadgeParams.new({user_id: 'user_id_example', badge_id: 'badge_id_example'}) # CreateUserBadgeParams |
15
16begin
17
18 result = api_instance.create_user_badge(tenant_id, create_user_badge_params)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->create_user_badge: #{e}"
22end
23

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ์‚ญ์ œ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserBadge200Response

์˜ˆ์ œ

delete_user_badge ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.delete_user_badge(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->delete_user_badge: #{e}"
22end
23

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadge200Response

์˜ˆ์ œ

get_user_badge ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’์€ nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15
16begin
17
18 result = api_instance.get_user_badge(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_user_badge: #{e}"
22end
23

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
badgeId string query ์•„๋‹ˆ์˜ค
type number query ์•„๋‹ˆ์˜ค
displayedOnComments boolean query ์•„๋‹ˆ์˜ค
limit number query ์•„๋‹ˆ์˜ค
skip number query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadges200Response

์˜ˆ์ œ

get_user_badges ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14opts = {
15 user_id: 'user_id_example', # String |
16 badge_id: 'badge_id_example', # String |
17 type: 1.2, # Float |
18 displayed_on_comments: true, # Boolean |
19 limit: 1.2, # Float |
20 skip: 1.2 # Float |
21}
22
23begin
24
25 result = api_instance.get_user_badges(tenant_id, opts)
26 p result
27rescue FastCommentsClient::ApiError => e
28 puts "Error when calling DefaultApi->get_user_badges: #{e}"
29end
30

์‚ฌ์šฉ์ž ๋ฐฐ์ง€ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
id string path ์˜ˆ

๋ฐ˜ํ™˜

๋ฐ˜ํ™˜: UpdateUserBadge200Response

์˜ˆ์ œ

update_user_badge ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ์ œ๊ฑฐํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15update_user_badge_params = FastCommentsClient::UpdateUserBadgeParams.new # UpdateUserBadgeParams |
16
17begin
18
19 result = api_instance.update_user_badge(tenant_id, id, update_user_badge_params)
20 p result
21rescue FastCommentsClient::ApiError => e
22 puts "Error when calling DefaultApi->update_user_badge: #{e}"
23end
24

์‚ฌ์šฉ์ž ์•Œ๋ฆผ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserNotificationCount200Response

์˜ˆ์ œ

get_user_notification_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7opts = {
8 sso: 'sso_example' # ๋ฌธ์ž์—ด |
9}
10
11begin
12
13 result = api_instance.get_user_notification_count(tenant_id, opts)
14 p result
15rescue FastCommentsClient::ApiError => e
16 puts "Error when calling PublicApi->get_user_notification_count: #{e}"
17end
18

์‚ฌ์šฉ์ž ์•Œ๋ฆผ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
pageSize integer query ์•„๋‹ˆ์š”
afterId string query ์•„๋‹ˆ์š”
includeContext boolean query ์•„๋‹ˆ์š”
afterCreatedAt integer query ์•„๋‹ˆ์š”
unreadOnly boolean query ์•„๋‹ˆ์š”
dmOnly boolean query ์•„๋‹ˆ์š”
noDm boolean query ์•„๋‹ˆ์š”
includeTranslations boolean query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserNotifications200Response

์˜ˆ์ œ

get_user_notifications ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7opts = {
8 page_size: 56, # Integer |
9 after_id: 'after_id_example', # String |
10 include_context: true, # Boolean |
11 after_created_at: 789, # Integer |
12 unread_only: true, # Boolean |
13 dm_only: true, # Boolean |
14 no_dm: true, # Boolean |
15 include_translations: true, # Boolean |
16 sso: 'sso_example' # String |
17}
18
19begin
20
21 result = api_instance.get_user_notifications(tenant_id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling PublicApi->get_user_notifications: #{e}"
25end
26

์‚ฌ์šฉ์ž ์•Œ๋ฆผ ์ˆ˜ ์ดˆ๊ธฐํ™” Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: ResetUserNotifications200Response

์˜ˆ์ œ

reset_user_notification_count ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7opts = {
8 sso: 'sso_example' # ๋ฌธ์ž์—ด |
9}
10
11begin
12
13 result = api_instance.reset_user_notification_count(tenant_id, opts)
14 p result
15rescue FastCommentsClient::ApiError => e
16 puts "Error when calling PublicApi->reset_user_notification_count: #{e}"
17end
18

์‚ฌ์šฉ์ž ์•Œ๋ฆผ ์ดˆ๊ธฐํ™” Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
afterId string query ์•„๋‹ˆ์š”
afterCreatedAt integer query ์•„๋‹ˆ์š”
unreadOnly boolean query ์•„๋‹ˆ์š”
dmOnly boolean query ์•„๋‹ˆ์š”
noDm boolean query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: ResetUserNotifications200Response

์˜ˆ์ œ

reset_user_notifications ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
7opts = {
8 after_id: 'after_id_example', # ๋ฌธ์ž์—ด |
9 after_created_at: 789, # ์ •์ˆ˜ |
10 unread_only: true, # ๋ถ€์šธ |
11 dm_only: true, # ๋ถ€์šธ |
12 no_dm: true, # ๋ถ€์šธ |
13 sso: 'sso_example' # ๋ฌธ์ž์—ด |
14}
15
16begin
17
18 result = api_instance.reset_user_notifications(tenant_id, opts)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling PublicApi->reset_user_notifications: #{e}"
22end
23

์‚ฌ์šฉ์ž ๋Œ“๊ธ€ ๊ตฌ๋… ์ƒํƒœ ์—…๋ฐ์ดํŠธ Internal Link

ํŠน์ • ๋Œ“๊ธ€์— ๋Œ€ํ•œ ์•Œ๋ฆผ์„ ํ™œ์„ฑํ™”ํ•˜๊ฑฐ๋‚˜ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
notificationId string path ์˜ˆ
optedInOrOut string path ์˜ˆ
commentId string query ์˜ˆ
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

update_user_notification_comment_subscription_status ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7notification_id = 'notification_id_example' # String |
8opted_in_or_out = 'in' # String |
9comment_id = 'comment_id_example' # String |
10opts = {
11 sso: 'sso_example' # String |
12}
13
14begin
15
16 result = api_instance.update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
17 p result
18rescue FastCommentsClient::ApiError => e
19 puts "Error when calling PublicApi->update_user_notification_comment_subscription_status: #{e}"
20end
21

์‚ฌ์šฉ์ž ํŽ˜์ด์ง€ ๊ตฌ๋… ์ƒํƒœ ์—…๋ฐ์ดํŠธ Internal Link

ํŽ˜์ด์ง€์— ๋Œ€ํ•œ ์•Œ๋ฆผ์„ ํ™œ์„ฑํ™”ํ•˜๊ฑฐ๋‚˜ ๋น„ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ํŽ˜์ด์ง€๋ฅผ ๊ตฌ๋…ํ•˜๋ฉด ์ƒˆ ๋ฃจํŠธ ๋Œ“๊ธ€์— ๋Œ€ํ•œ ์•Œ๋ฆผ์ด ์ƒ์„ฑ๋˜๋ฉฐ, ๋˜ํ•œ

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes
urlId string query Yes
url string query Yes
pageTitle string query Yes
subscribedOrUnsubscribed string path Yes
sso string query No

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

update_user_notification_page_subscription_status ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7url_id = 'url_id_example' # String |
8url = 'url_example' # String |
9page_title = 'page_title_example' # String |
10subscribed_or_unsubscribed = 'subscribe' # String |
11opts = {
12 sso: 'sso_example' # String |
13}
14
15begin
16
17 result = api_instance.update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
18 p result
19rescue FastCommentsClient::ApiError => e
20 puts "Error when calling PublicApi->update_user_notification_page_subscription_status: #{e}"
21end
22

์‚ฌ์šฉ์ž ์•Œ๋ฆผ ์ƒํƒœ ์—…๋ฐ์ดํŠธ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ์ฟผ๋ฆฌ ์˜ˆ
notificationId string ๊ฒฝ๋กœ ์˜ˆ
newStatus string ๊ฒฝ๋กœ ์˜ˆ
sso string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

update_user_notification_status ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7notification_id = 'notification_id_example' # String |
8new_status = 'read' # String |
9opts = {
10 sso: 'sso_example' # String |
11}
12
13begin
14
15 result = api_instance.update_user_notification_status(tenant_id, notification_id, new_status, opts)
16 p result
17rescue FastCommentsClient::ApiError => e
18 puts "Error when calling PublicApi->update_user_notification_status: #{e}"
19end
20

์‚ฌ์šฉ์ž ์ ‘์† ์ƒํƒœ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
urlIdWS string query ์˜ˆ
userIds string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserPresenceStatuses200Response

์˜ˆ์ œ

get_user_presence_statuses ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7url_id_ws = 'url_id_ws_example' # String |
8user_ids = 'user_ids_example' # String |
9
10begin
11
12 result = api_instance.get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
13 p result
14rescue FastCommentsClient::ApiError => e
15 puts "Error when calling PublicApi->get_user_presence_statuses: #{e}"
16end
17

์‚ฌ์šฉ์ž ๊ฒ€์ƒ‰ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path ์˜ˆ
urlId string query ์˜ˆ
usernameStartsWith string query ์˜ˆ
mentionGroupIds array query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: SearchUsers200Response

์˜ˆ์ œ

search_users ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4
5api_instance = FastCommentsClient::PublicApi.new
6tenant_id = 'tenant_id_example' # String |
7url_id = 'url_id_example' # String |
8username_starts_with = 'username_starts_with_example' # String |
9opts = {
10 mention_group_ids: ['inner_example'], # Array<String> |
11 sso: 'sso_example' # String |
12}
13
14begin
15
16 result = api_instance.search_users(tenant_id, url_id, username_starts_with, opts)
17 p result
18rescue FastCommentsClient::ApiError => e
19 puts "Error when calling PublicApi->search_users: #{e}"
20end
21

์‚ฌ์šฉ์ž ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query Yes
id string path Yes

์‘๋‹ต

๋ฐ˜ํ™˜: GetUser200Response

์˜ˆ์ œ

get_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”(์˜ˆ: 'Bearer', ๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14id = 'id_example' # String |
15
16begin
17
18 result = api_instance.get_user(tenant_id, id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_user: #{e}"
22end
23

ํˆฌํ‘œ ์ƒ์„ฑ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
commentId string query ์˜ˆ
direction string query ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
anonUserId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: VoteComment200Response

์˜ˆ์ œ

create_vote ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์–ด๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14comment_id = 'comment_id_example' # ๋ฌธ์ž์—ด |
15direction = 'up' # ๋ฌธ์ž์—ด |
16opts = {
17 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
18 anon_user_id: 'anon_user_id_example' # ๋ฌธ์ž์—ด |
19}
20
21begin
22
23 result = api_instance.create_vote(tenant_id, comment_id, direction, opts)
24 p result
25rescue FastCommentsClient::ApiError => e
26 puts "Error when calling DefaultApi->create_vote: #{e}"
27end
28

ํˆฌํ‘œ ์‚ญ์ œ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
id string path ์˜ˆ
editKey string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentVote200Response

์˜ˆ์ œ

delete_vote ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ๋Œ€ํ•œ ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14id = 'id_example' # ๋ฌธ์ž์—ด |
15opts = {
16 edit_key: 'edit_key_example' # ๋ฌธ์ž์—ด |
17}
18
19begin
20
21 result = api_instance.delete_vote(tenant_id, id, opts)
22 p result
23rescue FastCommentsClient::ApiError => e
24 puts "Error when calling DefaultApi->delete_vote: #{e}"
25end
26

ํˆฌํ‘œ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

๋งค๊ฐœ๋ณ€์ˆ˜

Name Type Location Required Description
tenantId string query ์˜ˆ
urlId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetVotes200Response

์˜ˆ์ œ

get_votes ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # Configure API key authorization: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„์„ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # String |
14url_id = 'url_id_example' # String |
15
16begin
17
18 result = api_instance.get_votes(tenant_id, url_id)
19 p result
20rescue FastCommentsClient::ApiError => e
21 puts "Error when calling DefaultApi->get_votes: #{e}"
22end
23

์‚ฌ์šฉ์ž ํˆฌํ‘œ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


๋งค๊ฐœ๋ณ€์ˆ˜

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
urlId string query ์˜ˆ
userId string query ์•„๋‹ˆ์˜ค
anonUserId string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: GetVotesForUser200Response

์˜ˆ์ œ

get_votes_for_user ์˜ˆ์ œ
Copy Copy
1
2require 'time'
3require 'fastcomments-client'
4# ์ธ์ฆ ์„ค์ •
5FastCommentsClient.configure do |config|
6 # API ํ‚ค ์ธ์ฆ ๊ตฌ์„ฑ: api_key
7 config.api_key['x-api-key'] = 'YOUR API KEY'
8 # API ํ‚ค์— ์ ‘๋‘์‚ฌ๋ฅผ ์„ค์ •ํ•˜๋ ค๋ฉด ๋‹ค์Œ ์ค„์˜ ์ฃผ์„ ์ฒ˜๋ฆฌ๋ฅผ ํ•ด์ œํ•˜์„ธ์š”. ์˜ˆ: 'Bearer' (๊ธฐ๋ณธ๊ฐ’: nil)
9 # config.api_key_prefix['x-api-key'] = 'Bearer'
10end
11
12api_instance = FastCommentsClient::DefaultApi.new
13tenant_id = 'tenant_id_example' # ๋ฌธ์ž์—ด |
14url_id = 'url_id_example' # ๋ฌธ์ž์—ด |
15opts = {
16 user_id: 'user_id_example', # ๋ฌธ์ž์—ด |
17 anon_user_id: 'anon_user_id_example' # ๋ฌธ์ž์—ด |
18}
19
20begin
21
22 result = api_instance.get_votes_for_user(tenant_id, url_id, opts)
23 p result
24rescue FastCommentsClient::ApiError => e
25 puts "Error when calling DefaultApi->get_votes_for_user: #{e}"
26end
27

๋„์›€์ด ํ•„์š”ํ•˜์‹ ๊ฐ€์š”?

Ruby SDK์— ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๊ฑฐ๋‚˜ ์งˆ๋ฌธ์ด ์žˆ๋Š” ๊ฒฝ์šฐ, ๋‹ค์Œ์„ ์ด์šฉํ•ด ์ฃผ์„ธ์š”:

๊ธฐ์—ฌ

๊ธฐ์—ฌ๋ฅผ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค! ๊ธฐ์—ฌ ์ง€์นจ์€ GitHub ์ €์žฅ์†Œ๋ฅผ ๋ฐฉ๋ฌธํ•ด ์ฃผ์„ธ์š”.