Actions
Bug #7131
closedThe select parameter in the nodes API is not correctly documented
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The api doc for nodes says for the select parameter: "What kid of data we wnat to include. Here we can get policy servers/relay by setting 'nodeAndPolicyServer' Default value: node"
But the default seems to include policy servers anyway:
curl -k -X GET -H "Content-Type: application/json;charset=utf-8" --header "X-API-Token: xedZNGsc6rxWXnHMKDPD13OTuoYPBXUZ" --header "X-API-Version: latest" "https://127.0.0.1:8381/rudder/api/nodes" { "nodes": [ { "architectureDescription": "x86_64-linux-thread-multi", "hostname": "agent1.rudder.local", "id": "7d74d611-8421-4b7d-9924-3dfeef01f915", "ipAddresses": [ "10.0.2.15", "127.0.0.1", "192.168.43.3" ], "lastInventoryDate": "2015-08-25 16:04", "machine": { "id": "2aa672d7-7d11-e034-aa4b-efe22f1d4e18", "manufacturer": "innotek GmbH", "provider": "vbox", "serialNumber": "0", "type": "Virtual" }, "managementTechnology": [ { "name": "CFEngine Community" } ], "os": { "fullName": "CentOS Linux release 7.0.1406 (Core)", "kernelVersion": "3.10.0-123.el7.x86_64", "name": "Centos", "type": "Linux", "version": "7.0.1406" }, "policyServerId": "root", "properties": [], "ram": 238, "status": "accepted" }, { "architectureDescription": "x86_64-linux-thread-multi", "hostname": "server.rudder.local", "id": "root", "ipAddresses": [ "10.0.2.15", "127.0.0.1", "192.168.43.2" ], "lastInventoryDate": "2015-08-19 12:55", "machine": { "id": "63a9f0ea-7bb9-8050-796b-649e85481845", "manufacturer": "innotek GmbH", "provider": "vbox", "serialNumber": "0", "type": "Virtual" }, "managementTechnology": [ { "name": "CFEngine Community" } ], "os": { "fullName": "CentOS Linux release 7.0.1406 (Core)", "kernelVersion": "3.10.0-123.el7.x86_64", "name": "Centos", "type": "Linux", "version": "7.0.1406" }, "policyServerId": "root", "properties": [ { "name": "env_type", "value": "deprovisioned" }, { "name": "utf-8 poetry", "value": "testéÀ" } ], "ram": 1498, "status": "accepted" } ] }
Updated by Alexis Mousset over 9 years ago
- Category set to API
- Target version set to 3.1.2
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.2 to 3.1.3
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.3 to 3.1.4
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.4 to 3.1.5
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.5 to 3.1.6
Updated by Jonathan CLARKE almost 9 years ago
- Translation missing: en.field_tag_list set to Quick and important
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.6 to 3.1.7
Updated by François ARMAND almost 9 years ago
- Status changed from New to In progress
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.7 to 3.1.8
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.8 to 3.1.9
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.9 to 3.1.10
Updated by François ARMAND over 8 years ago
- Status changed from In progress to New
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.10 to 3.1.11
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.11 to 3.1.12
Updated by Vincent MEMBRÉ over 8 years ago
Select parameter is used, only if query is used, guss it should be updated in the doc. Or should we should we change the beahvior ?
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from New to In progress
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder-api-doc/pull/32
Updated by François ARMAND over 8 years ago
- Subject changed from The select parameter in the nodes API has no effect to The select parameter in the nodes API is not correctly documented
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-api-doc|cfb723796a7f6e0e6fdbd307eb41a85ccb7aed6a.
Updated by Alexis Mousset over 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.12 and 3.2.5 which were released today.
- 3.1: Announce Changelog
- 3.2: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions