|Anonymous | Login | Signup for a new account||2020-09-28 18:50 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008965||TestLink||API - REST||public||2020-07-19 18:30||2020-07-27 08:58|
|Fixed in Version|
|Summary||0008965: I can not locate any API - REST resources, I always get the response 404 Not Found.|
|Description||I try locating resources such as /lib/api/rest/v1/testprojects (tried in v1 and v2)|
The URL I am using is exactly "http://localhost/testlink/lib/api/rest/v1/testprojects" [^]
But I have tried with:
and many other posible variations just in case I was not doing it properly.
Always used the header APIKEY with my user API access key (also tried with the project API key) or putting the API key on the username part with a basic authentication.
I used as API client Postman and RESTClient addon for firefox.
I have been looking in posted issues and the internet in general for a clue of what could be happening but can't come to a response. I have reinstalled testlink a few times in case it was a installation problem.
Probably I am missing some configuration or I am not using the proper URL.
|Steps To Reproduce||Simply have send a GET request to the REST API with the URLs I set as examples|
|Additional Information||My installation was done by Bitnami-testlink installer.|
|Tags||No tags attached.|
|Browser||Firefox, chrome and edge|
|QA Team - Task Workflow Status|
Please give a look to the
Repository with the test,
You will find there examples
The apikey is the user apikey
It's better that you use code from
Github branch testlink_1_9_20_fixed
And php > 7.3
I have changed the code for the one in testlink_1_9_20_fixed and updated my php version but I have the same problem.
Looking through the test I do not see crearly what should be the url I need to use. One of the examples has this url: http://localhost/development/github/testlink-code/lib/api/rest/v2/who [^]
I understand that "/lib/api/rest/v2/who" is fixed but how is build the "/developement/github/testlink-code" part.
My full directory is: C:\Bitnami\testlink-1.9.20-5\apps\testlink\htdocs\lib\api\rest\v2
|You need to use your URL|
My URL is "http://localhost:81/testlink/" [^]
I have already tried with this.
So now I guess my problem is related to the code I'm using or the installation. I will try to set it up properly and update with the solution I may find. Thank you.
|2020-07-19 18:30||EnriqueGHM||New Issue|
|2020-07-22 10:14||fman||Note Added: 0029833|
|2020-07-22 10:18||fman||Note Added: 0029834|
|2020-07-25 07:46||fman||Assigned To||=> fman|
|2020-07-25 07:46||fman||Status||new => feedback|
|2020-07-27 08:20||EnriqueGHM||Note Added: 0029851|
|2020-07-27 08:20||EnriqueGHM||Status||feedback => assigned|
|2020-07-27 08:50||fman||Note Added: 0029853|
|2020-07-27 08:58||EnriqueGHM||Note Added: 0029855|
|Copyright © 2000 - 2020 MantisBT Team|