Open Bug 1583181 Opened 6 years ago Updated 3 years ago

Cannot connect to REST API with local instance of bugzilla

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: quim.motger, Unassigned)

Details

After installing and deploying a local instance of Bugzilla using the following instructions:

https://bugzilla.readthedocs.io/en/latest/installing/quick-start.html

I am trying to use the REST API documented at https://bugzilla.readthedocs.io/en/latest/api/index.html

But it seems the API is not working as all requests return a 404 error, as if the API was not successfully deployed.

For instance GET /rest/version returns a 404 (Not Found) response.

OS: Ubuntu 16.04

Component: Bugzilla-General → WebService

Test with /rest.cgi/version
If that works and an alias to the httpd config like below:

Alias /rest/ "/path/to/bugzilla/rest.cgi/"

Where /path/to/ is the path to you bugzilla installation folder

You need to log in before you can comment on or make changes to this bug.