Query for Content Items IDs

Topics: Writing modules
Nov 14, 2013 at 12:00 AM
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 16, 2013 at 12:53 AM
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