Thread:Project:Support desk/How to get oldid of a page?/reply

I did some more searching and it seems like I would need to get a 'revision' object and then I could use the 'getId' method. Is there any way of getting a revision object associated with a request,user or title object?