Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Daria Bajda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2019

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
Daria Bajda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2019

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.

Sameen Javid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 31, 2019

it worked 

Michael Angelo Layug
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 23, 2020

How to use Client ID and Secret?

0 votes
sams-pickoh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2020


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
AUG Leaders

Atlassian Community Events