FastComments.com

FastComments Swift SDK

์ด๊ฒƒ์€ FastComments์šฉ ๊ณต์‹ Swift SDK์ž…๋‹ˆ๋‹ค.

FastComments API์šฉ ๊ณต์‹ Swift SDK

์ €์žฅ์†Œ

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


์„ค์น˜ Internal Link

Swift ํŒจํ‚ค์ง€ ๊ด€๋ฆฌ์ž

๋‹ค์Œ ๋‚ด์šฉ์„ Package.swift ํŒŒ์ผ์— ์ถ”๊ฐ€ํ•˜์„ธ์š”:

dependencies: [
    .package(url: "https://github.com/fastcomments/fastcomments-swift.git", from: "0.0.1")
]

๋˜๋Š” Xcode์—์„œ:

  1. ํŒŒ์ผ > ํŒจํ‚ค์ง€ ์ถ”๊ฐ€...
  2. ์ €์žฅ์†Œ URL์„ ์ž…๋ ฅํ•˜์„ธ์š”: https://github.com/fastcomments/fastcomments-swift.git
  3. ์‚ฌ์šฉํ•˜๋ ค๋Š” ๋ฒ„์ „์„ ์„ ํƒํ•˜์„ธ์š”

์š”๊ตฌ ์‚ฌํ•ญ

  • Swift 5.9+
  • iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 6.0+

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

FastComments Swift SDK๋Š” ์—ฌ๋Ÿฌ ๋ชจ๋“ˆ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค:

  • Client Module - FastComments REST API์šฉ ์ž๋™ ์ƒ์„ฑ API ํด๋ผ์ด์–ธํŠธ

    • ๋ชจ๋“  API ๋ชจ๋ธ์— ๋Œ€ํ•œ ์™„์ „ํ•œ ํƒ€์ž… ์ •์˜
    • ์ธ์ฆ๋œ (DefaultAPI) ๋ฐ ๊ณต๊ฐœ (PublicAPI) ์—”๋“œํฌ์ธํŠธ
    • ์™„์ „ํ•œ async/await ์ง€์›
    • ์ž์„ธํ•œ API ๋ฌธ์„œ๋Š” client/README.md ์ฐธ์กฐ
  • SSO Module - ์„œ๋ฒ„ ์ธก Single Sign-On ์œ ํ‹ธ๋ฆฌํ‹ฐ

    • ์‚ฌ์šฉ์ž ์ธ์ฆ์„ ์œ„ํ•œ ๋ณด์•ˆ ํ† ํฐ ์ƒ์„ฑ
    • ๋‹จ์ˆœ ๋ฐ ๋ณด์•ˆ SSO ๋ชจ๋“œ ๋ชจ๋‘ ์ง€์›
    • CryptoKit์„ ์‚ฌ์šฉํ•œ HMAC-SHA256 ๊ธฐ๋ฐ˜ ํ† ํฐ ์„œ๋ช…

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

๊ณต๊ฐœ API ์‚ฌ์šฉ

import FastCommentsSwift

// API ํด๋ผ์ด์–ธํŠธ ์ƒ์„ฑ
let publicApi = PublicAPI()

// ํŽ˜์ด์ง€์˜ ๋Œ“๊ธ€ ๊ฐ€์ ธ์˜ค๊ธฐ
do {
    let response = try await publicApi.getCommentsPublic(
        tenantId: "your-tenant-id",
        urlId: "page-url-id"
    )

    print("Found \(response.comments?.count ?? 0) comments")
    for comment in response.comments ?? [] {
        print("Comment: \(comment.comment ?? "")")
    }
} catch {
    print("Error fetching comments: \(error)")
}

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

import FastCommentsSwift

// API ํ‚ค๋กœ ๊ตฌ์„ฑ ์ƒ์„ฑ
let defaultApi = DefaultAPI()
defaultApi.apiKey = "your-api-key"

// ์ธ์ฆ๋œ API๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋Œ“๊ธ€ ๊ฐ€์ ธ์˜ค๊ธฐ
do {
    let response = try await defaultApi.getComments(
        tenantId: "your-tenant-id",
        urlId: "page-url-id"
    )

    print("Total comments: \(response.count ?? 0)")
    for comment in response.comments ?? [] {
        print("Comment ID: \(comment.id ?? ""), Text: \(comment.comment ?? "")")
    }
} catch {
    print("Error: \(error)")
}

์ธ์ฆ์„ ์œ„ํ•œ SSO ์‚ฌ์šฉ

๋ณด์•ˆ SSO (ํ”„๋กœ๋•์…˜ ๊ถŒ์žฅ)

import FastCommentsSwift

let apiKey = "your-api-key"

// ๋ณด์•ˆ SSO ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ ์ƒ์„ฑ (์„œ๋ฒ„ ์ธก์—์„œ๋งŒ!)
let userData = SecureSSOUserData(
    id: "user-123",              // ์‚ฌ์šฉ์ž ID
    email: "user@example.com",   // ์ด๋ฉ”์ผ
    username: "johndoe",         // ์‚ฌ์šฉ์ž ์ด๋ฆ„
    avatar: "https://example.com/avatar.jpg" // ์•„๋ฐ”ํƒ€ URL
)

// SSO ํ† ํฐ ์ƒ์„ฑ
do {
    let sso = try FastCommentsSSO.createSecure(apiKey: apiKey, secureSSOUserData: userData)
    let token = try sso.createToken()

    print("SSO Token: \(token ?? "")")
    // ์ด ํ† ํฐ์„ ํ”„๋ก ํŠธ์—”๋“œ๋กœ ์ „๋‹ฌํ•˜์—ฌ ์ธ์ฆ์— ์‚ฌ์šฉ
} catch {
    print("Error creating SSO token: \(error)")
}

๊ฐ„๋‹จํ•œ SSO (๊ฐœ๋ฐœ/ํ…Œ์ŠคํŠธ์šฉ)

import FastCommentsSwift

// ๊ฐ„๋‹จํ•œ SSO ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ ์ƒ์„ฑ (API ํ‚ค ๋ถˆํ•„์š”)
let userData = SimpleSSOUserData(
    username: "johndoe",
    email: "user@example.com",
    avatar: "https://example.com/avatar.jpg"
)

// ๊ฐ„๋‹จํ•œ SSO ํ† ํฐ ์ƒ์„ฑ
let sso = FastCommentsSSO.createSimple(simpleSSOUserData: userData)
do {
    let token = try sso.createToken()
    print("Simple SSO Token: \(token ?? "")")
} catch {
    print("Error creating SSO token: \(error)")
}

๊ณต๊ฐœ ๋ฐ ๋ณด์•ˆ API Internal Link

The FastComments SDK๋Š” ๋‘ ๊ฐ€์ง€ ์œ ํ˜•์˜ API ์—”๋“œํฌ์ธํŠธ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค:

PublicAPI - ํด๋ผ์ด์–ธํŠธ์šฉ ์•ˆ์ „ํ•œ ์—”๋“œํฌ์ธํŠธ

The PublicAPI contains endpoints that are safe to call from client-side code (iOS/macOS apps). These endpoints:

  • API ํ‚ค๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค
  • ์ธ์ฆ์„ ์œ„ํ•ด SSO ํ† ํฐ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
  • ์‚ฌ์šฉ์ž/๊ธฐ๊ธฐ๋ณ„๋กœ ์†๋„ ์ œํ•œ์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค
  • ์ตœ์ข… ์‚ฌ์šฉ์ž ๋Œ€์ƒ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ์ ํ•ฉํ•ฉ๋‹ˆ๋‹ค

