Query for Content Items IDs

Topics: Writing modules
Nov 13, 2013 at 11:00 PM
I pretty new to the query API, assuming this can be done with the content manager. I looking for a way to just return the ID's of a specific Content Type. This is for a simple web API so I really just need the IDs, preferably ordered by the Publish date.

Nov 15, 2013 at 11:53 PM
Found the solution on my own, perhaps this will help people down the road:
return this.contentManager.Query<TestPart, TestPartRecord>().OrderByDescending(s => s.Date).List().Select(c => c.Id);
Marked as answer by MatthewDubbs on 11/15/2013 at 5:59 PM