API Permission for Assets

Florian Ullrich January 12, 2024

Hello,

 

I'm try to access the assets with the API.

I'm using this link from the documentation:

and I always get the error code 404.
Is the endpoint incorrect or do I not have missing permissions?
Thanks, Flo

2 answers

1 accepted

0 votes
Answer accepted
Florian Ullrich January 15, 2024
Used different link:
https://api.atlassian.com/jsm/assets/workspace/{WorkspaceID}/v1/object/{objectID}
now I'm getting Data
Dan W
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2024

What authentication type did you have to use to access that API?  Does it use the bearer token or Basic Auth?

Vivian Escalante
Contributor
June 27, 2024

@Florian Ullrich Would love to know the answer to @Dan W 's question. I might be getting stuck here too. Thanks.

Yaroslav Bondarets August 9, 2024

@Vivian Escalante @Dan W it works for me only with Basic Auth. But there are good news, Atlassian Team is going to add JWT auth support as well
https://jira.atlassian.com/browse/JSDCLOUD-12080

0 votes
Carla Ann Rowland
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2024

Hi, I don't have my cloud instance up but I know on Data Center there is an Asset console for entering code. You do need permissions as detailed here: https://developer.atlassian.com/cloud/assets/assets-rest-api-guide/workflow/.

The link to the error is that your cloud subscription is expired. You need to be signed in with active license.

Florian Ullrich January 14, 2024

Hey Carla, 

 

the problem is that i can use the API for tickets and this works perfectly fine.

I also asked the Admin, if he could try the link and he also gets the 404. 

So the Endpoint is not correct I guess. Is there a way to configurate this specific endpoint?

 

Thanks, Flo

Steve van Niman October 9, 2024

Flo,

Did you ever get an answer?

Thanks,

Steve

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events