I am trying to use the example in this article. However, I am trying to get files attached to an order, i.e. Content documents. For some reason I continue to get the error "resource not found".
I have tried this and continue to get the error "the requested resource does not exist".