Skip to content

Commit

Permalink
Mention REST API in README
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 12, 2024
1 parent b8697d3 commit 87fc537
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ If you're a GraphQL fan, you're now able to fetch your models via GraphQL. Runwa
}
```

### REST API

If you don't like GraphQL and would prefer plain old REST, you can do that too. Runway easily integrates with Statamic's REST API.

```php
'resources' => [
'collections' => true,
// ...
'runway' => [
'product' => true,
],
],
```

## Support

If you find a bug, have some question or have a feature request, please open a [GitHub Issue or Discussion](https://github.com/duncanmcclean/runway/issues/new/choose).
Expand Down

0 comments on commit 87fc537

Please sign in to comment.