List of all approved services which are available for user to order.<br> Required role: <b>admin</b> or <b>user</b> </br>
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/xpanse/catalog/services
- Auth: OAuth 2 (authorization code, authorization URL https://xpanse-demo.eclipseprojects.io/oauth/v2/authorize, token URL https://xpanse-demo.eclipseprojects.io/oauth/v2/token)
Query parameters
category of the service
name of the cloud service provider
name of the service
version of the service
Defines which cloud service account is used for deploying cloud resources.
who hosts ths cloud resources
Response
OK
Example response
[
{
"serviceActions": [
{
"actionManageScripts": [
{
"ansibleScriptConfig": {
"playbookName": "playbook-name.yml",
"virtualEnv": "/tmp/virtualEnv",
"pythonVersion": "3.10",
"requirementsFile": "modules/requirements.txt"
}
}
]
}
],
"serviceObjects": [
{
"objectsManage": [
{
"objectHandlerScript": {
"ansibleScriptConfig": {
"playbookName": "playbook-name.yml",
"virtualEnv": "/tmp/virtualEnv",
"pythonVersion": "3.10",
"requirementsFile": "modules/requirements.txt"
}
}
}
]
}
]
}
]Changes
- info
added the required property
/to the response with the status (media type: application/json) - info
added the required property
/to the response with the status (media type: application/hal+json)
- info
- breaking
the
///response's property type changed fromobjectto no type for status (media type: application/json) - breaking
the
///response's property type changed fromobjectto no type for status (media type: application/hal+json) - breaking
the
/////response's property type changed fromobjectto no type for status (media type: application/json) - breaking
the
/////response's property type changed fromobjectto no type for status (media type: application/hal+json) - breaking
the
///////response's property type changed fromobjectto no type for status (media type: application/json) - breaking
the
///////response's property type changed fromobjectto no type for status (media type: application/hal+json) - breaking
the
////////response's property type changed fromobjectto no type for status (media type: application/json) - breaking
the
////////response's property type changed fromobjectto no type for status (media type: application/hal+json)
- breaking