Topics
Get a topic based on the uuid.
Authorizations
Path parameters
topicUuidstringRequired
Responses
default
Topic Get Body
application/json
get
GET /topics/{topicUuid} HTTP/1.1
Host: api.justpush.io
Authorization: Bearer Token
Accept: */*
default
Topic Get Body
{
"uuid": "text",
"title": "text",
"slug": "text",
"avatar": "text",
"has_custom_avatar": "text",
"token": "text"
}
Update an existing topic
Authorizations
Path parameters
topicUuidstringRequired
Body
titlestringOptional
Responses
default
Error Response Body
application/json
put
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"
}
}
default
Error Response Body
{
"message": "text",
"code": 1
}
Create a Topic and assigns it to the user immediately
Authorizations
Body
titlestringOptional
Responses
default
Error Response Body
application/json
post
POST /topics HTTP/1.1
Host: api.justpush.io
Authorization: Bearer Token
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"title": "text"
}
default
Error Response Body
{
"message": "text",
"code": 1
}