Fellow sufferers!
I want to do the following:
1) Mention a subset of the space members, on a particular page.
2) Via REST API, get a list of all the members who are mentioned on that page.
Please explain if this is possible, and what are the necessary calls?
BW Peter Bunde Hansen
I assume you are talking about Confluence and pages there, correct? I got a bit confused by the "Jira" category and the "jira-rest-api" tag.
So if I understood you correctly, you would manually execute step 1 and mention some people on a particular page and search for REST API ways in order to determine who is mentioned on a page.
You could simply get the content of a page via the confluence REST API and then search the body for a pattern which matches mentioned users. The corresponding call would probably be in the form <BASE_URL>/rest/api/content/PAGE_ID?expand=body.storage
For further reference, you can check out the confluence REST API examples or REST API reference.
Cheers,
Matthias.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.