Merge ~troyanov/maas:update-docs-for-node-api into maas:master

Proposed by Anton Troyanov
Status: Merged
Approved by: Anton Troyanov
Approved revision: 11c21cecd726d191b777e0d4ec04bcc768e757c5
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~troyanov/maas:update-docs-for-node-api
Merge into: maas:master
Diff against target: 16 lines (+5/-0)
1 file modified
src/maasserver/api/examples/nodes.json (+5/-0)
Reviewer Review Type Date Requested Status
Alberto Donato (community) Approve
MAAS Lander Approve
Review via email: mp+429659@code.launchpad.net

Commit message

docs(api): add example of parent property for node

To post a comment you must log in.
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b update-docs-for-node-api lp:~troyanov/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: 11c21cecd726d191b777e0d4ec04bcc768e757c5

review: Approve
Revision history for this message
Alberto Donato (ack) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/maasserver/api/examples/nodes.json b/src/maasserver/api/examples/nodes.json
2index ffcb90e..219aa05 100644
3--- a/src/maasserver/api/examples/nodes.json
4+++ b/src/maasserver/api/examples/nodes.json
5@@ -441,6 +441,11 @@
6 }
7 },
8 "storage_test_status": 2,
9+ "parent": {
10+ "system_id": "c7ebw8",
11+ "resource_uri": "/MAAS/api/2.0/machines/c7ebw8/",
12+ "__incomplete__": true
13+ },
14 "pod": {
15 "id": 5,
16 "name": "sacred-hen",

Subscribers

People subscribed via source and target branches