Objectivity REST : Schema Resources : GET /v1/schema/namespace/{name}
GET /v1/schema/namespace/{name}
GET /v1/schema/namespace/{name}
Returns the schema representations for all classes in the specified namespace.
Headers 
 
Response Format
Accept:application/json
URL Parameters 
fdAlias
Provides the alias of a federated database that is included in the REST server’s configuration file; see Configuring the REST Server in Objectivity/DB Administration.
Curl Example 
curl -X GET -H "Accept:application/json" localhost:8185/v1/schema/namespace/FleetData
Response 
The returned representation shows the schema for each class in the given namespace, starting with the class name and the class number of each. The example below shows an excerpt of the returned representation of the Customer class from the rental fleet example.
Some of the fields are for informational purposes and are not applicable when posting schema; see Using Retrieved Schema Representations.
Status: 200 OK
{
  "className": "FleetData.Customer",
  "classNumber": "1000001",
  "shapeNumber": "1000001",
  "isReferenceable": true,
  "isInternal": false,
  "isDeleted": false,
  "superClass": null,
  "attributes": [
    {
      "attributeName": "rewardPoints",
      "logicalType": "integer",
      "encoding": "unsigned",
      "storage": "b32"
    },
    {
      "attributeName": "firstName",
      "logicalType": "string",
      "encoding": "utf8",
      "storage": "variable"
    },
    {
      "attributeName": "lastName",
      "logicalType": "string",
      "encoding": "utf8",
      "storage": "variable"
    },
    ...