API - GET all objects of a type

Hi guys, sorry for the basic question but im trying to get all objects of a type via API and unable to do it, how can i do it? is via a url like /rest/type/id/objects or a filter inside the call?

thanks