/stars.add
POST
/stars.addAdds a star to an item.
Request
Header Params
token
string
required
Authentication token. Requires scope: stars:write
Body Params application/x-www-form-urlencoded
channel
string
optional
Channel to add star to, or channel where the message to add star to was posted (used with timestamp
).
file
string
optional
File to add star to.
file_comment
string
optional
File comment to add star to.
timestamp
string
optional
Timestamp of the message to add star to.
Request samples
Responses
Typical success response(200)
Typical error response(500)
Typical success response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
Exampleresponse
{
"ok": true
}
Last modified: a year ago