Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

XRay Cloud POST api/v1/authenticate results in dead link (404)

I want to start working with XRay to upload some JUnit results.

Unfortunately, I'm having an issue with XRay results import.

To get started I tried to use at first POST https://{{companyName}}.atlassian.net/api/v1/authenticate with generated clientID and clientSecret

(folliowing the documentation: https://confluence.xpand-it.com/display/XRAYCLOUD/Authentication+-+REST)

 

Error response is 404 ( <h1>Oops, you&#39;ve found a dead link.</h1>)

Maybe I'm using incorrect base URL? What could go wrong?

2 answers

1 accepted

2 votes
Answer accepted

Issue resolved: 
incorrect URL was used, simply:

POST https:// https://xray.cloud.xpand-it.com/api/v1/authenticate should be used with generated client ID & sected.

How to use Client ID and Secret?


curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "xxxxxxxxxxxxxxx","client_secret": "xxxxxxxxxxxxxx" }' https://xray.cloud.xpand-it.com/api/v1/authenticate

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

688 views 7 23
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you