The "tablesmeta" web service provides meta data about all tables of the specified data source.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/tables with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: a unique id of a datasource
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindAllTablesJsonActor:StartAllTablesResponseEvent for FindAllTablesRequest:FindAllTablesRequest{klass=AbstractTableMetaFinder, sourceName=e5d3f935-112a-427a-8e6b-0e24ba84021b, sourceType=mongo, query=null}"
},
"collection": {
"schema": "v1/schema/int/entitycollection",
"items": [
{
"id": "10c71ae9-be6b-46de-8fcf-9b1d7204982c",
"content": {
"name": "PDEN_VOL_SUMARRY-with nan"
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/table",
"href": "/ivaap/api/ds/mongo/v1/sources/e5d3f935-112a-427a-8e6b-0e24ba84021b/tables/10c71ae9-be6b-46de-8fcf-9b1d7204982c",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Table",
"name": "Table",
"relEntity": "v1/schema/int/table",
"href": "/ivaap/api/ds/mongo/v1/sources/e5d3f935-112a-427a-8e6b-0e24ba84021b/tables/10c71ae9-be6b-46de-8fcf-9b1d7204982c",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": true
}
]
},
{
"id": "86fd910c-a7ef-4868-abdc-7b7db07d78de",
"content": {
"name": "steamturbinedata SM"
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/table",
"href": "/ivaap/api/ds/mongo/v1/sources/e5d3f935-112a-427a-8e6b-0e24ba84021b/tables/86fd910c-a7ef-4868-abdc-7b7db07d78de",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Table",
"name": "Table",
"relEntity": "v1/schema/int/table",
"href": "/ivaap/api/ds/mongo/v1/sources/e5d3f935-112a-427a-8e6b-0e24ba84021b/tables/86fd910c-a7ef-4868-abdc-7b7db07d78de",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": true
}
]
}
],
"total": 2
}
}
The items section is a collection of all tables meta data.
Each meta data is identified by id entry.
In content section for each table meta data
name is the name of a table
The links section provides HATEOAS links to the "Table Data Web Service (v3)" service.