Magento REST API: Product attribute options API format Mismatch

In magento 2.x REST API docs, below output is shown as a sample, the label data based on store views. But when i tried to hit the API it replied only label and value, not able to get store based labels.

Given in doc:

[ { "label": "string", "value": "string", "sort_order": 0, "is_default": true, "store_labels": [ { "store_id": 0, "label": "string" } ] } ] 

https://adobe-commerce.redoc.ly/2.4.6-admin/tag/productsattributesattributeCodeoptions/

What we got (tested in magento 2.6 and 2.7):

[ { "label": " ", "value": "" } ] 

Need a solution. I am using community version. If anyone had faced issue or have solution, help me.

submitted by /u/BlinkMacSystemFont
[link] [comments]