Get a topic based on the uuid.
GET /topics/{topicUuid} HTTP/1.1 Host: api.justpush.io Authorization: Bearer Token Accept: */*
Topic Get Body
{ "uuid": "text", "title": "text", "slug": "text", "avatar": "text", "has_custom_avatar": "text", "token": "text" }
Update an existing topic
PUT /topics/{topicUuid} HTTP/1.1 Host: api.justpush.io Authorization: Bearer Token Content-Type: application/json Accept: */* Content-Length: 63 { "title": "text", "avatar": { "external_url": "text", "body": "text" } }
Error Response Body
{ "message": "text", "code": 1 }
Create a Topic and assigns it to the user immediately
POST /topics HTTP/1.1 Host: api.justpush.io Authorization: Bearer Token Content-Type: application/json Accept: */* Content-Length: 16 { "title": "text" }