public async Task <List <OnshapeDocument> > GetDocuments(OnshapeDocumentFilterType filter, String owner, Nullable <OnshapeDocumentOwnerType> ownerType = null, String sortColumn = null, Nullable <OnshapeSortOrder> sortOrder = null, int offset = Constants.USE_API_DEFAULT, int limit = Constants.USE_API_DEFAULT) { String uri = constructGetDocumentsUri(filter, owner, ownerType, sortColumn, sortOrder, offset, limit); OnshapeDocuments documents = await HttpGet <OnshapeDocuments>(uri); return(documents.items); }
public async Task <List <OnshapeDocument> > GetDocuments(int offset = Constants.USE_API_DEFAULT, int limit = Constants.USE_API_DEFAULT) { String uri = constructGetDocumentsUri(null, null, null, null, null, offset, limit); OnshapeDocuments documents = await HttpGet <OnshapeDocuments>(uri); return(documents.items); }