I’m not receiving validations property for field that maps to one-to-one entry. This works for one-to-many entries. In the example below, oneToOne field should have validations array with information what content type it relates to.
The URL: https://cdn.contentful.com/spaces/{{space_id}}/environments/{{environment_id}}/content_types/myType?access_token={{access_token}}
Response:
{
“fields”: [
{
“id”: “oneToMany”,
“name”: “One To Many”,
“type”: “Array”,
“localized”: false,
“required”: false,
“disabled”: false,
“omitted”: false,
“items”: {
“type”: “Link”,
“validations”: [
{
“linkContentType”: [
“category”
]
}
],
“linkType”: “Entry”
}
},
{
“id”: “oneToOne”,
“name”: “One To One”,
“type”: “Link”,
“localized”: false,
“required”: false,
“disabled”: false,
“omitted”: false,
“linkType”: “Entry”
},