POST
/
data-models
curl --request POST \
  --url https://api.gateway.tech/data-models \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "schema": {},
  "tags": [
    "<string>"
  ],
  "title": "<string>"
}'
{
  "created_at": "<string>",
  "created_by": "<string>",
  "deleted_at": "<string>",
  "description": "<string>",
  "id": 123,
  "schema": {},
  "tags": [
    "<string>"
  ],
  "title": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and the JWT token.

Body

application/json
Data Model
description
string
required
schema
object
required
title
string
required
tags
string[]

Response

201 - application/json
Created
created_at
string
required
created_by
string
required
description
string
required
id
integer
required
schema
object
required
title
string
required
updated_at
string
required
deleted_at
string
tags
string[]