Entities

Create an entity

post/mapi/project/{projectId}/entities

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/mapi/project/{projectId}/entities
  • Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)

Path parameters

projectIdinteger required

Request body

namestring required
pluralstring
descriptionstring
public_readboolean

Enable public read-only access without authentication (default: false)

Example request

{
  "name": "blogpost",
  "plural": "blogposts",
  "properties": [
    {
      "name": "title",
      "length": 255
    }
  ]
}

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.