NSX-T Data Center REST API

Get resources shared with a given project

Get the list of resource shared with a given project.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/shared-with-me
Request Headers:
n/a
Query Parameters:
SharedResourceListRequestParameters+
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SharedResourceListResult+

Example Response:

{ "results": [{ "resource_objects": [{ "resource_path": "/infra/domains/domain1/groups/group1", "include_children": false }], "resource_type": "SharedResource", "id": "backup", "display_name": "backup", "path": "/infra/shares/new-share/resources/backup", "relative_path": "default", "parent_path": "/infra/shares/new-share", "unique_id": "a017eede-2ea0-4f97-8cc5-b82ec8ca0a55", "realization_id": "a017eede-2ea0-4f97-8cc5-b82ec8ca0a55", "marked_for_delete": false, "overridden": false, "_create_time": 1657621124233, "_create_user": "admin", "_last_modified_time": 1657621124233, "_last_modified_user": "admin", "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }] }

Required Permissions:

read

Feature:

policy_share

Additional Errors: