Fetching content with ruby client

Is it possible to fetch a single record using the id with the ruby client? I’ve tried changing filter[type] to filter[id] but that doesn’t seem to work.

A bit of inspecting the client source code and I figured it out! It’s find :slight_smile:

1 Like

you could have also found the information here: https://www.datocms.com/docs/content-management-api/resources/item#self

just click on the “Ruby example”

1 Like

I didn’t notice this section! I was looking here https://datocms.com/docs/content-management-api/ruby-client

Thanks :slight_smile: