VisibilityContractDetails Object
Contains information about a group's visibility of a specific resource.
This object is used by the following operations:
- POST /api/apis/versions/{APIVersionID}/viewers
- PUT /api/apis/versions/{APIVersionID}/viewers/{ViewerID}
- GET /api/apis/versions/{APIVersionID}/viewers/{ViewerID}/scope
The properties included in the VisibilityContractDetails object are listed below.
| Property | Type | Description |
|---|---|---|
| ResourceID | string | The unique ID for the resource for which visibility contract information is being returned. |
| ResourceType | string | Indicates the resource type for the ResourceID; for example, if the ResourceType is APIVersion, the ResourceID is an APIVersionID. |
| ViewerID | string | Unique ID for the group for whom visibility information is being returned. |
| ViewerType | string | Indicates the type for the ViewerID. The only valid value is group. |
| RestrictedScope | boolean | Indicates whether the specified viewer has restricted scope for the specified resource. |
| License | License | Contains information about an API license defined for a business. |