Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down