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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How do I access the profile information using the Rest API?

In our user profiles we can add skills that we have and our current and last areas of work to our profile.

My goal is to go over all the user profiles and to extract that information. I can reach my personal site using the rest API quite well, but can't seem to get to the profile site.

I've tried

  • /rest/mobile/1.0/profile/"username"
  • /rest/api/user?username="username"

But it does not give me every information on the site.

Name, department, mail adress is all there, but that's about it. No expertise sections. Is there any way to do this?

Or are those fields somehow blocked by default?

 

2 answers

Hi Hugo,

I think the REST API built into our app User Profiles for Confluence.
It gives read-only to all profile elements.

With our app it is possible to create all kinds of profile fields which can also be synchronized using LDAP.

We tried to keep as close as possible to the REST-Guidelines of Atlassian. So if you are familiar with the REST API of Confluence, it should be quite easy for you to consume our API.
With it, you can get information about a specific element or even the list of options available in that element. 
And you can also get the data from the profile element of a specific user.
For more information see our documentation on it.

If you have any question or need help feel free to contact us.

We hope to hear from you soon!

Kind Regards

Julia
Communardo Support

0 votes
Davin Studer Community Leader Nov 10, 2020

An expertise field is not a default part of user profiles in Confluence. Do you by chance have an app that is adding that functionality? If so, you would need to see if the app has a REST APIthat exposes that data. Atlassian released APIs will not include data from third party apps.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
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