5.1 Getting the Metadata of an Existing Collection

You use a GET catalog operation to get all of the metadata for a collection, as a JSON document.

Example 5-1 Getting the Metadata of a Collection

This example shows the result of using operation GET catalog on the collection (named MyCollection) with the default configuration created in Creating a Document Collection with SODA for REST. (Replace localhost with your host name and 8080 with the appropriate port number.)

curl -X GET http://localhost:8080/ords/database-schema/soda/latest/metadata-catalog/MyCollection

The default metadata for a collection is presented in Default Collection Metadata in Oracle Database Introduction to Simple Oracle Document Access (SODA).

Related Topics