์˜ˆ์‹œ ์‚ฌ์šฉ ์‚ฌ๋ก€: iOS ์•ฑ์—์„œ ๋Œ“๊ธ€์„ ๊ฐ€์ ธ์˜ค๊ณ  ์ƒ์„ฑํ•˜๊ธฐ

DefaultAPI - ์„œ๋ฒ„ ์‚ฌ์ด๋“œ ์—”๋“œํฌ์ธํŠธ

The DefaultAPI contains authenticated endpoints that require an API key. These endpoints:

  • FastComments API ํ‚ค๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค
  • ๋ฐ˜๋“œ์‹œ ์„œ๋ฒ„ ์‚ฌ์ด๋“œ ์ฝ”๋“œ์—์„œ๋งŒ ํ˜ธ์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค
  • FastComments ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ์ „์ฒด ์ ‘๊ทผ ๊ถŒํ•œ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค
  • ํ…Œ๋„ŒํŠธ๋ณ„๋กœ ์†๋„ ์ œํ•œ์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค

์˜ˆ์‹œ ์‚ฌ์šฉ ์‚ฌ๋ก€: ๊ด€๋ฆฌ ์ž‘์—…, ๋Œ€๋Ÿ‰ ๋ฐ์ดํ„ฐ ๋‚ด๋ณด๋‚ด๊ธฐ, ๋ชจ๋”๋ ˆ์ด์…˜ ๋„๊ตฌ

์ค‘์š”: ํด๋ผ์ด์–ธํŠธ ์‚ฌ์ด๋“œ ์ฝ”๋“œ์— API ํ‚ค๋ฅผ ์ ˆ๋Œ€ ๋…ธ์ถœํ•˜์ง€ ๋งˆ์‹ญ์‹œ์˜ค. API ํ‚ค๋Š” ์„œ๋ฒ„ ์‚ฌ์ด๋“œ์—์„œ๋งŒ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

API ํ˜ธ์ถœํ•˜๊ธฐ Internal Link

Swift SDK๋Š” ๋ชจ๋“  API ํ˜ธ์ถœ์— ๋Œ€ํ•ด ์ตœ์‹  async/await ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:

let response = try await publicApi.getCommentsPublic(
    tenantId: "your-tenant-id",
    urlId: "page-url-id"
)

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

401 ์ธ์ฆ ์˜ค๋ฅ˜

์ธ์ฆ๋œ API๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ 401 ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด:

  1. API ํ‚ค ํ™•์ธ: FastComments ๋Œ€์‹œ๋ณด๋“œ์—์„œ ์˜ฌ๋ฐ”๋ฅธ API ํ‚ค๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”
  2. ํ…Œ๋„ŒํŠธ ID ํ™•์ธ: ํ…Œ๋„ŒํŠธ ID๊ฐ€ ๊ณ„์ •๊ณผ ์ผ์น˜ํ•˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”
  3. API ํ‚ค ํ˜•์‹: API ํ‚ค๋Š” API ํด๋ผ์ด์–ธํŠธ์— ์„ค์ •๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค:
let defaultApi = DefaultAPI()
defaultApi.apiKey = "YOUR_API_KEY"
  1. ์ž˜๋ชป๋œ API ์‚ฌ์šฉ ์ค‘์ธ์ง€ ํ™•์ธ: ์ธ์ฆ ํ˜ธ์ถœ์—๋Š” DefaultAPI( PublicAPI๊ฐ€ ์•„๋‹˜)๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”

SSO ํ† ํฐ ๋ฌธ์ œ

SSO ํ† ํฐ์ด ์ž‘๋™ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ:

  1. ํ”„๋กœ๋•์…˜์—์„œ๋Š” ๋ณด์•ˆ ๋ชจ๋“œ ์‚ฌ์šฉ: ํ”„๋กœ๋•์…˜์—์„œ๋Š” ํ•ญ์ƒ FastCommentsSSO.createSecure()๋ฅผ API ํ‚ค์™€ ํ•จ๊ป˜ ์‚ฌ์šฉํ•˜์„ธ์š”
  2. ์„œ๋ฒ„ ์ธก์—์„œ๋งŒ ์ƒ์„ฑ: ๋ณด์•ˆ SSO ํ† ํฐ์€ ์„œ๋ฒ„์—์„œ ์ƒ์„ฑํ•˜๊ณ , API ํ‚ค๋ฅผ ํด๋ผ์ด์–ธํŠธ์— ๋…ธ์ถœํ•˜์ง€ ๋งˆ์„ธ์š”
  3. ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ ํ™•์ธ: ํ•„์ˆ˜ ํ•„๋“œ(id, email, username)๊ฐ€ ๋ชจ๋‘ ์ œ๊ณต๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”
  4. ํ† ํฐ ๋งŒ๋ฃŒ: ๋ณด์•ˆ SSO ํ† ํฐ์—๋Š” ํƒ€์ž„์Šคํƒฌํ”„๊ฐ€ ํฌํ•จ๋˜์–ด ๋งŒ๋ฃŒ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•„์š”์— ๋”ฐ๋ผ ์ƒˆ ํ† ํฐ์„ ์ƒ์„ฑํ•˜์„ธ์š”.

SSL/TLS ์˜ค๋ฅ˜

SSL/TLS ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด:

  1. ์•ฑ์˜ Info.plist๊ฐ€ fastcomments.com์— ๋Œ€ํ•œ HTTPS ์—ฐ๊ฒฐ์„ ํ—ˆ์šฉํ•˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”
  2. ์—ฐ๊ฒฐ์„ ์ฐจ๋‹จํ•  ์ˆ˜ ์žˆ๋Š” App Transport Security ์˜ˆ์™ธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์ง€ ์•Š์€์ง€ ํ™•์ธํ•˜์„ธ์š”

๋ฉ”๋ชจ Internal Link

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

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

let broadcastId = UUID().uuidString

์ง‘๊ณ„ Internal Link

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AggregationResponse

์˜ˆ์ œ

aggregate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let aggregationRequest = AggregationRequest(query: [QueryPredicate(key: "key_example", value: QueryPredicate_value(), _operator: "_operator_example")], resourceName: "resourceName_example", groupBy: ["groupBy_example"], operations: [AggregationOperation(field: "field_example", op: AggregationOpType(), alias: "alias_example", expandArray: false)], sort: AggregationRequest_sort(dir: "dir_example", field: "field_example")) // AggregationRequest |
7let parentTenantId = "parentTenantId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let includeStats = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.aggregate(tenantId: tenantId, aggregationRequest: aggregationRequest, parentTenantId: parentTenantId, includeStats: includeStats) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetAuditLogs200Response

์˜ˆ์ œ

