I had implemented Content Delivery API which seems to be working fine in local environment. After I push it to DXC and had ensured that I gave read access to contentapiread to root and to all sub pages (Apply settings for all subitems).
When I hit the API I get the response but it has only the base ContentAPI model response. It doesn't have any of the properties of the page. Below is the sample.
Response:
{
"contentLink": {
"id": 5,
"workId": 0,
"guidValue": "579a0a5b-c951-4da9-819d-0d020a737bb4",
"providerName": null,
"url": null,
"expanded": null
},
"name": "Episerver Forms",
"language": null,
"existingLanguages": [],
"masterLanguage": null,
"contentType": [
"SysContentFolder"
],
"parentLink": {
"id": 3,
"workId": 0,
"guidValue": "e56f85d0-e833-4e02-976a-2d11fe4d598c",
"providerName": null,
"url": null,
"expanded": null
},
"routeSegment": "episerver-forms",
"url": null,
"changed": "2019-04-24T18:48:05Z",
"created": "2019-04-24T18:48:05Z",
"startPublish": null,
"stopPublish": null,
"saved": "2019-04-24T18:48:05Z",
"status": null
}
Any idea what I could be missing ?