is the "modelID" the correct ID that i should use when i upload a file?
When i upload a file, the ID that I'm allowed to get from the file object is the "modelID", is this the correct ID that i should use? There isn't any parameter that is just "id"
-
I think you might be using our iOS SDK since modelID is a concept specific to it. As you mentioned, you can use the modelID property to get the value for id from the file object. modelID is the convention that our iOS SDK uses to refer to a Box item id, such as a folder id or a file id. Here is how to get a file id and folder id using our iOS SDK.
NSString *fileID = file.modelID;
NSString *folderID = folder.modelID;
Please sign in to leave a comment.
Comments
1 comment