Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Updated Mon Feb 6th 2023, 19:36 UTC

Batch Star

PUT /:account/conversation_filters/:conversation_filter/conversations/star{?modified_before}

Multiple conversations in a given filter can be starred by a user.

Examples

Batch star with IDs

Request

PUT /my_account/conversation_filters/active/conversations/star

Body

{
  "conversations": <%= @conversations.map { |convo| conversation_path(convo) } %>
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/conversation_filters/active/conversations/star
    -d '{
  "conversations": <%= @conversations.map { |convo| conversation_path(convo) } %>
}'

Response

Status

202

Response Type

No body

Batch star by timestamp

Request

PUT /my_account/conversation_filters/active/conversations/star?modified_before={rfc3339_timestamp}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/conversation_filters/active/conversations/star?modified_before={rfc3339_timestamp}
    

Response

Status

202

Response Type

No body


© 2023 TextUs