Returns the list of all fields of the given dimension table

GET
api/databases/{dbid}/metadata/analytics/dimensions/{dimension}/fields
This request is used for getting the list of all fields of the given dimension table, including mandatory fields:
'Key' - Links the field to the original data in the database, for example, entity ID, numeric value of enum value, etc.
'Title' - Textual representation of the dimension table field

Request:

Argument Type Description
dbid GUID  The ID of the database
dimension String  The name of the analytics dimension 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/analytics/dimensions/Dim_TimeKey/fields
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=8d9210b3-5f3c-4db1-8038-748f67531bea
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:02:03 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Server: Microsoft-HTTPAPI/2.0
  9.  
  10. [
  11. "Key",
  12. "Title",
  13. "Id",
  14. "ModifiedStamp",
  15. "Timestamp",
  16. "Year",
  17. "QuarterOfYear",
  18. "Quarter",
  19. "MonthOfYear",
  20. "DayOfMonth",
  21. "DayOfWeek",
  22. "DayOfYear",
  23. "Date",
  24. "Month",
  25. "Week",
  26. "Hour",
  27. "Minute"
  28. ]