Hey.Café Endpoint Docs

Post Staff

Docs Home / Post Staff
Requires TokenCache Purge

post_staff_account_give_pro

This call can only be used by Staff on Hey.Café to gift Pro status to an account, this is tracked and monitored.

Primary URL: https://endpoint.hey.cafe/post_staff_account_give_pro
textRequired
resource
The account alias, or id.
numberRequired
time
The the number of months to give.
Requires TokenCache Purge

post_staff_account_send_notification

Send a notification message to a user.

Primary URL: https://endpoint.hey.cafe/post_staff_account_send_notification
textRequired
resource
The account alias, or id.
base64Required
message
The message contents sent in the notification, we put the text 'A new message from a member of our staff:' before the notification contents.
Requires TokenCache Purge

post_staff_account_type_news

This call can only be used by Staff on Hey.Café to set the account type to news.

Primary URL: https://endpoint.hey.cafe/post_staff_account_type_news
textRequired
resource
The account alias, or id.
Requires TokenCache Purge

post_staff_cafe_type

This call can only be used by Staff on Hey.Café to set the cafe type.

Primary URL: https://endpoint.hey.cafe/post_staff_cafe_type
textRequired
resource
The account alias, or id.
textRequired
type
The new cafe type
Requires TokenCache Purge

post_staff_cafe_adopt

This call can only be used by admin Staff on Hey.Café. It lets a staff member adopt an abandoned café adding themselves as an admin so it can be handed off or maintained.

Primary URL: https://endpoint.hey.cafe/post_staff_cafe_adopt
textRequired
resource
The cafe alias, or id.
Requires TokenCache Purge

post_staff_cafe_abandon

This call can only be used by admin Staff on Hey.Café. It lets a staff member abandon an adopted café removing them from it.

Primary URL: https://endpoint.hey.cafe/post_staff_cafe_abandon
textRequired
resource
The cafe alias, or id.
Requires TokenCache Purge

post_staff_conversation_lock

This call can only be used by admin Staff on Hey.Café. It lets a staff member lock a conversation from comments and reactions.

Primary URL: https://endpoint.hey.cafe/post_staff_conversation_lock
textRequired
resource
The conversation id.
Requires TokenCache Purge

post_staff_conversation_unlock

This call can only be used by admin Staff on Hey.Café. It lets a staff member unlock a conversation from comments and reactions.

Primary URL: https://endpoint.hey.cafe/post_staff_conversation_unlock
textRequired
resource
The conversation id.
Requires TokenCache Purge

post_staff_account_restrict

Used to restrict an account.

Primary URL: https://endpoint.hey.cafe/post_staff_account_restrict
textRequired
resource
The account id.
Requires TokenCache Purge

post_staff_account_unrestrict

Used to unrestrict an account.

Primary URL: https://endpoint.hey.cafe/post_staff_account_unrestrict
textRequired
resource
The account id.
Requires TokenCache Purge

post_staff_cafe_restrict

Used to restrict a café.

Primary URL: https://endpoint.hey.cafe/post_staff_cafe_restrict
textRequired
resource
The café id.
Requires TokenCache Purge

post_staff_cafe_unrestrict

Used to unrestrict a café.

Primary URL: https://endpoint.hey.cafe/post_staff_cafe_unrestrict
textRequired
resource
The café id.
Requires TokenCache Purge

post_staff_account_timeout

Sets a timeout of how long an account is not allowed to use the service.

Primary URL: https://endpoint.hey.cafe/post_staff_account_timeout
textRequired
resource
The account alias or ID.
numberRequired
days
The number of days.
Requires TokenCache Purge

post_staff_report_open

Open all reports for a content type and let the reporter know we are looking into it, also makes you the investigator.

Primary URL: https://endpoint.hey.cafe/post_staff_report_open
textRequired
resource_type
The resource type like account, cafe, conversation, or comment.
textRequired
resource_id
The resource id.
Requires TokenCache Purge

post_staff_report_close

Close all reports for a content type and let the reporter know the results.

Primary URL: https://endpoint.hey.cafe/post_staff_report_close
textRequired
resource_type
The resource type like account, cafe, conversation, or comment.
textRequired
resource_id
The resource id.
textRequired
valid
true or false text if the report is valid or not, this will change what we tell the user.