ServiceCatalog
Get deployable service by id.<br> Required role: <b>admin</b> or <b>user</b> </br>
get/xpanse/catalog/services/{serviceTemplateId}
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/xpanse/catalog/services/{serviceTemplateId}
- 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)
Path parameters
serviceTemplateIdstring uuid required
The id of orderable service.
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
- info
- breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
////response's property type changed fromobjectto no type for status - breaking
the
//////response's property type changed fromobjectto no type for status - breaking
the
///////response's property type changed fromobjectto no type for status
- breaking