I found an error with the Looker API Swagger Schema Definition (API v3.1) for the GET /folders
endpoint. The id
field in the Swagger schema is string
, however the data returned is integer
.
Swagger Schema:
"Folder": {
"x-looker-status": "beta",
"required": [
"name",
"parent_id"
],
"properties": {
"looks": {
"items": {
"$ref": "#/definitions/LookWithDashboards"
},
...
"id": {
"readOnly": true,
"description": "Unique Id",
"x-looker-nullable": false,
"type": "string"
},
....
Data returned from API GET request:
{
"child_count": 10,
"content_metadata_id": 1,
"creator_id": null,
"external_id": null,
"id": 5,
"is_embed": false,
"is_embed_shared_root": false,
"is_embed_users_root": false,
"is_personal": false,
"is_personal_descendant": false,
"is_shared_root": true,
"is_users_root": false,
"name": "Shared",
"parent_id": null
}
It seems the Swagger definition for this endpoint needs to be updated.
Is this the correct forum to log these type of bugs?