Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
6a5a579a
Commit
6a5a579a
authored
May 23, 2013
by
Sofia Papagiannaki
Browse files
astakos: fix api docs
parent
81f511ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/astakos-api-guide.rst
View file @
6a5a579a
...
...
@@ -342,24 +342,11 @@ Example json reply:
::
{'endpoint_links': [{'href': '/astakos/api/tokens/0000/endpoints?marker=7&limit=10000',
'rel': 'next'}],
'endpoints': [
{'adminURL': 'https://node1.example.com/ui/',
'id': 5,
'internalURL': 'https://node1.example.com/ui/',
'name': 'cyclades',
'publicURL': 'https://node1.example.com/ui/',
'region': 'cyclades',
'type': None},
{'adminURL': 'https://node2.example.com/v1',
'id': 6,
'internalURL': 'https://node2.example.com/ui/',
'name': 'pithos',
'publicURL': 'https://node2.example.com/ui/',
'region': 'pithos',
'type': None},
]}
{"endpoints": [
{"name": "cyclades", "region": "cyclades", "internalURL": "https://node1.example.com/ui/", "adminURL": "https://node1.example.com/v1/", "type": null, "id": 5, "publicURL": "https://node1.example.com/ui/"},
{"name": "pithos", "region": "pithos", "internalURL": "https://node2.example.com/ui/", "adminURL": "https://node2.example.com/v1", "type": null, "id": 6, "publicURL": "https://node2.example.com/ui/"},
],
"endpoint_links": [{"href": "/astakos/api/tokens/0000/endpoints?marker=6&limit=10000", "rel": "next"}]}
Example xml reply:
...
...
@@ -372,7 +359,7 @@ Example xml reply:
<endpoint "name"="pithos" "region"="pithos" "internalURL"="https://node2.example.com/ui/" "adminURL"="https://node2.example.com/v1" "id"="6" "publicURL"="https://node2.example.com/ui/" />
</endpoints>
<endpoint_links>
<endpoint_link "href"="/astakos/api/tokens/0000/endpoints?marker=
7
&limit=10000" "rel"="next" />
<endpoint_link "href"="/astakos/api/tokens/0000/endpoints?marker=
6
&limit=10000" "rel"="next" />
</endpoint_links>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment