data api resource permissions - movabletype/Documentation GitHub Wiki

Permissions resource

Property Name Type Data Type Database Column Private Read Only Description
blog Object Blogs Y The blog of this permission. If the scope of this permission is system, this value is null.
blog.id value unsigned int mt_blog.blog_id Y The ID of the blog that contains this permission.
permissions ARRAY string Y A list of permissions list. This list has excluded permissions specified by 'permission_restrictions'.

Example

System scope

{
  "blog": null,
  "permissions": [
    "administer",
    "create_blog",
    "create_website",
    "edit_templates",
    "manage_plugins",
    "view_log"
  ]
}

Blog scope

{
  "blog": {
    "id": "2"
  },
  "permissions": [
    "create_post"
  ]
}
⚠️ **GitHub.com Fallback** ⚠️