OK I think found the issue (it is working now, but not 100% sure why), but I am taking some time to post the solution here for the poor soul who may get the same issue
I think the issue is that my default project in account preference was set to "all_projects" which associated "viewer" role ...
Search found 6 matches
- 04 Oct 2024, 10:57
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
- 04 Oct 2024, 09:13
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
Re: API REST : filters not visible
Hi,
OK I tried with mantisbt.org (had to create an account first), created an API token, and it works ... I managed to get the list of filters via my python script.
So it looks like the pb is on server side... Unfortuntely I am not able to upgrade easily the version of mantisbt (managed by my ...
OK I tried with mantisbt.org (had to create an account first), created an API token, and it works ... I managed to get the list of filters via my python script.
So it looks like the pb is on server side... Unfortuntely I am not able to upgrade easily the version of mantisbt (managed by my ...
- 04 Oct 2024, 08:23
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
Re: API REST : filters not visible
pretty sure yes...
I log into the mantis project, on the top right, I select "My Account", and I create an API token in there, and use it in my script. I tried already revoking and trying with a new one.
My user can access 10 public filters, and 5 private ones, all 15 visible in Chrome, none by ...
I log into the mantis project, on the top right, I select "My Account", and I create an API token in there, and use it in my script. I tried already revoking and trying with a new one.
My user can access 10 public filters, and 5 private ones, all 15 visible in Chrome, none by ...
- 04 Oct 2024, 07:27
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
Re: API REST : filters not visible
for me, https://mantisbt.org/bugs/api/rest/filters returns also an empty list "{"filters":[]}" (is it normal?)
What could possibly explain that (on my url), the expected list is returned by chrome, and an empty list when using token authentification in my script?
Can it be that the mantis server ...
What could possibly explain that (on my url), the expected list is returned by chrome, and an empty list when using token authentification in my script?
Can it be that the mantis server ...
- 03 Oct 2024, 20:09
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
Re: API REST : filters not visible
Hi, thanks for your answer
When I run my code on your URL, I get an exception because of invalid SSL certification
Exception has occurred: SSLError
HTTPSConnectionPool(host='mantisbt.org', port=443): Max retries exceeded with url: /bugs/api/rest/filters (Caused by SSLError ...
When I run my code on your URL, I get an exception because of invalid SSL certification
Exception has occurred: SSLError
HTTPSConnectionPool(host='mantisbt.org', port=443): Max retries exceeded with url: /bugs/api/rest/filters (Caused by SSLError ...
- 03 Oct 2024, 16:58
- Forum: Help
- Topic: API REST : filters not visible
- Replies: 11
- Views: 10148
API REST : filters not visible
Dear mantis community,
Mantis version : 2.22.0
I am trying to access my mantis database using python request and API rest
I have created a API token, and I can access issues with url like ".../api/rest/issues/145"
But for some reasons, I get an empty list of filters when requesting url ".../spi ...
Mantis version : 2.22.0
I am trying to access my mantis database using python request and API rest
I have created a API token, and I can access issues with url like ".../api/rest/issues/145"
But for some reasons, I get an empty list of filters when requesting url ".../spi ...