Merge pull request #140 from influxdata/feature/tr-default-source

Add Default param to Source
pull/10616/head
Chris Goller 2016-09-28 13:22:26 -05:00 committed by GitHub
commit 665f85d36e
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,10 @@ swagger:model Source
*/
type Source struct {
/* Indicates whether this source is the default source
*/
Default bool `json:"default,omitempty"`
/* Unique identifier representing a specific data source.
Read Only: true

View File

@ -764,6 +764,9 @@ definitions:
type: string
format: url
description: URL for the time series data source backend (e.g. http://localhost:8086)
default:
type: boolean
description: Indicates whether this source is the default source
links:
type: object
properties: