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
Consistency Updates/Puts CLI more on par with API in docs
* Moves auth handlers to its own module
* Made CLI and API landing pages in the docs. The primary index links to those pages and little else.
* Links to both the CLI and API landing pages in the README.md
* Fixes several spacing inconsistencies in the docopt sections
Copy file name to clipboardExpand all lines: docs/api/client.rst
+40-15Lines changed: 40 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,23 @@
1
1
.. _client:
2
2
3
3
4
-
Developer Interface
5
-
===================
6
-
This is the primary API client to make API calls. It deals with constructing and executing XML-RPC calls against the SoftLayer API.
4
+
API Documentation
5
+
=================
6
+
This is the primary API client to make API calls. It deals with constructing and executing XML-RPC calls against the SoftLayer API. Below are some links that will help to use the SoftLayer API.
7
+
8
+
.. toctree::
9
+
10
+
SoftLayer API Documentation <http://sldn.softlayer.com/reference/softlayerapi>
11
+
Source on Github <https://github.com/softlayer/softlayer-api-python-client>
Managers mask out a lot of the complexities of using the API into classes that provide a simpler interface to various services. These are higher-level interfaces to the SoftLayer API.
149
+
150
+
.. toctree::
151
+
:maxdepth:2
152
+
:glob:
153
+
154
+
managers/*
155
+
156
+
124
157
Backwards Compatibility
125
158
-----------------------
126
-
If you've been using the older Python client (<2.0), you'll be happy to know that the old API is still currently working. However, you should deprecate use of the old stuff. Below is an example of the old API converted to the new one.
127
-
128
-
.. automodule:: SoftLayer.deprecated
129
-
:members:
130
-
:undoc-members:
159
+
As of 3.0, the old API methods and parameters no longer work. Below are examples of converting the old API to the new one.
Copy file name to clipboardExpand all lines: docs/cli.rst
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,13 @@
3
3
Command-line Interface
4
4
======================
5
5
6
-
The SoftLayer command line interface is available via the `sl` command available in your `PATH`. The `sl` command is a reference implementation of SoftLayer API bindings for python and how to efficiently make API calls.
6
+
The SoftLayer command line interface is available via the `sl` command available in your `PATH`. The `sl` command is a reference implementation of SoftLayer API bindings for python and how to efficiently make API calls. See the :ref:`usage-examples` section to see how to discover all of the functionality not fully documented here.
7
+
8
+
.. toctree::
9
+
:maxdepth:2
10
+
11
+
cli/cci
12
+
cli/dev
7
13
8
14
9
15
Configuration Setup
@@ -55,6 +61,7 @@ The only required fields are `username` and `api_key`. You can optionally also/e
0 commit comments