Search found 15 matches

by Bastian
Fri Sep 11, 2020 12:46 pm
Forum: API
Topic: Search Topic not working anymore after update
Replies: 2
Views: 48

Re: Search Topic not working anymore after update

So it seems as I have solved my problem just by noting down the process here :ugeek:

So if anyone else runs into the same problem - the solution is stated above.
by Bastian
Fri Sep 11, 2020 12:38 pm
Forum: API
Topic: Search Topic not working anymore after update
Replies: 2
Views: 48

Re: Search Topic not working anymore after update

Update 1: searching for documents in that way works... but not for cabinets Update 2: ok so I found out that there was a change in the naming convention - but why and when? Searching the changelog I found nothing explicit pointing in this direction... http://edms.local:8000/api/search/cabinets.Cabin...
by Bastian
Fri Sep 11, 2020 12:30 pm
Forum: API
Topic: Search Topic not working anymore after update
Replies: 2
Views: 48

Search Topic not working anymore after update

Hi @all, I've updated my Mayan edms to 3.4.13 and I found out that I think several versions ago the API got some severe changes. the api calls I'm using are not working anymore In older versions I was able to check if a cabinet exists using this: http://172.21.0.100:8000/api/search/cabinets.Cabinet/...
by Bastian
Fri May 10, 2019 9:26 am
Forum: API
Topic: API Search not working [SOLVED]
Replies: 1
Views: 1167

API Search not working [SOLVED]

Hi,

this can be closed. It's working!
by Bastian
Fri May 10, 2019 8:53 am
Forum: API
Topic: No API documentation on 3.1.10 Docker
Replies: 2
Views: 1234

No API documentation on 3.1.10 Docker

Hi,

I just realised that on the last version 3.1.10 I get no API documentation.
No swagger and no redoc.
by Bastian
Fri May 10, 2019 8:45 am
Forum: General topics
Topic: Seach for existing documents using the API
Replies: 1
Views: 5065

Re: Seach for existing documents using the API

Hi again,

I'll try to reduce the search time now with searching only the documents of a single cabinet

So I'll determin the correct cabinet and search there, not in the whole system

with url: /api/cabinets/cabinetid/documents/

this should do the trick for now
by Bastian
Thu May 09, 2019 6:58 am
Forum: General topics
Topic: Seach for existing documents using the API
Replies: 1
Views: 5065

Seach for existing documents using the API

Hi @all, I wrote a small python script which is triggered when a new document is created or an existing document is changed in our ERP software. When a document is modified I want to upload is as a new version of the same document into Mayan. Is there a better (quicker) way to search for a specific ...
by Bastian
Wed May 08, 2019 11:25 am
Forum: On the web
Topic: Good article on Mayan
Replies: 3
Views: 5975

Re: Good article on Mayan

Great artile,

thanks for sharing!
by Bastian
Thu Mar 14, 2019 10:07 am
Forum: API
Topic: API Document upload example
Replies: 2
Views: 1685

Re: API Document upload example

ok,

I've got the file uploaded.

I used the wrong base url
it needs to be uploaded to /api/documents

than it works.

Now I need to add the uploaded document to a cabinet.

We will see...
by Bastian
Wed Mar 13, 2019 4:06 pm
Forum: API
Topic: API Document upload example
Replies: 2
Views: 1685

API Document upload example

Hi @all I'm trying to upload a file with a python script and requests library to a cabinet. So far I've managed to fetch the correct cabinet id and to create a new cabinet if it doesn't exist already. But how do I upload a document (pdf) into that cabinet? Does anyone have a codesnippet? here's what...