Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/api-tdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,12 @@ class TDXApi {

/**
* Gets all access the authenticated account has to the given resource id.
*
* @param {string} resourceId - The id of the resource whose access is to be retrieved.
* @param {object} [filter] - A mongodb filter definition.
* @param {object} [projection] - A mongodb projection definition, can be used to restrict which properties are
* returned thereby limiting the payload.
* @param {object} [options] - A mongodb options definition, can be used for limit, skip, sorting etc.
* @return {ResourceAccess[]} - Array of ResourceAccess objects.
* @example
* api.getResourceAccess(myResourceId)
Expand Down