mirror of https://github.com/grafana/grafana.git
				
				
				
			Merge pull request #12502 from Nexucis/feature/api-doc-improve
Fix HTTP-API admin doc
This commit is contained in:
		
						commit
						e8ee1be5e4
					
				| 
						 | 
					@ -36,11 +36,10 @@ HTTP/1.1 200
 | 
				
			||||||
Content-Type: application/json
 | 
					Content-Type: application/json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
"DEFAULT":
 | 
					  "DEFAULT": {
 | 
				
			||||||
{
 | 
					    "app_mode":"production"
 | 
				
			||||||
  "app_mode":"production"},
 | 
					  },
 | 
				
			||||||
  "analytics":
 | 
					  "analytics": {
 | 
				
			||||||
  {
 | 
					 | 
				
			||||||
    "google_analytics_ua_id":"",
 | 
					    "google_analytics_ua_id":"",
 | 
				
			||||||
    "reporting_enabled":"false"
 | 
					    "reporting_enabled":"false"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
| 
						 | 
					@ -195,15 +194,16 @@ HTTP/1.1 200
 | 
				
			||||||
Content-Type: application/json
 | 
					Content-Type: application/json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  "user_count":2,
 | 
					  "users":2,
 | 
				
			||||||
  "org_count":1,
 | 
					  "orgs":1,
 | 
				
			||||||
  "dashboard_count":4,
 | 
					  "dashboards":4,
 | 
				
			||||||
  "db_snapshot_count":2,
 | 
					  "snapshots":2,
 | 
				
			||||||
  "db_tag_count":6,
 | 
					  "tags":6,
 | 
				
			||||||
  "data_source_count":1,
 | 
					  "datasources":1,
 | 
				
			||||||
  "playlist_count":1,
 | 
					  "playlists":1,
 | 
				
			||||||
  "starred_db_count":2,
 | 
					  "stars":2,
 | 
				
			||||||
  "grafana_admin_count":2
 | 
					  "alerts":2,
 | 
				
			||||||
 | 
					  "activeUsers":1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -340,4 +340,4 @@ HTTP/1.1 200
 | 
				
			||||||
Content-Type: application/json
 | 
					Content-Type: application/json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{state: "new state", message: "alerts pause/un paused", "alertsAffected": 100}
 | 
					{state: "new state", message: "alerts pause/un paused", "alertsAffected": 100}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue