Returning values for custom fields (from API)

Hello,

I have a question about understanding the API. It concerns the section on custom fields. The Get methods do not return arrays, even though one would expect them to. Deserialization fails accordingly with the expected exception.

Example:

https://api.awork.com/api/v1/customfielddefinitions

Could it be that the description of the API in the specification is incorrect?

Thank you for your help and best regards!

Hi @Wojciech, thanks for reporting this. Yes, you are correct, it should be an array and the documentation currently mentions an object only. I’ll fix the documentation right away.

Thanks, don’t forget the API spezifikation (yaml). :wink:

The docs are auto-generated from the OpenAPI specification. The OpenAPI spec should be up to date already, the docs should be updated tomorrow.