Describe a Table's Metadata

Description

Returns metadata for a named table in the repository. Information in the response includes the table coordinate reference system, bounding box, columns and their types.

HTTP GET URL Format

The following format is used for HTTP GET requests:


HTTP GET /tables/tablename/metadata.rep;[l=locale]
			

Parameters

For information on the parameter types listed below, see Request URL Data Types.

Parameter Type Required Description
tablename String yes The name of the table to return metadata. The table is specified by a Regex for the named table to render based on the location of the named table in the Repository. The name of the named table is defined between the /tables portion of the URL and the /metadata.rep portion of the URL. For example, to return the metadata for a named table located at /Samples/NamedTables/WorldTable in the Repository, the following URL would be used:
.../FeatureService/tables/Samples/NamedTables
/WorldTable/metadata.json;...
rep String yes The representation to be returned. Supported representation is json.
l=locale String no The locale in which to return the table information. Uses the Java Locale format consisting of an ISO two letter language code and an ISO two letter country code. If not specified then assumes server default.

Returns

Returns metadata for a named table in the repository.

Example

Returns the metadata for the table WorldTable located in the /Samples/NamedTables directory in the Repository, in the Locale English (US)


http://www.pbbi.com/rest/Spatial/FeatureService/tables/Samples/NamedTables/WorldTable/
metadata.json;l=en-US