You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The resource name for Docker container information is as follows:
16
16
17
17
`/api/v1.2/docker/<Docker container name or blank for all Docker containers>`
18
18
19
-
The Docker name can be either the UUID or the short name of the container. It returns the information of the specified container(s). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](../info/container.go)).
19
+
The Docker name can be either the UUID or the short name of the container. It returns the information of the specified container(s). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/v1/container.go](../info/v1/container.go)).
20
20
21
21
## Version 1.1
22
22
@@ -28,7 +28,7 @@ The resource name for subcontainer information is as follows:
Where the absolute container name follows the lmctfy naming convention (described bellow). It returns the information of the specified container and all subcontainers (recursively). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](../info/container.go)).
31
+
Where the absolute container name follows the lmctfy naming convention (described bellow). It returns the information of the specified container and all subcontainers (recursively). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/v1/container.go](../info/v1/container.go)).
32
32
33
33
## Version 1.0
34
34
@@ -58,7 +58,7 @@ The container information is returned as a JSON object containing:
58
58
- Detailed resource usage statistics of the container for the last `N` seconds (`N` is globally configurable in cAdvisor)
59
59
- Histogram of resource usage from the creation of the container
60
60
61
-
The actual object is the marshalled JSON of the `ContainerInfo` struct found in [info/container.go](../info/container.go)
61
+
The actual object is the marshalled JSON of the `ContainerInfo` struct found in [info/v1/container.go](../info/v1/container.go)
62
62
63
63
### Machine Information
64
64
@@ -75,4 +75,4 @@ This resource is read-only. The machine information is returned as a JSON object
75
75
- Network devices: mac addresses, MTU, and speed (if available)
76
76
- Machine topology: Nodes, cores, threads, per-node memory, and caches
77
77
78
-
The actual object is the marshalled JSON of the `MachineInfo` struct found in [info/machine.go](../info/machine.go)
78
+
The actual object is the marshalled JSON of the `MachineInfo` struct found in [info/v1/machine.go](../info/v1/machine.go)
0 commit comments