The JSON examples for the different http methods for /folderobject REST API endpoint (POST, GET, PATCH, DELETE) show mainly the "application/json" as format, but the GET one shows "application/octet-stream" instead as shown below:
Automation Engine 21.x and 24.x
Functional Area: Rest API - endpoint /folderobject
By Design
There won't be any changes to the endpoint folderobjects as otherwise the backwards compatibility with other Rest clients like AWI would be broken.
Defect ID: DE118020
Public description:
A REST API request GET /{client_id}/folderobjects/{folder_path} returned the response with media type application/octet-stream instead of application/json.
The content of the response was always JSON.