List Topics
Request schema
Path parameters
source_id
integerrequired
ID of the source
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
GET
https://app.getcensus.com/api/v1/sources/{source_id}/topics
GET /api/v1/sources/{source_id}/topics HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
Successfully retrieved the list of topics.
405
Connection parameter associated with connection not of type HTTPRequestConnection
200
status
stringrequired
The outcome of the request
enum:
pagination
objectrequired
An object to help you navigate the list of results.
total_records
number
Total records in the collection.
example:
per_page
number
Records on each page.
default:
example:
prev_page
number | null
The previous page number, or null for the first page.
example:
page
number
The current page number.
default:
example:
next_page
number | null
The next page number, or null if it's the last page.
example:
last_page
number
The number of the last page with records.
example:
data
arrayrequired
The list of results.
id
integer
The id of this topic.
example:
name
string
The name of this topic.
example:
description
string
The description for this topic.
example:
created_at
string
When this topic was created.
format:
example:
updated_at
string
When this topic was last updated.
format:
example:
schema
object
The fields available to be used in syncs, extracted from the sample message along with their respective types
example:
405
status
string
Outcome of the operation.
example:
message
string
Description of the outcome.
example:
{ "status": "success", "pagination": { "total_records": 14, "per_page": 25, "prev_page": 1, "page": 2, "next_page": 3, "last_page": 10 }, "data": [ { "id": 18, "name": "NewAppUsers", "description": "Users that have signed up for our product in the last week.", "created_at": "2021-10-20T02:43:07.120Z", "updated_at": "2021-10-20T02:50:35.477Z", "schema": { "name": "string", "id": "number", "email": "string" } } ] }