Skip to main content
Skip table of contents

Confluence Search API

Queries the Confluence search API to find all content created by a specific user.

Datasource Type

REST Basic

Datasource URL

CODE
<URL where Confluence is running>/rest/api

Datasource User

An existing (technical) Confluence user

Datasource Password

Password of the (technical) Confluence user

Query URL

CODE
/content/search?cql=creator=:creator

Parameter Values

Usernames of existing Confluence users

Converter Example

CODE
function convert(json) {
    var result = [];
    var parsedJsonObject = JSON.parse(json);
    var current, index;
    for (index in parsedJsonObject.results) {
        if (parsedJsonObject.hasOwnProperty(index)) {
            current = parsedJsonObject[index];
            result.push({
                'Title': current.title,
                'Page ID': current.id,
                'Content Type': current.type
            });
        }
    }
    return result;
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.