Join BoxWorks in San Francisco Nov 12-13! Keynotes, product demos, and Box Master Classes. Reserve your spot!

API Not Showing "co-owner" Content

Answered
New post

Comments

5 comments

  • Partnerize Integrations

    The same applies to collections as well. I have added the shared folder to a collection, and called the items endpoint for that collection. The "entries" node returns a 0 element array. However, the "total_count" shows a int of 1.

    stdClass Object
    (
        [total_count] => 1
        [entries] => Array
            (
            )
        [limit] => 100
        [offset] => 0
    )

    0
    Comment actions Permalink
  • dandennhardt

    Hi there! Does the folder for which you are a co-owner belong to a different enterprise than your service account by chance? If so, this may be a function of attempting to use the 'As-User' capability on content owned by an external enterprise.

    0
    Comment actions Permalink
  • Partnerize Integrations

    Hi dandennhardt. Yes, the main "owner" of the folder is from another enterprise. Do you know if this makes it not possible to achieve?

    0
    Comment actions Permalink
  • dandennhardt

    I don't believe there is a way to apply the impersonation (As-User) capability to content in an enterprise outside of your own.

    This constraint is in place as a manner of privacy. I.e. if an external party invites a user within your enterprise to collaborate - it establishes a trust relationship between the external party and your user. However, that relationship does not extend to administrators or others in your user's enterprise. Put simply - I trust the user I invited to collaborate on this data, I don't *implicitly* trust his/her colleagues.

    1
    Comment actions Permalink
  • Partnerize Integrations

    Thanks. This is what I was not hoping for.  I do appreciate you replying, and confirming where I was heading.

    0
    Comment actions Permalink

Please sign in to leave a comment.