getAuditLogs ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let limit = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
8let order = SORT_DIR() // SORTDIR | (์„ ํƒ ์‚ฌํ•ญ)
9let after = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
10let before = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.getAuditLogs(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: BlockFromCommentPublic200Response

์˜ˆ์ œ

blockFromCommentPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.blockFromCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UnBlockCommentPublic200Response

์˜ˆ์ œ

unBlockCommentPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.unBlockCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string query ์˜ˆ
commentIds string query ์˜ˆ ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„๋œ ๋Œ“๊ธ€ ID ๋ชฉ๋ก.
sso string query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: CheckedCommentsForBlocked200Response

์˜ˆ์ œ

checkedCommentsForBlocked ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentIds = "commentIds_example" // String | ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„๋œ ๋Œ“๊ธ€ ID ๋ชฉ๋ก.
7let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9PublicAPI.checkedCommentsForBlocked(tenantId: tenantId, commentIds: commentIds, sso: sso) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: BlockFromCommentPublic200Response

์˜ˆ์ œ

blockUserFromComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let blockFromCommentParams = BlockFromCommentParams(commentIdsToCheck: ["commentIdsToCheck_example"]) // BlockFromCommentParams |
8let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11DefaultAPI.blockUserFromComment(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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


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

Name Type Location Required Description
tenantId string path ์˜ˆ
urlId string query ์˜ˆ
broadcastId string query ์˜ˆ
sessionId string query ์•„๋‹ˆ์š”
sso string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: CreateCommentPublic200Response

์˜ˆ์ œ

createCommentPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let commentData = CommentData(date: 123, localDateString: "localDateString_example", localDateHours: 123, commenterName: "commenterName_example", commenterEmail: "commenterEmail_example", commenterLink: "commenterLink_example", comment: "comment_example", productId: 123, userId: "userId_example", avatarSrc: "avatarSrc_example", parentId: "parentId_example", mentions: [CommentUserMentionInfo(id: "id_example", tag: "tag_example", rawTag: "rawTag_example", type: "type_example", sent: false)], hashTags: [CommentUserHashTagInfo(id: "id_example", tag: "tag_example", url: "url_example", retain: false)], pageTitle: "pageTitle_example", isFromMyAccountPage: false, url: "url_example", urlId: "urlId_example", meta: 123, moderationGroupIds: ["moderationGroupIds_example"], rating: 123, fromOfflineRestore: false, autoplayDelayMS: 123, feedbackIds: ["feedbackIds_example"], questionValues: "TODO") // CommentData |
9let sessionId = "sessionId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11
12PublicAPI.createCommentPublic(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteComment200Response

์˜ˆ์ œ

deleteComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let contextUserId = "contextUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let isLive = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.deleteComment(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentPublic200Response

์˜ˆ์ œ

deleteCommentPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let editKey = "editKey_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11PublicAPI.deleteCommentPublic(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentVote200Response

์˜ˆ์ œ

deleteCommentVote ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let voteId = "voteId_example" // String |
8let urlId = "urlId_example" // String |
9let broadcastId = "broadcastId_example" // String |
10let editKey = "editKey_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
12
13PublicAPI.deleteCommentVote(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagComment200Response

์˜ˆ์ œ

flagComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.flagComment(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetComment200Response

์˜ˆ์ œ

getComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getComment(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

Name Type Location Required Description
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

์˜ˆ์ œ

getComments ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let page = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
7let limit = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
8let skip = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
9let asTree = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let skipChildren = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
11let limitChildren = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
12let maxTreeDepth = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
13let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
14let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
15let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
16let contextUserId = "contextUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
17let hashTag = "hashTag_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
18let parentId = "parentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
19let direction = SortDirections() // SortDirections | (์„ ํƒ ์‚ฌํ•ญ)
20
21DefaultAPI.getComments(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction) { (response, error) in
22 guard error == nil else {
23 print(error)
24 return
25 }
26
27 if (response) {
28 dump(response)
29 }
30}
31

๋Œ“๊ธ€๋“ค ๊ฐ€์ ธ์˜ค๊ธฐ(๊ณต๊ฐœ) 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 ์•„๋‹ˆ์š”

์‘๋‹ต

Returns: GetCommentsPublic200Response

์˜ˆ์ œ

getCommentsPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let page = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
8let direction = SortDirections() // SortDirections | (์„ ํƒ ์‚ฌํ•ญ)
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let skip = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
11let skipChildren = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
12let limit = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
13let limitChildren = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
14let countChildren = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
15let fetchPageForCommentId = "fetchPageForCommentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
16let includeConfig = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
17let countAll = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
18let includei10n = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
19let locale = "locale_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
20let modules = "modules_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
21let isCrawler = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
22let includeNotificationCount = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
23let asTree = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
24let maxTreeDepth = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
25let useFullTranslationIds = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
26let parentId = "parentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
27let searchText = "searchText_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
28let hashTags = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
29let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
30let customConfigStr = "customConfigStr_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
31let afterCommentId = "afterCommentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
32let beforeCommentId = "beforeCommentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
33
34PublicAPI.getCommentsPublic(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId) { (response, error) in
35 guard error == nil else {
36 print(error)
37 return
38 }
39
40 if (response) {
41 dump(response)
42 }
43}
44

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetCommentText200Response

์˜ˆ์ œ

getCommentText ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์˜ˆ์ œ๋Š” ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let commentId = "commentId_example" // ๋ฌธ์ž์—ด |
7let editKey = "editKey_example" // ๋ฌธ์ž์—ด | (์„ ํƒ์‚ฌํ•ญ)
8let sso = "sso_example" // ๋ฌธ์ž์—ด | (์„ ํƒ์‚ฌํ•ญ)
9
10PublicAPI.getCommentText(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

์ด๋ฆ„ ํƒ€์ž… ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path Yes
commentId string path Yes
dir integer query Yes
sso string query No

์‘๋‹ต

๋ฐ˜ํ™˜: GetCommentVoteUserNames200Response

์˜ˆ์ œ

getCommentVoteUserNames ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์— ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let dir = 987 // Int |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.getCommentVoteUserNames(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

๋Œ“๊ธ€ ์ž ๊ทธ๊ธฐ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: LockComment200Response

์˜ˆ์ œ

lockComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.lockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PinComment200Response

์˜ˆ์ œ

pinComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.pinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

Name Type Location Required Description
tenantId string query ์˜ˆ
isLive boolean query ์•„๋‹ˆ์˜ค
doSpamCheck boolean query ์•„๋‹ˆ์˜ค
sendEmails boolean query ์•„๋‹ˆ์˜ค
populateNotifications boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: SaveComment200Response

์˜ˆ์ œ

saveComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createCommentParams = CreateCommentParams(date: 123, localDateString: "localDateString_example", localDateHours: 123, commenterName: "commenterName_example", commenterEmail: "commenterEmail_example", commenterLink: "commenterLink_example", comment: "comment_example", productId: 123, userId: "userId_example", avatarSrc: "avatarSrc_example", parentId: "parentId_example", mentions: [CommentUserMentionInfo(id: "id_example", tag: "tag_example", rawTag: "rawTag_example", type: "type_example", sent: false)], hashTags: [CommentUserHashTagInfo(id: "id_example", tag: "tag_example", url: "url_example", retain: false)], pageTitle: "pageTitle_example", isFromMyAccountPage: false, url: "url_example", urlId: "urlId_example", meta: 123, moderationGroupIds: ["moderationGroupIds_example"], rating: 123, fromOfflineRestore: false, autoplayDelayMS: 123, feedbackIds: ["feedbackIds_example"], questionValues: "TODO", approved: false, domain: "domain_example", ip: "ip_example", isPinned: false, locale: "locale_example", reviewed: false, verified: false, votes: 123, votesDown: 123, votesUp: 123) // CreateCommentParams |
7let isLive = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
8let doSpamCheck = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let sendEmails = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let populateNotifications = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.saveComment(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: [SaveComment200Response]

์˜ˆ์ œ

saveCommentsBulk ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createCommentParams = [CreateCommentParams(date: 123, localDateString: "localDateString_example", localDateHours: 123, commenterName: "commenterName_example", commenterEmail: "commenterEmail_example", commenterLink: "commenterLink_example", comment: "comment_example", productId: 123, userId: "userId_example", avatarSrc: "avatarSrc_example", parentId: "parentId_example", mentions: [CommentUserMentionInfo(id: "id_example", tag: "tag_example", rawTag: "rawTag_example", type: "type_example", sent: false)], hashTags: [CommentUserHashTagInfo(id: "id_example", tag: "tag_example", url: "url_example", retain: false)], pageTitle: "pageTitle_example", isFromMyAccountPage: false, url: "url_example", urlId: "urlId_example", meta: 123, moderationGroupIds: ["moderationGroupIds_example"], rating: 123, fromOfflineRestore: false, autoplayDelayMS: 123, feedbackIds: ["feedbackIds_example"], questionValues: "TODO", approved: false, domain: "domain_example", ip: "ip_example", isPinned: false, locale: "locale_example", reviewed: false, verified: false, votes: 123, votesDown: 123, votesUp: 123)] // [CreateCommentParams] |
7let isLive = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
8let doSpamCheck = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let sendEmails = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let populateNotifications = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.saveCommentsBulk(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: SetCommentText200Response

์˜ˆ์ œ

setCommentText ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let commentTextUpdateRequest = CommentTextUpdateRequest(comment: "comment_example", mentions: [CommentUserMentionInfo(id: "id_example", tag: "tag_example", rawTag: "rawTag_example", type: "type_example", sent: false)], hashTags: [CommentUserHashTagInfo(id: "id_example", tag: "tag_example", url: "url_example", retain: false)]) // CommentTextUpdateRequest |
9let editKey = "editKey_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11
12PublicAPI.setCommentText(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UnBlockCommentPublic200Response

์˜ˆ์ œ

unBlockUserFromComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7let unBlockFromCommentParams = UnBlockFromCommentParams(commentIdsToCheck: ["commentIdsToCheck_example"]) // UnBlockFromCommentParams |
8let userId = "userId_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
9let anonUserId = "anonUserId_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
10
11DefaultAPI.unBlockUserFromComment(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagComment200Response

์˜ˆ์ œ

unFlagComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.unFlagComment(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

Response

๋ฐ˜ํ™˜: LockComment200Response

์˜ˆ์ œ

unLockComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.unLockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PinComment200Response

์˜ˆ์ œ

unPinComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let broadcastId = "broadcastId_example" // String |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.unPinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์‹œ

updateComment ์˜ˆ์‹œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updatableCommentParams = UpdatableCommentParams(urlId: "urlId_example", urlIdRaw: "urlIdRaw_example", url: "url_example", pageTitle: "pageTitle_example", userId: "userId_example", commenterEmail: "commenterEmail_example", commenterName: "commenterName_example", commenterLink: "commenterLink_example", comment: "comment_example", commentHTML: "commentHTML_example", parentId: "parentId_example", date: 123, localDateString: "localDateString_example", localDateHours: 123, votes: 123, votesUp: 123, votesDown: 123, expireAt: Date(), verified: false, verifiedDate: Date(), notificationSentForParent: false, notificationSentForParentTenant: false, reviewed: false, externalId: "externalId_example", externalParentId: "externalParentId_example", avatarSrc: "avatarSrc_example", isSpam: false, approved: false, isDeleted: false, isDeletedUser: false, isByAdmin: false, isByModerator: false, isPinned: false, isLocked: false, flagCount: 123, displayLabel: "displayLabel_example", meta: FComment_meta(wpUserId: "wpUserId_example", wpPostId: "wpPostId_example"), moderationGroupIds: ["moderationGroupIds_example"], feedbackIds: ["feedbackIds_example"]) // UpdatableCommentParams |
8let contextUserId = "contextUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let doSpamCheck = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let isLive = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.updateComment(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: VoteComment200Response

์˜ˆ์ œ

voteComment ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let urlId = "urlId_example" // String |
8let broadcastId = "broadcastId_example" // String |
9let voteBodyParams = VoteBodyParams(commenterEmail: "commenterEmail_example", commenterName: "commenterName_example", voteDir: "voteDir_example", url: "url_example") // VoteBodyParams |
10let sessionId = "sessionId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
12
13PublicAPI.voteComment(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

๋„๋ฉ”์ธ ์„ค์ • ์ถ”๊ฐ€ Internal Link


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AddDomainConfig200Response

์˜ˆ์ œ

addDomainConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let addDomainConfigParams = AddDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // AddDomainConfigParams |
7
8DefaultAPI.addDomainConfig(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

๋„๋ฉ”์ธ ์„ค์ • ์‚ญ์ œ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteDomainConfig200Response

์˜ˆ์ œ

deleteDomainConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let domain = "domain_example" // ๋ฌธ์ž์—ด |
7
8DefaultAPI.deleteDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

๋„๋ฉ”์ธ ์„ค์ • ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

getDomainConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let domain = "domain_example" // String |
7
8DefaultAPI.getDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

๋„๋ฉ”์ธ ์„ค์ •๋“ค ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link


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

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfigs200Response

์˜ˆ์ œ

getDomainConfigs ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6
7DefaultAPI.getDomainConfigs(tenantId: tenantId) { (response, error) in
8 guard error == nil else {
9 print(error)
10 return
11 }
12
13 if (response) {
14 dump(response)
15 }
16}
17

๋„๋ฉ”์ธ ์„ค์ • ์ˆ˜์ • Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

patchDomainConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let domainToUpdate = "domainToUpdate_example" // String |
7let patchDomainConfigParams = PatchDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // PatchDomainConfigParams |
8
9DefaultAPI.patchDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

๋„๋ฉ”์ธ ์„ค์ • ๊ต์ฒด Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetDomainConfig200Response

์˜ˆ์ œ

putDomainConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let domainToUpdate = "domainToUpdate_example" // String |
7let updateDomainConfigParams = UpdateDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // UpdateDomainConfigParams |
8
9DefaultAPI.putDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateEmailTemplate200Response

์˜ˆ์ œ

createEmailTemplate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createEmailTemplateBody = CreateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // CreateEmailTemplateBody |
7
8DefaultAPI.createEmailTemplate(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteEmailTemplate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deleteEmailTemplate(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteEmailTemplateRenderError ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let errorId = "errorId_example" // String |
8
9DefaultAPI.deleteEmailTemplateRenderError(tenantId: tenantId, id: id, errorId: errorId) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplate200Response

์˜ˆ์ œ

getEmailTemplate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getEmailTemplate(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplateDefinitions200Response

์˜ˆ์ œ

getEmailTemplateDefinitions ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์— ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6
7DefaultAPI.getEmailTemplateDefinitions(tenantId: tenantId) { (response, error) in
8 guard error == nil else {
9 print(error)
10 return
11 }
12
13 if (response) {
14 dump(response)
15 }
16}
17

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplateRenderErrors200Response

์˜ˆ์ œ

getEmailTemplateRenderErrors ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.getEmailTemplateRenderErrors(tenantId: tenantId, id: id, skip: skip) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEmailTemplates200Response

์˜ˆ์ œ

getEmailTemplates ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์— ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getEmailTemplates(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

์ด๋ฆ„ ํ˜•์‹ ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string ์ฟผ๋ฆฌ ์˜ˆ
locale string ์ฟผ๋ฆฌ ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: RenderEmailTemplate200Response

์˜ˆ์ œ

renderEmailTemplate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let renderEmailTemplateBody = RenderEmailTemplateBody(emailTemplateId: "emailTemplateId_example", ejs: "ejs_example", testData: "TODO", translationOverridesByLocale: "TODO") // RenderEmailTemplateBody |
7let locale = "locale_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.renderEmailTemplate(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateEmailTemplate ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateEmailTemplateBody = UpdateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // UpdateEmailTemplateBody |
8
9DefaultAPI.updateEmailTemplate(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

req tenantId urlId userIdWS

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEventLog200Response

์˜ˆ์ œ

getEventLog ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let userIdWS = "userIdWS_example" // String |
8let startTime = 987 // Int64 |
9let endTime = 987 // Int64 |
10
11PublicAPI.getEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

req tenantId urlId userIdWS

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetEventLog200Response

์˜ˆ์ œ

getGlobalEventLog ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let userIdWS = "userIdWS_example" // String |
8let startTime = 987 // Int64 |
9let endTime = 987 // Int64 |
10
11PublicAPI.getGlobalEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

Name Type Location Required Description
tenantId string query ์˜ˆ
broadcastId string query ์•„๋‹ˆ์˜ค
isLive boolean query ์•„๋‹ˆ์˜ค
doSpamCheck boolean query ์•„๋‹ˆ์˜ค
skipDupCheck boolean query ์•„๋‹ˆ์˜ค

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPost200Response

์˜ˆ์ œ

createFeedPost ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createFeedPostParams = CreateFeedPostParams(title: "title_example", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], fromUserId: "fromUserId_example", fromUserDisplayName: "fromUserDisplayName_example", tags: ["tags_example"], meta: "TODO") // CreateFeedPostParams |
7let broadcastId = "broadcastId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let isLive = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let doSpamCheck = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let skipDupCheck = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.createFeedPost(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPostPublic200Response

์˜ˆ์ œ

createFeedPostPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์— ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createFeedPostParams = CreateFeedPostParams(title: "title_example", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], fromUserId: "fromUserId_example", fromUserDisplayName: "fromUserDisplayName_example", tags: ["tags_example"], meta: "TODO") // CreateFeedPostParams |
7let broadcastId = "broadcastId_example" // String | (optional)
8let sso = "sso_example" // String | (optional)
9
10PublicAPI.createFeedPostPublic(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteFeedPostPublic200Response

์˜ˆ์ œ

deleteFeedPostPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์˜ˆ์ œ๋Š” ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let postId = "postId_example" // String |
7let broadcastId = "broadcastId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.deleteFeedPostPublic(tenantId: tenantId, postId: postId, broadcastId: broadcastId, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

req tenantId afterId

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPosts200Response

์˜ˆ์ œ

getFeedPosts ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let afterId = "afterId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let limit = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
8let tags = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.getFeedPosts(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

์š”์ฒญ tenantId afterId

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPostsPublic200Response

์˜ˆ์ œ

getFeedPostsPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let afterId = "afterId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let limit = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
8let tags = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let isCrawler = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11let includeUserInfo = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
12
13PublicAPI.getFeedPostsPublic(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetFeedPostsStats200Response

์˜ˆ์ œ

getFeedPostsStats ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let postIds = ["inner_example"] // [String] |
7let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9PublicAPI.getFeedPostsStats(tenantId: tenantId, postIds: postIds, sso: sso) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

์ด๋ฆ„ ์œ ํ˜• ์œ„์น˜ ํ•„์ˆ˜ ์„ค๋ช…
tenantId string path Yes
postIds array query No
sso string query No

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserReactsPublic200Response

์˜ˆ์ œ

getUserReactsPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let postIds = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
7let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9PublicAPI.getUserReactsPublic(tenantId: tenantId, postIds: postIds, sso: sso) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: ReactFeedPostPublic200Response

์˜ˆ์ œ

reactFeedPostPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let postId = "postId_example" // String |
7let reactBodyParams = ReactBodyParams(reactType: "reactType_example") // ReactBodyParams |
8let isUndo = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let broadcastId = "broadcastId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11
12PublicAPI.reactFeedPostPublic(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateFeedPost ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let feedPost = FeedPost(id: "id_example", tenantId: "tenantId_example", title: "title_example", fromUserId: "fromUserId_example", fromUserDisplayName: "fromUserDisplayName_example", fromUserAvatar: "fromUserAvatar_example", fromIpHash: "fromIpHash_example", tags: ["tags_example"], weight: 123, meta: "TODO", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], createdAt: Date(), reacts: "TODO", commentCount: 123) // FeedPost |
8
9DefaultAPI.updateFeedPost(tenantId: tenantId, id: id, feedPost: feedPost) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateFeedPostPublic200Response

์˜ˆ์ œ

updateFeedPostPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let postId = "postId_example" // String |
7let updateFeedPostParams = UpdateFeedPostParams(title: "title_example", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], tags: ["tags_example"], meta: "TODO") // UpdateFeedPostParams |
8let broadcastId = "broadcastId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11PublicAPI.updateFeedPostPublic(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

flagCommentPublic ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let isFlagged = true // Bool |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.flagCommentPublic(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AddHashTag200Response

์˜ˆ์ œ

addHashTag ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
6let createHashTagBody = CreateHashTagBody(tenantId: "tenantId_example", tag: "tag_example", url: "url_example") // CreateHashTagBody | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.addHashTag(tenantId: tenantId, createHashTagBody: createHashTagBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AddHashTagsBulk200Response

์˜ˆ์ œ

addHashTagsBulk ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
6let bulkCreateHashTagsBody = BulkCreateHashTagsBody(tenantId: "tenantId_example", tags: [BulkCreateHashTagsBody_tags_inner(url: "url_example", tag: "tag_example")]) // BulkCreateHashTagsBody | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.addHashTagsBulk(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteHashTag ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tag = "tag_example" // String |
6let tenantId = "tenantId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let deleteHashTagRequest = DeleteHashTag_request(tenantId: "tenantId_example") // DeleteHashTagRequest | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.deleteHashTag(tag: tag, tenantId: tenantId, deleteHashTagRequest: deleteHashTagRequest) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetHashTags200Response

์˜ˆ์ œ

getHashTags ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let page = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getHashTags(tenantId: tenantId, page: page) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

ํ•ด์‹œํƒœ๊ทธ ์ˆ˜์ • Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PatchHashTag200Response

์˜ˆ์ œ

patchHashTag ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tag = "tag_example" // String |
6let tenantId = "tenantId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let updateHashTagBody = UpdateHashTagBody(tenantId: "tenantId_example", url: "url_example", tag: "tag_example") // UpdateHashTagBody | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.patchHashTag(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateModerator200Response

์˜ˆ์ œ

createModerator ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createModeratorBody = CreateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // CreateModeratorBody |
7
8DefaultAPI.createModerator(tenantId: tenantId, createModeratorBody: createModeratorBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteModerator ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let sendEmail = "sendEmail_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.deleteModerator(tenantId: tenantId, id: id, sendEmail: sendEmail) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetModerator200Response

์˜ˆ์ œ

getModerator ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getModerator(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetModerators200Response

์˜ˆ์ œ

getModerators ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getModerators(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

sendInvite ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let fromName = "fromName_example" // String |
8
9DefaultAPI.sendInvite(tenantId: tenantId, id: id, fromName: fromName) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateModerator ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateModeratorBody = UpdateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // UpdateModeratorBody |
8
9DefaultAPI.updateModerator(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteNotificationCount ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deleteNotificationCount(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetCachedNotificationCount200Response

์˜ˆ์ œ

getCachedNotificationCount ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getCachedNotificationCount(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

์•Œ๋ฆผ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ 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

์˜ˆ์ œ

getNotificationCount ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let fromCommentId = "fromCommentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let viewed = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let type = "type_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11
12DefaultAPI.getNotificationCount(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetNotifications200Response

์˜ˆ์ œ

getNotifications ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let fromCommentId = "fromCommentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let viewed = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let type = "type_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
12
13DefaultAPI.getNotifications(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateNotification ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateNotificationBody = UpdateNotificationBody(viewed: false, optedOut: false) // UpdateNotificationBody |
8let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.updateNotification(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AddPageAPIResponse

์˜ˆ์ œ

addPage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createAPIPageData = CreateAPIPageData(accessibleByGroupIds: ["accessibleByGroupIds_example"], rootCommentCount: 123, commentCount: 123, title: "title_example", url: "url_example", urlId: "urlId_example") // CreateAPIPageData |
7
8DefaultAPI.addPage(tenantId: tenantId, createAPIPageData: createAPIPageData) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeletePageAPIResponse

์˜ˆ์ œ

deletePage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์—ฌ์ „ํžˆ ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deletePage(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

Name Type Location Required Description
tenantId string query Yes
urlId string query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: GetPageByURLIdAPIResponse

์˜ˆ์ œ

getPageByURLId ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7
8DefaultAPI.getPageByURLId(tenantId: tenantId, urlId: urlId) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

ํŽ˜์ด์ง€๋“ค ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

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

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: GetPagesAPIResponse

์˜ˆ์ œ

getPages ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6
7DefaultAPI.getPages(tenantId: tenantId) { (response, error) in
8 guard error == nil else {
9 print(error)
10 return
11 }
12
13 if (response) {
14 dump(response)
15 }
16}
17

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PatchPageAPIResponse

์˜ˆ์ œ

patchPage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateAPIPageData = UpdateAPIPageData(isClosed: false, accessibleByGroupIds: ["accessibleByGroupIds_example"], title: "title_example", url: "url_example", urlId: "urlId_example") // UpdateAPIPageData |
8
9DefaultAPI.patchPage(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

๋Œ€๊ธฐ ์ค‘์ธ ์›นํ›… ์ด๋ฒคํŠธ ์‚ญ์ œ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deletePendingWebhookEvent ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deletePendingWebhookEvent(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

๋Œ€๊ธฐ ์ค‘์ธ ์›นํ›… ์ด๋ฒคํŠธ ์ˆ˜ ๊ฐ€์ ธ์˜ค๊ธฐ 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 ์•„๋‹ˆ์˜ค

์‘๋‹ต

Returns: GetPendingWebhookEventCount200Response

์˜ˆ์ œ

getPendingWebhookEventCount ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let externalId = "externalId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let eventType = "eventType_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let type = "type_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let domain = "domain_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11let attemptCountGT = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
12
13DefaultAPI.getPendingWebhookEventCount(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

๋Œ€๊ธฐ ์ค‘์ธ ์›นํ›… ์ด๋ฒคํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetPendingWebhookEvents200Response

์˜ˆ์ œ

getPendingWebhookEvents ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let commentId = "commentId_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
7let externalId = "externalId_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
8let eventType = "eventType_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
9let type = "type_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
10let domain = "domain_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
11let attemptCountGT = 987 // ์ˆซ์ž | (์„ ํƒ ์‚ฌํ•ญ)
12let skip = 987 // ์ˆซ์ž | (์„ ํƒ ์‚ฌํ•ญ)
13
14DefaultAPI.getPendingWebhookEvents(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip) { (response, error) in
15 guard error == nil else {
16 print(error)
17 return
18 }
19
20 if (response) {
21 dump(response)
22 }
23}
24

์งˆ๋ฌธ ์„ค์ • ์ƒ์„ฑ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateQuestionConfig200Response

์˜ˆ์ œ

createQuestionConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createQuestionConfigBody = CreateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // CreateQuestionConfigBody |
7
8DefaultAPI.createQuestionConfig(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

์งˆ๋ฌธ ์„ค์ • ์‚ญ์ œ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteQuestionConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7
8DefaultAPI.deleteQuestionConfig(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionConfig200Response

์˜ˆ์ œ

getQuestionConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getQuestionConfig(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

์งˆ๋ฌธ ์„ค์ •๋“ค ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionConfigs200Response

์˜ˆ์ œ

getQuestionConfigs ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getQuestionConfigs(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

์งˆ๋ฌธ ์„ค์ • ์—…๋ฐ์ดํŠธ Internal Link


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateQuestionConfig ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ํ†ตํ•ด ๋ณด๊ณ ํ•ด์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7let updateQuestionConfigBody = UpdateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // UpdateQuestionConfigBody |
8
9DefaultAPI.updateQuestionConfig(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜๊ฐ’: CreateQuestionResult200Response

์˜ˆ์ œ

createQuestionResult ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let createQuestionResultBody = CreateQuestionResultBody(urlId: "urlId_example", value: 123, questionId: "questionId_example", anonUserId: "anonUserId_example", userId: "userId_example", commentId: "commentId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // CreateQuestionResultBody |
7
8DefaultAPI.createQuestionResult(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

Name Type Location Required Description
tenantId string ์ฟผ๋ฆฌ ์˜ˆ
id string ๊ฒฝ๋กœ ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteQuestionResult ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deleteQuestionResult(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionResult200Response

์˜ˆ์ œ

getQuestionResult ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์˜ˆ์ œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getQuestionResult(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetQuestionResults200Response

์˜ˆ์ œ

getQuestionResults ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let startDate = "startDate_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let questionId = "questionId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10let questionIds = "questionIds_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
12
13DefaultAPI.getQuestionResults(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateQuestionResult ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateQuestionResultBody = UpdateQuestionResultBody(urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example", value: 123, commentId: "commentId_example", questionId: "questionId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // UpdateQuestionResultBody |
8
9DefaultAPI.updateQuestionResult(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: AggregateQuestionResults200Response

์˜ˆ์ œ

aggregateQuestionResults ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let questionId = "questionId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let questionIds = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
8let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let timeBucket = AggregateTimeBucket() // AggregateTimeBucket | (์„ ํƒ ์‚ฌํ•ญ)
10let startDate = Date() // Date | (์„ ํƒ ์‚ฌํ•ญ)
11let forceRecalculate = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
12
13DefaultAPI.aggregateQuestionResults(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: BulkAggregateQuestionResults200Response

์˜ˆ์ œ

bulkAggregateQuestionResults ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let bulkAggregateQuestionResultsRequest = BulkAggregateQuestionResultsRequest(aggregations: [BulkAggregateQuestionItem(aggId: "aggId_example", questionId: "questionId_example", questionIds: ["questionIds_example"], urlId: "urlId_example", timeBucket: AggregateTimeBucket(), startDate: Date())]) // BulkAggregateQuestionResultsRequest |
7let forceRecalculate = true // Bool | (์„ ํƒ์‚ฌํ•ญ)
8
9DefaultAPI.bulkAggregateQuestionResults(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

๋Œ“๊ธ€๊ณผ ์งˆ๋ฌธ ๊ฒฐ๊ณผ ๊ฒฐํ•ฉ 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

์˜ˆ์ œ

combineCommentsWithQuestionResults ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let questionId = "questionId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let questionIds = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
8let urlId = "urlId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let startDate = Date() // Date | (์„ ํƒ ์‚ฌํ•ญ)
10let forceRecalculate = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11let minValue = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
12let maxValue = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
13let limit = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
14
15DefaultAPI.combineCommentsWithQuestionResults(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit) { (response, error) in
16 guard error == nil else {
17 print(error)
18 return
19 }
20
21 if (response) {
22 dump(response)
23 }
24}
25

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

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

Name Type Location Required Description
tenantId string query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: AddSSOUserAPIResponse

์˜ˆ์ œ

addSSOUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createAPISSOUserData = CreateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // CreateAPISSOUserData |
7
8DefaultAPI.addSSOUser(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteSSOUserAPIResponse

์˜ˆ์ œ

deleteSSOUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let deleteComments = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
8let commentDeleteMode = "commentDeleteMode_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.deleteSSOUser(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUserByEmailAPIResponse

์˜ˆ์ œ

getSSOUserByEmail ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์— ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let email = "email_example" // String |
7
8DefaultAPI.getSSOUserByEmail(tenantId: tenantId, email: email) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUserByIdAPIResponse

์˜ˆ์ œ

getSSOUserById ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getSSOUserById(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetSSOUsers200Response

์˜ˆ์ œ

getSSOUsers ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getSSOUsers(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

SSO ์‚ฌ์šฉ์ž ์ˆ˜์ • Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PatchSSOUserAPIResponse

์˜ˆ์ œ

patchSSOUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData |
8let updateComments = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.patchSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: PutSSOUserAPIResponse

์˜ˆ์ œ

putSSOUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData |
8let updateComments = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.putSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateSubscriptionAPIResponse

์˜ˆ์ œ

createSubscription ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createAPIUserSubscriptionData = CreateAPIUserSubscriptionData(pageTitle: "pageTitle_example", url: "url_example", urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example") // CreateAPIUserSubscriptionData |
7
8DefaultAPI.createSubscription(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteSubscriptionAPIResponse

์˜ˆ์ œ

deleteSubscription ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์— ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.deleteSubscription(tenantId: tenantId, id: id, userId: userId) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

๊ตฌ๋…๋“ค ๊ฐ€์ ธ์˜ค๊ธฐ Internal Link

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetSubscriptionsAPIResponse

์˜ˆ์ œ

getSubscriptions ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getSubscriptions(tenantId: tenantId, userId: userId) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantDailyUsages200Response

์˜ˆ์ œ

getTenantDailyUsages ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let yearNumber = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7let monthNumber = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
8let dayNumber = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
9let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
10
11DefaultAPI.getTenantDailyUsages(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

Name Type Location Required Description
tenantId string query Yes

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenantPackage200Response

์˜ˆ์ œ

createTenantPackage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createTenantPackageBody = CreateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, monthlyStripePlanId: "monthlyStripePlanId_example", yearlyStripePlanId: "yearlyStripePlanId_example", maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlySmallWidgetsCredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxWhiteLabeledTenants: 123, maxMonthlyEventLogRequests: 123, hasWhiteLabeling: false, hasDebranding: false, hasLLMSpamDetection: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasAuditing: false, hasFlexPricing: false, enableSAML: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexSmallWidgetsCreditCostCents: 123, flexSmallWidgetsCreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexChatGPTCostCents: 123, flexChatGPTUnit: 123, flexMinimumCostCents: 123, flexManagedTenantCostCents: 123, flexSSOAdminCostCents: 123, flexSSOAdminUnit: 123, flexSSOModeratorCostCents: 123, flexSSOModeratorUnit: 123) // CreateTenantPackageBody |
7
8DefaultAPI.createTenantPackage(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteTenantPackage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deleteTenantPackage(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

Returns: GetTenantPackage200Response

์˜ˆ์ œ

getTenantPackage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getTenantPackage(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantPackages200Response

์˜ˆ์ œ

getTenantPackages ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getTenantPackages(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

replaceTenantPackage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let replaceTenantPackageBody = ReplaceTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, hasDebranding: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // ReplaceTenantPackageBody |
8
9DefaultAPI.replaceTenantPackage(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateTenantPackage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateTenantPackageBody = UpdateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, hasDebranding: false, hasWhiteLabeling: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // UpdateTenantPackageBody |
8
9DefaultAPI.updateTenantPackage(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

Name Type Location Required Description
tenantId string query ์˜ˆ

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenantUser200Response

์˜ˆ์ œ

createTenantUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createTenantUserBody = CreateTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example") // CreateTenantUserBody |
7
8DefaultAPI.createTenantUser(tenantId: tenantId, createTenantUserBody: createTenantUserBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteTenantUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let deleteComments = "deleteComments_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let commentDeleteMode = "commentDeleteMode_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.deleteTenantUser(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantUser200Response

์˜ˆ์ œ

getTenantUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ๊ฒฌ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getTenantUser(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenantUsers200Response

์˜ˆ์ œ

getTenantUsers ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
7
8DefaultAPI.getTenantUsers(tenantId: tenantId, skip: skip) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

replaceTenantUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์„ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let replaceTenantUserBody = ReplaceTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example", createdFromUrlId: "createdFromUrlId_example", createdFromTenantId: "createdFromTenantId_example", lastLoginDate: 123, karma: 123) // ReplaceTenantUserBody |
8let updateComments = "updateComments_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.replaceTenantUser(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

sendLoginLink ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ๋“ค์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let redirectURL = "redirectURL_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.sendLoginLink(tenantId: tenantId, id: id, redirectURL: redirectURL) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateTenantUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateTenantUserBody = UpdateTenantUserBody(username: "username_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", email: "email_example", signUpDate: 123, verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], locale: "locale_example", digestEmailFrequency: 123, displayLabel: "displayLabel_example") // UpdateTenantUserBody |
8let updateComments = "updateComments_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.updateTenantUser(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateTenant200Response

์˜ˆ์ œ

createTenant ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createTenantBody = CreateTenantBody(name: "name_example", domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO") // CreateTenantBody |
7
8DefaultAPI.createTenant(tenantId: tenantId, createTenantBody: createTenantBody) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

deleteTenant ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let sure = "sure_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.deleteTenant(tenantId: tenantId, id: id, sure: sure) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenant200Response

์˜ˆ์ œ

getTenant ์˜ˆ์ œ
Copy Copy
1
2// ์•„๋ž˜ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7
8DefaultAPI.getTenant(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetTenants200Response

์˜ˆ์ œ

getTenants ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let meta = "meta_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.getTenants(tenantId: tenantId, meta: meta, skip: skip) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: FlagCommentPublic200Response

์˜ˆ์ œ

updateTenant ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateTenantBody = UpdateTenantBody(name: "name_example", email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO", managedByTenantId: "managedByTenantId_example") // UpdateTenantBody |
8
9DefaultAPI.updateTenant(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

Name Type Location Required Description
tenantId string path Yes
sizePreset string query No ํฌ๊ธฐ ํ”„๋ฆฌ์…‹: "Default" (1000x1000px) ๋˜๋Š” "CrossPlatform" (์ผ๋ถ€ ์ธ๊ธฐ ๊ธฐ๊ธฐ์šฉ ํฌ๊ธฐ ์ƒ์„ฑ)
urlId string query No ์—…๋กœ๋“œ๊ฐ€ ๋ฐœ์ƒํ•œ ํŽ˜์ด์ง€์˜ ID (๊ตฌ์„ฑ์šฉ)

์‘๋‹ต

๋ฐ˜ํ™˜: UploadImageResponse

์˜ˆ์ œ

uploadImage ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let file = URL(string: "https://example.com")! // URL |
7let sizePreset = SizePreset() // SizePreset | ํฌ๊ธฐ ํ”„๋ฆฌ์…‹: \"Default\" (1000x1000px) ๋˜๋Š” \"CrossPlatform\" (์ผ๋ถ€ ์ธ๊ธฐ ๊ธฐ๊ธฐ์šฉ ํฌ๊ธฐ ์ƒ์„ฑ) (์„ ํƒ ์‚ฌํ•ญ)
8let urlId = "urlId_example" // String | ์—…๋กœ๋“œ๊ฐ€ ๋ฐœ์ƒํ•œ ํŽ˜์ด์ง€์˜ ID (๊ตฌ์„ฑ์šฉ) (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.uploadImage(tenantId: tenantId, file: file, sizePreset: sizePreset, urlId: urlId) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressById200Response

์˜ˆ์ œ

getUserBadgeProgressById ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getUserBadgeProgressById(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressById200Response

์˜ˆ์ œ

getUserBadgeProgressByUserId ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String |
7
8DefaultAPI.getUserBadgeProgressByUserId(tenantId: tenantId, userId: userId) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadgeProgressList200Response

์˜ˆ์ œ

getUserBadgeProgressList ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ์ œ๋ณดํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let limit = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
8let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.getUserBadgeProgressList(tenantId: tenantId, userId: userId, limit: limit, skip: skip) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: CreateUserBadge200Response

์˜ˆ์ œ

createUserBadge ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let createUserBadgeParams = CreateUserBadgeParams(userId: "userId_example", badgeId: "badgeId_example", displayedOnComments: false) // CreateUserBadgeParams |
7
8DefaultAPI.createUserBadge(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserBadge200Response

์˜ˆ์ œ

deleteUserBadge ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.deleteUserBadge(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadge200Response

์˜ˆ์ œ

getUserBadge ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7
8DefaultAPI.getUserBadge(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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


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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserBadges200Response

์˜ˆ์ œ

getUserBadges ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let badgeId = "badgeId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let type = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
9let displayedOnComments = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let limit = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
11let skip = 987 // Double | (์„ ํƒ ์‚ฌํ•ญ)
12
13DefaultAPI.getUserBadges(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserBadge200Response

์˜ˆ์ œ

updateUserBadge ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7let updateUserBadgeParams = UpdateUserBadgeParams(displayedOnComments: false) // UpdateUserBadgeParams |
8
9DefaultAPI.updateUserBadge(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserNotificationCount200Response

์˜ˆ์ œ

getUserNotificationCount ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7
8PublicAPI.getUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
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

์˜ˆ์ œ

getUserNotifications ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ํ†ตํ•ด ์•Œ๋ ค์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let pageSize = 987 // Int | (์„ ํƒ ์‚ฌํ•ญ)
7let afterId = "afterId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let includeContext = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let afterCreatedAt = 987 // Int64 | (์„ ํƒ ์‚ฌํ•ญ)
10let unreadOnly = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11let dmOnly = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
12let noDm = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
13let includeTranslations = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
14let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
15
16PublicAPI.getUserNotifications(tenantId: tenantId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, sso: sso) { (response, error) in
17 guard error == nil else {
18 print(error)
19 return
20 }
21
22 if (response) {
23 dump(response)
24 }
25}
26

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: ResetUserNotifications200Response

์˜ˆ์ œ

resetUserNotificationCount ์˜ˆ์ œ
Copy Copy
1
2// ์•„๋ž˜ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7
8PublicAPI.resetUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
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

์˜ˆ์ œ

resetUserNotifications ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let afterId = "afterId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
7let afterCreatedAt = 987 // Int64 | (์„ ํƒ ์‚ฌํ•ญ)
8let unreadOnly = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
9let dmOnly = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
10let noDm = true // Bool | (์„ ํƒ ์‚ฌํ•ญ)
11let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
12
13PublicAPI.resetUserNotifications(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso) { (response, error) in
14 guard error == nil else {
15 print(error)
16 return
17 }
18
19 if (response) {
20 dump(response)
21 }
22}
23

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

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

updateUserNotificationCommentSubscriptionStatus ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let notificationId = "notificationId_example" // String |
7let optedInOrOut = "optedInOrOut_example" // String |
8let commentId = "commentId_example" // String |
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11PublicAPI.updateUserNotificationCommentSubscriptionStatus(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

updateUserNotificationPageSubscriptionStatus ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€ ๋‹จ๊ณ„์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let url = "url_example" // String |
8let pageTitle = "pageTitle_example" // String |
9let subscribedOrUnsubscribed = "subscribedOrUnsubscribed_example" // String |
10let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
11
12PublicAPI.updateUserNotificationPageSubscriptionStatus(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso) { (response, error) in
13 guard error == nil else {
14 print(error)
15 return
16 }
17
18 if (response) {
19 dump(response)
20 }
21}
22

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: UpdateUserNotificationStatus200Response

์˜ˆ์ œ

updateUserNotificationStatus ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let notificationId = "notificationId_example" // String |
7let newStatus = "newStatus_example" // String |
8let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10PublicAPI.updateUserNotificationStatus(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUserPresenceStatuses200Response

์˜ˆ์ œ

getUserPresenceStatuses ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlIdWS = "urlIdWS_example" // String |
7let userIds = "userIds_example" // String |
8
9PublicAPI.getUserPresenceStatuses(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: SearchUsers200Response

์˜ˆ์ œ

searchUsers ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์‹ญ์‹œ์˜ค
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let usernameStartsWith = "usernameStartsWith_example" // String |
8let mentionGroupIds = ["inner_example"] // [String] | (์„ ํƒ ์‚ฌํ•ญ)
9let sso = "sso_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11PublicAPI.searchUsers(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetUser200Response

์˜ˆ์ œ

getUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๋‚˜ ์ด์Šˆ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์—์„œ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let id = "id_example" // String |
7
8DefaultAPI.getUser(tenantId: tenantId, id: id) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

Name Type Location Required Description
tenantId string query ์˜ˆ
commentId string query ์˜ˆ
direction string query ์˜ˆ
userId string query ์•„๋‹ˆ์š”
anonUserId string query ์•„๋‹ˆ์š”

์‘๋‹ต

๋ฐ˜ํ™˜: VoteComment200Response

์˜ˆ์ œ

createVote ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ http://github.com/OpenAPITools/openapi-generator/issues/new ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let commentId = "commentId_example" // String |
7let direction = "direction_example" // String |
8let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
10
11DefaultAPI.createVote(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId) { (response, error) in
12 guard error == nil else {
13 print(error)
14 return
15 }
16
17 if (response) {
18 dump(response)
19 }
20}
21

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: DeleteCommentVote200Response

์˜ˆ์ œ

deleteVote ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let id = "id_example" // ๋ฌธ์ž์—ด |
7let editKey = "editKey_example" // ๋ฌธ์ž์—ด | (์„ ํƒ ์‚ฌํ•ญ)
8
9DefaultAPI.deleteVote(tenantId: tenantId, id: id, editKey: editKey) { (response, error) in
10 guard error == nil else {
11 print(error)
12 return
13 }
14
15 if (response) {
16 dump(response)
17 }
18}
19

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetVotes200Response

์˜ˆ์ œ

getVotes ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด http://github.com/OpenAPITools/openapi-generator/issues/new ์œผ๋กœ ๋ณด๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // ๋ฌธ์ž์—ด |
6let urlId = "urlId_example" // ๋ฌธ์ž์—ด |
7
8DefaultAPI.getVotes(tenantId: tenantId, urlId: urlId) { (response, error) in
9 guard error == nil else {
10 print(error)
11 return
12 }
13
14 if (response) {
15 dump(response)
16 }
17}
18

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

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

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

์‘๋‹ต

๋ฐ˜ํ™˜: GetVotesForUser200Response

์˜ˆ์ œ

getVotesForUser ์˜ˆ์ œ
Copy Copy
1
2// ๋‹ค์Œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์•„์ง ๋ฒ ํƒ€์ž…๋‹ˆ๋‹ค. ๋ฌธ์ œ ๋ฐœ์ƒ ์‹œ http://github.com/OpenAPITools/openapi-generator/issues/new ๋ฅผ ํ†ตํ•ด ์‹ ๊ณ ํ•ด ์ฃผ์„ธ์š”
3import FastCommentsSwift
4
5let tenantId = "tenantId_example" // String |
6let urlId = "urlId_example" // String |
7let userId = "userId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
8let anonUserId = "anonUserId_example" // String | (์„ ํƒ ์‚ฌํ•ญ)
9
10DefaultAPI.getVotesForUser(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId) { (response, error) in
11 guard error == nil else {
12 print(error)
13 return
14 }
15
16 if (response) {
17 dump(response)
18 }
19}
20

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

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

๊ธฐ์—ฌํ•˜๊ธฐ

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