v1Recursos/Social Listening/patchUpdate a listening topic

Update a listening topic

Edits a topic, or turns it on or off with status. Turning a topic on schedules its first collection for the next monthly update; it does not start one now. A client needs a connected social account before a topic can be turned on.

patch/api/v1/listening/topics/{id}
listening:write
Parâmetros de consulta
idstringobrigatório
The topic's id.
Corpo da solicitação
clientIdstringobrigatório
The client (business) this concerns.
namestringopcional
The topic's name, up to 80 characters.
descriptionstringopcional
An optional note, up to 255 characters. Send null to clear it.
queryobjectopcional
A replacement query, in the same shape as when creating a topic.
sourcesarray of stringopcional
The networks to follow.
languagesarray of stringopcional
Up to five two-letter language codes.
statusstring (active | paused | suggested)opcional
active collects, paused stops, suggested keeps it as an idea.
Resposta
dataobjectopcional
topicobjectopcional
The topic after the change.
collectsNextstringopcional
When an active topic will next be collected, as a date-time. Present only when the change turned a topic on.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
patch/api/v1/listening/topics/{id}
Sua chave de API
id *
Corpo da solicitação*
{}

Novo na API da Synup?