Can I extract all the content I can see but for which I am not the owner?

There are two ways of accessing content. The first is when you DIRECTLY receive them because they have been shared to your user. If you want to retrieve all these content you can use the findByProperties web service, filling the body with the following JSON:

{
    "client": {
        "clientId": ""
    },
    "criteria": {
        "acl": {
            "onContext": "DIRECT",
            "rules": [
                "!_BELONGS_TO"
            ]
        }
    },
    "offset": 0,
    "numberOfresults": 50
}

Otherwise you might access content because they have been published into folders for which you have the "read" access; if this is the case you can use the following JSON:

{
    "client": {
        "clientId": ""
    },
    "criteria": {
        "acl": {
            "onContext": "DERIVED",
            "rules": [
                "!_BELONGS_TO"
            ]
        }
    },
    "offset": 0,
    "numberOfresults": 50
}

If you don't need any kind of distinction but you just want to extract all the content you have right to see and for which you are not the owner you can use the following JSON:

{
    "client": {
        "clientId": ""
    },
    "criteria": {
        "acl": {
            "rules": [
                "!_BELONGS_TO"
            ]
        }
    },
    "offset": 0,
    "numberOfresults": 50
}
Was this article helpful?
0 out of 0 found this helpful

Have any question?

Open a ticket
Comments