I have a small question on the api level.
I have a data schema with a reference to an asset (limited to 1 in the validation)
I would like to create a new content for this schema with the asset in api.
Question, should I upload the asset first and then get the id to create a content with the reference id?
Or can I create a content with the asset directly which will be automatically created with the reference validation controls (type, size, etc)?
I’m having trouble reading swagger in the object type needed for the reference which lists an array of string property names.
For info, I work in react 17 for the front end