Returns the list of all entity-types

GET
api/databases/{dbid}/metadata/entities
This request is used to get the list of all entity-types. For example, the following entity-types are present in any database:
Users - list of users registered in the system
Folders - tree of folders which is used for grouping other entities
Files - list of files which can be referred to with help of table 'Links'.
etc.

Request:

Argument Type Description
dbid GUID  The ID of the database
Query parameter Required Default Options Description
all   1/0  Returns full metadata

Response:

Content

Type name Description
Object 

Request:
  1. GET api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/metadata/entities
  2. Accept: text/json
  3. Accept-Encoding: deflate,deflate
  4. Authorization: Basic YWRtaW46YWRtaW4=
  5. Host: localhost:6496
Response:
  1. Transfer-Encoding: chunked
  2. Content-Encoding:
  3. Cache-Control: no-store
  4. Content-Type: text/json; charset=utf-8
  5. Date: Fri, 21 Dec 2012 15:28:29 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Set-Cookie: sid=2cceebf3-0816-4a65-bd9d-90d88e4a3aed; path=/;
  9. Server: Microsoft-HTTPAPI/2.0
  10.  
  11. [
  12. "EntityTemplates",
  13. "EmailTemplates",
  14. "Countries",
  15. "Roles",
  16. "PermissionsEntity",
  17. "PermissionsStorageRegistry",
  18. "Subscriptions",
  19. "Files",
  20. "Users",
  21. "Folders",
  22. "Project",
  23. "Task",
  24. "Appointments"
  25. ]