Add read-only props & fix organization id to be string

pull/2656/head
Jared Scheib 2017-12-22 16:46:01 -08:00
parent de9970cc1a
commit b5c6856d01
1 changed files with 5 additions and 3 deletions

View File

@ -2651,7 +2651,8 @@
"description": "Self link mapping to this resource", "description": "Self link mapping to this resource",
"format": "url" "format": "url"
} }
} },
"readOnly": true
}, },
"name": { "name": {
"type": "string", "type": "string",
@ -2667,7 +2668,7 @@
], ],
"example": { "example": {
"defaultRole": "viewer", "defaultRole": "viewer",
"id": 1, "id": "1",
"links": { "links": {
"self": "/chronograf/v1/organizations/1" "self": "/chronograf/v1/organizations/1"
}, },
@ -2689,7 +2690,8 @@
"description": "Self link mapping to this resource", "description": "Self link mapping to this resource",
"format": "url" "format": "url"
} }
} },
"readOnly": true
}, },
"organizations": { "organizations": {
"type": "array", "type": "array",