Evidence report API
Use the Evidence report API to retrieve select messages from a channel or direct message conversation.
阅读时间1 分钟最后更新于 12 天前
Use the evidence report API to retrieve select messages from the server. The following is an example of how a request to text evidence management is formatted:
Thecurl "https://services.api.unity.com/vivox/text-evidence-management/v1/organizations/:yourOrgID/projects/:yourProjectID/text-evidence-report?target_uri=add-your-vivox-channel-uri" -u service-acct-username:service-account-password
target_uritarget_urisender_uritarget_urisender_uriParameter | Description |
|---|---|
| sender_uri | A Vivox user URI, use it to filter the response by message sender. Note that this value is required for direct message requests. |
| target_uri | The URI of the message receiving entity (channel or user). |
| start_ts | All messages reported at this time stamp and after this time stamp in Unix time format. |
| end_ts | All messages reported before and including this time stamp in Unix time format. |
| as_file | True or false value to return the response as a file. |
| file_type | If as_file is true, specify the file type. The default is CSV. |
| num_messages | The number of messages to return. The maximum value of 500 messages is returned per request query if this number is not provided. |
Regardless of the number of messages that exist; at most 500 messages (
message_idsnextstart_tsnext