Skip to content

Commit 14d56d3

Browse files
committed
Fix broken links in api doc.
1 parent 2e2a31b commit 14d56d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The resource name for Docker container information is as follows:
1616

1717
`/api/v1.2/docker/<Docker container name or blank for all Docker containers>`
1818

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)).
2020

2121
## Version 1.1
2222

@@ -28,7 +28,7 @@ The resource name for subcontainer information is as follows:
2828

2929
`/api/v1.1/subcontainers/<absolute container name>`
3030

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/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)).
3232

3333
## Version 1.0
3434

@@ -58,7 +58,7 @@ The container information is returned as a JSON object containing:
5858
- Detailed resource usage statistics of the container for the last `N` seconds (`N` is globally configurable in cAdvisor)
5959
- Histogram of resource usage from the creation of the container
6060

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)
6262

6363
### Machine Information
6464

@@ -75,4 +75,4 @@ This resource is read-only. The machine information is returned as a JSON object
7575
- Network devices: mac addresses, MTU, and speed (if available)
7676
- Machine topology: Nodes, cores, threads, per-node memory, and caches
7777

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

Comments
 (0)