If you are able to pass flatus (gas), you’re probably ok, but I would agree that backing off on the food for now is smart, and staying on clear liquids for a day or two is helpful to make sure your distension fully resolves. When you are no longer bloated, you could start with a soft/bland diet first, and make sure you are still going regularly. But bloating is a reason to back off.
The next, less pleasant, question is: why did you have an obstruction? It could be something you ate and didn’t chew enough; it could be adhesions; it could be something more serious. As long as you can get back to normal and don’t have another episode soon, it was probably just food, but worth paying attention.
I say this from unfortunate experience. I had repeated partial small bowel obstructions and intolerance of insoluble fiber of any kind—carrots, kale, broccoli, romaine, all the serious veggies, even when I blended them in a nutribullet—for a year and a half. Turns out it was because I had a chronic leak from my j-pouch that caused massive adhesions and inflammation of the jejunum, so many foods (anything not fully chewed, anything with insoluble fiber) couldn’t pass. Once that was removed and the repair had healed, I got all those foods, even popcorn, back without problems. It’s a huge relief to be able to eat more than ice cream and broth reliably!
Good luck!