Skip to content

Instantly share code, notes, and snippets.

@jamesvidler
Last active August 14, 2019 22:04
Show Gist options
  • Select an option

  • Save jamesvidler/7bbc6583692c8386b7cf38ad9682eabf to your computer and use it in GitHub Desktop.

Select an option

Save jamesvidler/7bbc6583692c8386b7cf38ad9682eabf to your computer and use it in GitHub Desktop.
List a post with author details, with no contentLinkDepth set
curl https://046a1a87-api.agilitycms.cloud/fetch/en-us/item/15
--header "APIKey: defaultlive.2b7f3a91559d794bedb688358be5e13af2b1e3ae8cd39e8ed2433bbef5d8d6ac"
{
"contentID": 15,
"properties": {
"state": 2,
"modified": "2019-08-14T17:11:15.22",
"versionID": 159,
"referenceName": "posts",
"definitionName": "Post",
"itemOrder": 0
},
"fields": {
"title": "How this site works!",
"author": { "contentid": 25 },
"authorID": "25",
"details": "<p>Here is some dummy content for the post details...</p>"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment