Get a managed service
GET/managed-services/:serviceId
The operation allows you to retrieve details about a specific managed service. Managed services are specialized resources provided and maintained by CodeNOW designed to streamline and handle specific functions.
Request
Path Parameters
Header Parameters
CodeNOW API Key
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Managed service detail
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
The unique identifier of the service. Based on the user-defined service name.
The user-friendly name or label for the service. It allows users to provide a clear and descriptive name that helps in identifying and distinguishing different services easily. The field accepts free text with alphanumeric and special characters.
The detailed textual description of the service. Allows users to add additional context, notes, or any relevant information about the purpose, usage, or characteristics of the service.
An internal identifier of the scaffold used for service creation. It also provides information about the type or brand of the service.
The version of the scaffold used for service creation.
The unique identifier of the environment where the service will be deployed. To obtain this identifier, use the GET /environments
operation to retrieve a list of available environments.
This value is NOT set for a service of type "ENTERPRISE"
.
Possible values: [READY
, CREATING
, UPDATING
, DELETING
, UNKNOWN
, DOWN
, FAILED_TO_CREATE
, FAILED_TO_UPDATE
]
Status of the managed service
READY - Service is ready
CREATING - Creating service
UPDATING - Updating service
DELETING - Deleting service
UNKNOWN - Status is unknown
DOWN - Service is down / not usable
FAILED_TO_CREATE - Service could not be created
FAILED_TO_UPDATE - Service could not be updated
The timestamp when the managed service was created. If the timestamp is unknown, the value will be returned as null
.
The username of the user who initialized the creation of the managed service.
The service type by management with two possible values: MANAGED
for a service provided and managed by CodeNOW, or ENTERPRISE
for a service managed by the customer outside of CodeNOW.
accessControl
object
required
An object specifying which environments are allowed to access the service via the Connect Services
feature of Application Components.
A boolean flag indicating whether all user-defined environments can access the service via the Connect Services
feature of Application Components.If set to false, only the environments specified in allowFrom
will be able to connect.
A list of IDs of all environments, from which the service can be accessed via the Connect Services
feature of Application Components.To obtain these identifiers, use the GET /environments
operation to retrieve a list of available environments.
This field should only be specified, when unlimited
is set to false or null!
The URL providing direct access to the service's specific management interface.
The error code returned if the service creation failed.
The error message returned if the service creation failed.
{
"id": "string",
"displayName": "string",
"description": "string",
"templateId": "string",
"templateVersion": "string",
"environmentId": "string",
"status": "READY",
"createdAt": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"type": "string",
"accessControl": {
"unlimited": true,
"allowFrom": [
"string"
]
},
"adminConsoleUrl": "string",
"errorCode": "string",
"errorMessage": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.