View Issue Details

IDProjectCategoryView StatusLast Update
0026481mantisbtapi restpublic2019-12-18 11:51
Reportersquin Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version2.23.0 
Summary0026481: Errors in API documentation
Description

I have been using the documents at this location:

https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP?version=latest#intro

There are a couple issues. This command:

GET Get an issue
{{url}}/api/rest/issues/:issue_id

is incorrect in that the colon is not required. I am not the only one to get confused by this. Also the example commands to get an issue and get all files attached to an issue seem to be the same. The only difference is the issue number.

Lastly your forum logon seems broken. I attempted to join but no email was forthcoming. When I created the Mantis account it was instant. I have a some questions but will wait until I join the forum as that is more appropriate than here.

TagsNo tags attached.

Activities

dregad

dregad

2019-12-18 11:51

developer   ~0063313

{{url}}/api/rest/issues/:issue_id
is incorrect in that the colon is not required

The colon simply indicates a placeholder / variable, to be replaced by the actual value you want to pass on to the API (in this case, the issue's ID).
I believe that this syntax is generated by Postman and I'm not sure if it can be changed. Maybe @vboctor can comment.

the example commands to get an issue and get all files attached to an issue seem to be the same

I think you're right on this one, getting the files should be {{url}}/api/rest/issues/:issue_id/files

Lastly your forum logon seems broken

As for that, there are no issues with forum registration or e-mail notifications as far as I can see. I actually an squin account registered today, maybe you had a typo in your e-mail address ?

Issue History

Date Modified Username Field Change
2019-12-18 06:56 squin New Issue
2019-12-18 11:51 dregad Status new => feedback
2019-12-18 11:51 dregad Note Added: 0063313