API reference

GET /api/v1/schema

Field definitions for each collection.

Parameters

This endpoint takes no parameters.

Response

Content-Type application/json. Cache-Control public, max-age=3600.

{
  "object": "list",
  "data": [
    {
      "name": "events",
      "fields": [
        {
          "name": "id",
          "type": "string",
          "nullable": false
        },
        {
          "name": "checksum",
          "type": "json",
          "nullable": false
        },
        {
          "name": "content_type",
          "type": "float",
          "nullable": true
        },
        {
          "name": "name",
          "type": "json",
          "nullable": false
        }
      ]
    },
    {
  ...

Example

curl -s https://api.barmalei.com/api/v1/schema