Entities

Update entity metadata

Update entity metadata such as plural name, description, or public_read access. Set public_read to true to make entity data accessible without authentication via /mapi/public/{projectId}/{entity}.

put/mapi/project/{projectId}/entities/{entityName}

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/mapi/project/{projectId}/entities/{entityName}
  • 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
entityNamestring required

Request body

pluralstring

New plural form of entity name

descriptionstring

New description

public_readboolean

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

Example request

{
  "plural": "blogposts"
}

Response

Updated

Changes

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