Find out the name of the space by url

Fred Kruger January 28, 2021

Hey! I have a link to the page https://confluence-url.com/x/eaY1Ag
May I know the space from this link?
Maybe you can use api
Thank you!

3 answers

3 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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 28, 2021

The only way to do this from a short url is to visit the page and read it for the name. 

Technically you could work it out by de-encoding the eaY1Ag, but that would mean reverse-engineering the algorithm used to generate it, which is a LOT more complicated than just poking Confluence with a script or browser.

0 votes
Answer accepted
Fred Kruger February 17, 2021

Thanks for your thoughts, for my problem I found a different solution, I executed a request for this url in response, received a readable url from the page id and substituted it in the api request and then received the name of the space. It sounds complicated, but it works!

0 votes
Answer accepted
KAGITHALA BABU ANVESH
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.
January 28, 2021

Hello @Fred Kruger ,

This is one of my space Home page.

https://wiki.abc.com/display/AB/xyz+Home

As per the above "AB" is my space Key.

 

This is your : https://confluence-url.com/x/eaY1Ag

As i compared with mine , i felt  "x" is space key.

 

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events