跳至主要内容

Schema and instance inspection

Inspection endpoints offer detailed views of the schemas and instances in your project. They let you perform operations to understand how your schema resources relate to other schema resources and what data resides in your instances. The endpoints help you understand the structure of your schema and data. They are particularly helpful for performing deletion operations and knowing as much as possible about the consequences of the deletions.

Inspecting containers

The DMS API exposes an endpoint for inspecting containers with these operations:

  • involvedViews: Retrieve all views that map a container.
  • totalInvolvedViewCount: Retrieve a count of all views that map a container, optionally including views unavailable to the current user.

Inspecting instances

The DMS API also exposes an endpoint for inspecting instances with these operations:

  • involvedContainers: Retrieve the containers in which an instance has data.
  • involvedViews: Retrieve the views that map the containers in which an instance has data.