If I want to get a list of tools for a space, I can use this API method:
If I use that API method for a child space, it is returning a single tool, and not an array.
{
"id": "redacted",
"space_id": "redacted",
"active": true,
"url": "redacted",
"number": 1,
"tool_id": 23,
"type": "WikiTool",
"created_at": "2019-02-22T17:18:04.000Z",
"team_permissions": 3,
"watcher_permissions": null,
"public_permissions": null,
"parent_id": null,
"menu_name": "Wiki",
"name": "redacted",
"code_search_supported": false,
"user_permission": 3
}
If I call the same API for a parent tool, the response is an array.
This is causing a problem with the TestRail integration with Assembla when trying to integrate with a child space.