2.0
Table Of Contents
- VMware vFabric Data Director API Programming Guide
Refreshing a Database or Catalog 7
This call will refresh a catalog or a database from its parent database’s current state.
Refreshing a Database
In this example, we assume that you have a database that was cloned from another database, and the ID of the
database clone is 99.
Here is an example of the REST API request to refresh a database from its parent database’s current state, using
these assumptions.
POST https://example.aurora.com\
/datadirector/api/database\
/99?action=refresh
Content-Type : application/json
Authorization : Basic YWRtaW5AYXVyb3JhLnZtd2FyZS5jb206Y2xvdWRibXM=
Accept : application/json
The following is an example of the corresponding response. This response includes a task in the header that
tracks the refresh.
202 Accepted
location : https://example.aurora.com\
/datadirector/api/task/79
Refreshing a Catalog
In this example, we assume that you have a catalog that was cloned from a database, and the ID of the catalog
is 98.
Here is an example of the REST API request to refresh a catalog from its parent database’s current state, using
these assumptions.
POST https://example.aurora.com\
/datadirector/api/catalog\
/98?action=refresh
Content-Type : application/json
Authorization : Basic YWRtaW5AYXVyb3JhLnZtd2FyZS5jb206Y2xvdWRibXM=
Accept : application/json
VMware, Inc.
31