box/box-openapi

Wrong return code for 'Get classification on folder'

Opened this issue · 0 comments

Description of the issue

Not a huge deal, but I figured I'd submit this anyway. The docs say it'll return a 201 on a success, but it's actually returning a 200. I believe it is correct for returning that 200 instead of the 201 based on HTTP status code definitions, but the docs should probably reflect this.

Current content

Currently says to expect a 201 on a success.

Expected content

Should be a 200 since that's what the API is returning with the data.

Link to the documentation page

https://developer.box.com/reference/get-folders-id-metadata-enterprise-securityClassification-6VMVochwUWo/