PostliftDevelopers
Documentation menu
API reference

Sources

The objects, fields and constraints behind the API.

FieldType & constraints
postsrequiredobject[]
Nested fields ↓
FieldType & constraints
idrequiredstring
textrequiredstring
createdAtrequiredstring
langrequiredstring
replyrequiredboolean | null
truncatedrequiredboolean
View JSON schema
{
  "type": "object",
  "properties": {
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "lang": {
            "type": "string"
          },
          "reply": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "text",
          "createdAt",
          "lang",
          "reply",
          "truncated"
        ],
        "additionalProperties": true
      }
    }
  },
  "required": [
    "posts"
  ],
  "additionalProperties": true
}
← All data models