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: "4bf169aa12533779a009892bd9adce5d"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 228

Body

{
  "topic" : {
    "id" : 53,
    "name" : "Topic 55",
    "slug" : "topic-55",
    "created_at" : "2017-07-13T13:32:15.773-07:00",
    "description" : "",
    "followers_count" : 0,
    "posts_count" : 0,
    "trending" : false,
    "updated_at" : "2017-07-13T13:32:15.773-07:00",
    "image" : null
  }
}