Get a list of DataSharingConstraints

get

/20180828/dataSharingConstraints

This path retrieves a list of DataSharingConstraints.

Request

Query Parameters
  • The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
  • The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingAgreement.
  • The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the DataSharingConstraint.
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match the given display name exactly.
  • A filter to return only the resources that match the given lifecycle state. The state value is not case-sensitive.
  • Minimum Value: 1
    Maximum Value: 1000
    For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
    Default Value: 10
  • Minimum Length: 1
    For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
  • The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
    Default Value: timeCreated
    Allowed Values: [ "timeCreated", "displayName" ]
  • The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    Allowed Values: [ "ASC", "DESC" ]
Header Parameters
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Back to Top

Response

Supported Media Types

200 Response

A page of DataSharingConstraintSummary objects.
Headers
  • For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DataSharingConstraintCollection
Type: object
The results of a DataSharingConstraint search. This search contains both DataSharingConstraintSummary items and other information, such as metadata.
Show Source
Nested Schema : items
Type: array
A list of DataSharingConstraints.
Show Source
Nested Schema : DataSharingConstraintSummary
Type: object
A summary of information about a DataSharingConstraint.
Show Source
Nested Schema : constraints
Type: object
Maximum Number of Properties: 50
Additional Properties Allowed
Show Source
A map of data-sharing constraint names and their boolean value. For example, `{"ADT-A01": true, "ADT-A08": false}`
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations": {"CostCenter": "42"}}`
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
Nested Schema : systemTags
Type: object
Additional Properties Allowed
Show Source
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a system tag key and value, scoped to a namespace. Example: `{"free-tier-retained": "true"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.

401 Response

Unauthorized
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

An error has occurred.
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top