schemas

Create a schema

Define a new schema for a linked collection. When creating a schema with this endpoint, ensure that the JSON payload is completely unescaped. Incorrectly escaped JSON formats can lead to errors.

post/groups/{groupId}/apps/{appId}/schemas

Request body

relationshipsSchemaRelationships

Relationships to foreign collections. Each field name is a property in the schema. The corresponding value is a relationship definition for that field.

Response

Ok

_idstring required

Changes

Changed in 2 of the 50 revisions of this API.333

  • v34d3b5277aa3111See the full diff
    • removed the enum value undefined of the request property /////

      request-property-enum-value-removed

    • added the new null enum value to the request property /////

      request-property-enum-value-added

  • v3e2240dd053bd232See the full diff
    • added subschema #1 to the request body allOf list

      request-body-all-of-added

    • the request's body type changed from object to no type

      request-body-type-changed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog