keystone/api-ref/source/v3/samples/admin/endpoint-create-response.json
Samuel de Medeiros Queiroz 9a5395f1b2 Migrate identity /v3 docs from api-ref repo
Docs at [1] have already been converted from WADL (SGML / XML) to RST
using fairy-slipper [2].

This commit polish the results from the conversion and migrate the docs
to our repository under 'api-ref/source' directory. In addition, it
added missing descriptions for access_token_id and consumer_id to
'parameters.yaml'.

Polishing the generated RST files include:
- Removing unnecessary blank lines;
- Removing empty references.

Polishing the generated RST files do not include:
- Modifying their content;
- Modifying file names;
- Wrapping lines at the maximum of 79 chars.

Updating the documentation will be done after this migration step.

This change also adds a tox environment to build the docs using sphinx
under 'api-ref/build', which in turn is added to '.gitignore'.

Lastly, 'os-api-ref' is added as a test requirement. It provides the
sphinx stanzas rest_method and rest_parameter, used to define OpenStack
APIs in RST docs.

[1] https://github.com/openstack/api-site/tree/master/api-ref/source/identity/v3
[2] https://github.com/russell/fairy-slipper

Change-Id: If1b9a3e1b2e4ea7211c337071254c26b881893a3
2016-05-24 09:58:23 -03:00

16 lines
461 B
JSON

{
"endpoint": {
"region_id": "RegionOne",
"links": {
"self": "http://localhost:5000/v3/endpoints/e9b475a8742d4ff1a81b353c5a37e138"
},
"url": "http://identity:35357/v3/endpoints/828384",
"region": "RegionOne",
"enabled": true,
"interface": "public",
"service_id": "9242e05f0c23467bbd1cf1f7a6e5e596",
"id": "e9b475a8742d4ff1a81b353c5a37e138",
"name": "ec2-2"
}
}