Natural Language Understanding /publish return code change from 201 to 200

Category: API

Summary:

Publish the NLU Domain Version.

POST to endpoint
/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/publish

To return 200 rather than 201

Context:
The publish of a domain versions does not create a resource, and as such the return code of 200 is a better fit for this operation.

Impact: There is no fundamental change in behavior, however any consumers of the Language Understanding API may need to modify any assertions made on the return code of the endpoint above.

Date of Change: On or after November 02, 2020

Impacted APIs: Language Understanding API

References:

NLU-1219

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