Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Add support for dynamic content #59

Open
iamEAP opened this issue Mar 23, 2017 · 0 comments
Open

Add support for dynamic content #59

iamEAP opened this issue Mar 23, 2017 · 0 comments

Comments

@iamEAP
Copy link
Contributor

iamEAP commented Mar 23, 2017

Problem / motivation

We'd like the ability to search for, get details on, create, update, and delete dynamic content.

Proposed resolution

We should add support for dynamic content, as well as generic content sections. Potentially:

// Dynamic content.
$client->api('dynamicContent')->search($query, ['depth' => 'complete']);
$client->api('dynamicContent')->show($id);
$client->api('dynamicContent')->create($content);
$client->api('dynamicContent')->update($id, $content);
$client->api('dynamicContent')->delete($id);

// Content sections.
$client->api('contentSection')->search($query, ['depth' => 'complete']);
$client->api('contentSection')->show($id);
$client->api('contentSection')->create($content);
$client->api('contentSection')->update($id, $content);
$client->api('contentSection')->delete($id);

Details

  • Content sections /api/REST/2.0/assets/contentSection[s | /[id]], documented [here].
  • Dynamic content /api/REST/2.0/assets/dynamicContent[s | /[id]], which is undocumented.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant