REST API: The endpoint GET /folderobjects uses a wrong content type octet-stream
search cancel

REST API: The endpoint GET /folderobjects uses a wrong content type octet-stream

book

Article ID: 379602

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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:

Environment

Automation Engine 21.x and 24.x

Functional Area: Rest API - endpoint /folderobject

Cause

By Design

Resolution

There won't be any changes to the endpoint folderobjects as otherwise the backwards compatibility with other Rest clients like AWI would be broken.

Additional Information

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.