VisibilityContract Object

Contains information about a visibility contract between a resource and a viewer. It includes the API version, the group that has visibility, and the visibility permissions—one or more specific licenses, or unlimited visibility.

This object is used by the following operations:

The properties included in the VisibilityContract object are listed below.

Property Type Description
ResourceID string

The unique ID for a specific resource; for example, the ScopeID or the APIVersionID.

In the context of POST /api/apis/versions/{APIVersionID}/viewers it is the APIVersionID.

ViewerID string The GroupID of a group that has visibility permission to view the API.
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.
LicenseID LicenseID The unique ID for a specific license.