Obtaining lists of status, category, tags etc via REST API?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
stigzler
Posts: 10
Joined: 18 Mar 2019, 23:36

Obtaining lists of status, category, tags etc via REST API?

Post by stigzler »

I'm probably missing something really obvious, but I can't see for the life of me how to get hold of lists for these types of properties. Given a lot of these are dynamic, there's a real need to access these if you're manipulating projects and issues through the API.

I'm basically writing a Visual Studio extension - so will need to read and write these these to and from different Mantis setups.

For example, a lot of people set up custom statuses from the default in their Mantis installations, so you couldn't go with default enums - I'd have to read these individually via the API. They're not stored in config_inc.php either, so can't get to them that way.

IS the Rest API just very underdeveloped at the moment?
stigzler
Posts: 10
Joined: 18 Mar 2019, 23:36

Re: Obtaining lists of status, category, tags etc via REST API?

Post by stigzler »

Nemmind - got it:

/api/rest/config?option=status_enum_string

Mantis rocks. 8)
Post Reply