Skip to content

Commit 5e03fc4

Browse files
committed
removed examples to improve maintainability of document
1 parent c2e83bf commit 5e03fc4

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

landscape/explanation/glossary/distribution.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ The following is a list of example Landscape API methods that need a distributio
99

1010
- **Repositories**: These methods allow you to manage different repositories. For more information, see the [repository methods](https://ubuntu.com/landscape/docs/api-repositories)
1111

12-
- **Reporting Methods**: These methods allow you to do reporting on selections of computers. They usually take the distribution as a query parameter. For example, here's how to use the `GetCSVComplianceData` method:
13-
```shell
14-
```
15-
In this case, you reference the distribution by its version number. Read about [reporting API methods](https://ubuntu.com/landscape/docs/api-reporting) for more information.
12+
- **Reporting Methods**: These methods allow you to do reporting on selections of computers. They usually take the distribution as a query parameter. Read about [reporting API methods](https://ubuntu.com/landscape/docs/api-reporting) for more information.
1613

17-
- **Computers**: The methods under Computers help you retrieve computers and do basic operations such as tagging on them. With these methods, you can reference the distribution with either the version number or the code name. Here's an example of the `AddTagsToComputers` method:
18-
```shell
19-
?action=AddTagsToComputers&query=distribution:22.04&tags.1=server
20-
&tags.2=jammy
21-
```
22-
The command above references the distribution with the version number. You can modify it to use the code name if you prefer. Read [Computers](https://ubuntu.com/landscape/docs/api-computers) for more information.
14+
- **Computers**: The methods under Computers help you retrieve computers and do basic operations such as tagging on them. With these methods, you can reference the distribution by using either the version number or the code name. Read [about Computers](https://ubuntu.com/landscape/docs/api-computers) to learn how you can implement this method.

0 commit comments

Comments
 (0)