GET v1/Dashboards/Gadgets?projectId={projectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of Gadget
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

type

enmGadgetType

None.

filterId

integer

None.

projectIds

Collection of integer

None.

chart

ChartEnt

None.

isPublic

boolean

None.

statusArchive

enmStatusArchive

None.

Response Formats

application/json, text/json, application/vnd.team.do+json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "type": 0,
    "filterId": 3,
    "projectIds": [
      1,
      2
    ],
    "chart": {
      "id": 1,
      "type": 0,
      "axisLabelsTitle": "sample string 2",
      "axisLabelsFieldId": 3,
      "axisValuesTitle": "sample string 4",
      "axisValuesTotalType": 0,
      "axisValuesFieldId": 5
    },
    "isPublic": true,
    "statusArchive": 0
  },
  {
    "id": 1,
    "name": "sample string 2",
    "type": 0,
    "filterId": 3,
    "projectIds": [
      1,
      2
    ],
    "chart": {
      "id": 1,
      "type": 0,
      "axisLabelsTitle": "sample string 2",
      "axisLabelsFieldId": 3,
      "axisValuesTitle": "sample string 4",
      "axisValuesTotalType": 0,
      "axisValuesFieldId": 5
    },
    "isPublic": true,
    "statusArchive": 0
  }
]

text/html

Sample:
[{"id":1,"name":"sample string 2","type":0,"filterId":3,"projectIds":[1,2],"chart":{"id":1,"type":0,"axisLabelsTitle":"sample string 2","axisLabelsFieldId":3,"axisValuesTitle":"sample string 4","axisValuesTotalType":0,"axisValuesFieldId":5},"isPublic":true,"statusArchive":0},{"id":1,"name":"sample string 2","type":0,"filterId":3,"projectIds":[1,2],"chart":{"id":1,"type":0,"axisLabelsTitle":"sample string 2","axisLabelsFieldId":3,"axisValuesTitle":"sample string 4","axisValuesTotalType":0,"axisValuesFieldId":5},"isPublic":true,"statusArchive":0}]