Skip to content

Commit

Permalink
Merge pull request contentful#246 from contentful/rubydog/feature/ent…
Browse files Browse the repository at this point in the history
…ry-references

Update documentation
  • Loading branch information
ruderngespra committed Jun 15, 2022
2 parents 274640c + 2ee5eaf commit 1db1aa1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## Master
* Updated readme for Entry References

## 3.5.0
* Added support for Entry References API
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,14 @@ Retrieving a snapshot for a given entry:
snapshot = entry.snapshots.find('some_snapshot_id')
```

### Entry references

Retrieving entry references:

```ruby
references = entry.references(include: 1)
```

### Content Type Snapshots

Retrieving all snapshots for a given content type:
Expand Down

0 comments on commit 1db1aa1

Please sign in to comment.