v1Ressourcen/Social Inbox/postHide, unhide or delete a comment
Hide, unhide or delete a comment
Hides a comment (it stays on the network but out of public view; unhide undoes it) or deletes it from the network. Deleting cannot be undone: the inbox keeps the row, marked deleted, and resolves it. Each works only where the network allows it. To ban a YouTube commenter use the youtube endpoint.
post
inbox:write/api/v1/inbox/{kind}/{id}/moderateQuery-Parameter
kindstring (comment | message | mention)erforderlich
The kind of item: a comment, a direct message conversation or a mention.
idstringerforderlich
The item's id, from the inbox list.
Anfragetext
actionstring (hide | unhide | delete)erforderlich
What to do to the comment.
Antwort
dataobjectoptional
okbooleanoptional
True when the request succeeded.
actionstringoptional
The action that was applied.
changedbooleanoptional
False when the comment was already in that state.
Fehler
400Der Anfrage fehlt ein erforderlicher Parameter, oder sie ist anderweitig fehlerhaft.
401API-Schlüssel fehlt, ist ungültig, abgelaufen oder widerrufen.
403Dem Schlüssel fehlt die erforderliche Berechtigung, oder er ist für diesen Kunden/Standort nicht autorisiert.
404Die Ressource wurde nicht gefunden oder gehört nicht zu Ihrer Agentur.
429Zu viele Anfragen. Versuchen Sie es nach der im Retry-After-Header angegebenen Anzahl Sekunden erneut.
post/api/v1/inbox/{kind}/{id}/moderate
Ihr API-Schlüssel
kind *
id *
Anfragetext*
{
"data": {
"ok": true,
"action": "hide",
"changed": true
}
}