REST APIs children are OK but main page returns error 404 Edited

I can access all "children" from REST API, but when trying to connect to main page always got 404 error. I need this correct to use with Testlink.

I.e.: When I type the command below in my browser always got the correct JSON reply:

http : //mypage.com:8080/rest/api/latest/user?username=myuser

{"self": "http://mypage.com:8080/rest/api/2/user?username=myuser","key": "myuser","name": "myname","emailAddre...":

(...)

"displayName": "myname","active": true,"timeZone": "America/Sao_Paulo","groups": {"size": 24,"items": []},"expand": "groups"}

But when I type just the main page always got this:

http://mypage:8080/rest/api/latest/

<status>
 <status-code>404</status-code>
 <message>
 null for uri: http://mypage:8080/rest/api/latest/
 </message>
</status>

Please, what am I doing wrong?

2 answers

1 accepted

0 votes

Hi Evaldo,

You're not doing anything wrong.  The root level endpoint is not going to provide any data.  The valid endpoints can be found at JIRA REST API Reference.

Cheers,

Branden

Thank you, Branden.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,006 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot