Nice, this is me on gitlab: https://gitlab.com/u/axb21

On Saturday, December 26, 2015 at 11:51:09 PM UTC-5, Roberto Rosario wrote:
>
> Repository created: https://gitlab.com/mayan-edms/bulk_upload. Send me 
> your GitLab use to add you as a developer so you get notified of all code 
> updates. Open issues to coordinate the features of the bulk upload utility 
> based on your needs: https://gitlab.com/mayan-edms/bulk_upload/issues
>
> On Tuesday, December 22, 2015 at 11:34:44 PM UTC-4, Anthony Bucci wrote:
>>
>> I thought I'd bump this because I need this feature as well and have had 
>> no luck implementing it myself using the REST API. Can anyone point me to 
>> an example of how to upload, say, a PDF file I have on a local machine to 
>> Mayan EDMS using a POST to the appropriate REST API call?
>>
>> Not to sound flamey, but it's odd this feature disappeared. It seems like 
>> a basic feature many users would need when first setting up a document 
>> repository? Or is Mayan targeted at relatively small sets of documents, on 
>> the order of tens of documents (vs hundreds or thousands)?
>>
>> On Wednesday, May 6, 2015 at 11:06:53 PM UTC-4, Roberto Rosario wrote:
>>>
>>> Hi Mike,
>>>
>>> yes the direct command for bulk uploads was removed after the REST API 
>>> end point was added to remove the duplicate code. If you have Mayan running 
>>> go to "Tool" -> "REST API Documentation" 
>>>
>>> just send a POST to /api/v0/documents/documents/ with the document_type 
>>> id and the file contents as payloads {"document_type": 1, "file": ...}
>>>
>>> Screenshot attached.
>>>
>>> If you make bulk uploader via API, I can host it as an official project 
>>> in the Mayan EDMS github organization (https://github.com/mayan-edms)
>>>
>>> On Thursday, April 16, 2015 at 10:48:54 PM UTC-4, Mike Newell wrote:
>>>>
>>>> I have several thousand documents that I would like to import.  The 
>>>> documentation says that you do this via the "./manage.py bulk_upload" 
>>>> command.  After much searching around I found that "./manage.py" has been 
>>>> renamed, and that the "bulk_upload" command was actually removed.  Is 
>>>> there 
>>>> some alternate method for doing this?  Or at least a pointer to an API for 
>>>> writing one?  Adding large numbers of files manually is kind of a daunting 
>>>> task...
>>>>
>>>> Thanks!
>>>>
>>>> Mike
>>>>
>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to