Removing redundant field from POST /api/v2/conversations/messages response

Description

As per the current implementation of POST /api/v2/conversations/messages endpoint, the response would contain 3 fields as shown below.

{
"id":"sample-conversation-id",
"otherMediaUris":[],
"selfUri":"/api/v2/conversations/messages/sample-conversation-id"
}

Out of these 3 fields, otherMediaUris is a redundant field. we would like to get rid of otherMediaUris field from the response of this API.

Change Category

API

Change Context

We have used the wrong response entity/class for this endpoint. And because of that, we are returning redundant field in the response.

Change Impact

No Impact.
otherMediaUris would be an empty array for any request, so we don't think any customer would be doing any operations on otherMediaUris field.

Date of Change

08 Jul 2024

Impacted APIs

POST /api/v2/conversations/messages

References

[MSG-6330]

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.