Method | URI | Description |
---|---|---|
GET | /v2.0/OS-KSADM/services{?marker,limit} | Lists services. |
Normal response codes: 200, 203
Error response codes: identityFault (400, 500, …), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)
This table shows the header parameters for the list services request:
Name | Type | Description |
---|---|---|
| String (Required) | A valid authentication token for an administrative user. |
This operation does not require a request body.
Example 4.33. List Services: XML response
<?xml version="1.0" encoding="UTF-8"?> <services xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"> <service id="123" name="nova" type="compute" description="OpenStack Compute Service"/> <service id="234" name="glance" type="image" description="OpenStack Image Service"/> </services>
Example 4.34. List Services: JSON response
{ "OS-KSADM:services":[{ "id": "123", "name": "nova", "type": "compute", "description": "OpenStack Compute Service" }, { "id": "234", "name": "glance", "type": "image", "description": "OpenStack Image Service" } ], "OS-KSADM:services_links":[] }