website
website copied to clipboard
website: JSON object of content html for each zesty doc item
Feature Description
https://docs.google.com/document/d/18AN134VADTj5xZk464YvNnZQSe3ORP04ifMdUnNaKAs/edit?usp=sharing
Additional Context (optional)
Please save locally and send to me
needs to output with html tags like this: example output data: https://kfg6bckb-dev.webengine.zesty.io/-/instant/7-a4f6c6bdc5-kkztvh.json take a look at the "article" object
- iterate through each item under model
6-e092db91a5-rgfcx2
- make a GET request to the item
- get the body of the response and map the corresponding item zuid from the exported json
- make a POST request to the item with the previous response body and adding the "content" object from the exported json
- Publish the item
Requests can be found here: https://instances-api.zesty.org/
Instance ZUID: 8-aaeffee09b-7w6v22
After making the updates to each item, rather than individual publishes, just use the following cloud function to publish all of the model's items: https://instances-api.zesty.org/#c3ae5072-dac0-4f1a-ac8e-13c0bc2440d2
https://8-aaeffee09b-7w6v22.api.dev.zesty.io/v1/content/models/6-e092db91a5-rgfcx2/items
https://github.com/zesty-io/website/assets/71545960/fd7aa6eb-c806-46ae-afca-3c1896eb53f5
Dev
@darwin808 please update the dev environment of the docs to display the "content" object rather than the markdown