Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 963 Bytes

File metadata and controls

43 lines (30 loc) · 963 Bytes

GetConnectionResponse

Response body for GET /connections/{connection_id}

Properties

Name Type
id string
name string
sourceType string
syncedTableCount number
tableCount number

Example

import type { GetConnectionResponse } from '@hotdata/sdk'

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "name": null,
  "sourceType": null,
  "syncedTableCount": null,
  "tableCount": null,
} satisfies GetConnectionResponse

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as GetConnectionResponse
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]