Topics

topics#show - Get details of a topic

Parameters

Name Description
id required The numeric ID of the Topic you want to fetch

Request

Route

GET /v1/topics/53

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com

Response

Status

200 OK

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
ETag: "b332d9d56d7c82f061635f20969c3b8f"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 228

Body

{
  "topic" : {
    "id" : 53,
    "name" : "Topic 62",
    "slug" : "topic-62",
    "created_at" : "2017-09-14T06:02:54.655-07:00",
    "description" : "",
    "followers_count" : 0,
    "posts_count" : 0,
    "trending" : false,
    "updated_at" : "2017-09-14T06:02:54.655-07:00",
    "image" : null
  }
}