From CS, you can associate a mime type with one or more category (CS Admin => System Administration => Administer MIME Types and Categories). After that, a user will be prompted with the associated category right after he/she selects a file and clicks the “Add” button. The user has to fill in the category form to complete the uploading, otherwise the file will stay in “incomplete” status and won’t be available for other users.
We want to mimic the CS behavior in our App, here we have two questions:
1) Can we call the rest api to get all associated categories for a given mime type;
2) Can we add a document to CS and let it stay in the “incomplete” status. (Posting a file to /api/v1/nodes creates document in completed status).