REST API Get Record returns an array, not an object? (fixed)

Hello - is this a bug? The systems seems to think that the Get (one) Record request returns an object (of the first record). But it actually seems to return an array with length of one.

To make it work, this actually does work, although it claims to be an error.
Screen Shot 2020-05-02 at 9.06.12 AM

Is it something on my end?

EDIT: found the issue, in my end I was returning an array instead of a single object.
That said, I think it could still be clarified on this end because it seems to assume that an object is being returned, even if it’s an array.

Yup, fair point – there should be better sanitization and guidance in the REST API configurator, and probably should throw an error for non-object response instead of just letting whatever through, at least as default behaviour.