Returns the list of all fields of the given database table

GET
api/databases/{dbid}/metadata/tables/{table}/fields
This request is used for getting the list of all fields of the given database table. For example, in the list of database table fields there is a mandatory field 'ID' (Id)

Request:

Argument Type Description
dbid GUID  The ID of the database
table String  The name of the database table
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/tables/Notifications/fields
  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:35:14 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Set-Cookie: sid=20715d87-29dc-429e-9a86-4b3c60cd8a45; path=/;
  9. Server: Microsoft-HTTPAPI/2.0
  10.  
  11. [
  12. "Id",
  13. "RecipientUser",
  14. "DatabaseId",
  15. "NotificationName",
  16. "New",
  17. "Tag",
  18. "Urgent",
  19. "Tags",
  20. "CreatorUser",
  21. "EventKind",
  22. "Subject",
  23. "Description",
  24. "CreatedTime",
  25. "Read",
  26. "Url",
  27. "ModifiedStamp"
  28. ]