diff --git a/README.md b/README.md index c6b77dc..516912a 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,21 @@ $webflow->info(); $webflow->sites(); ``` +### Get Specific Site +``` +$webflow->site($siteId); +``` + +### List Domains +``` +$webflow->domains($siteid); +``` +__If you only have a webflow.io domain this will return an empty array []__ + + ### List Collections ``` -$webflow->collections(); +$webflow->collections($siteid); ``` ### Get All Items for a Collection (including paginated results) @@ -68,6 +80,13 @@ $webflow->updateItem($collectionId, $itemId, $fields); $webflow->removeItem($collectionId, $itemId); ``` +### Publish Site +Before changes go live, you must publish them to your domains. +``` +$webflow->publishSite($siteId,['domains' => ['mydomain.webflow.io', 'mycustomdomain.example.com']]); +``` + + ## Installation