Get an application component
GEThttps://api.cloud.codenow.com/applications/:applicationId/components/:applicationComponentId
Gets a component detail for the specified application
Request
Path Parameters
Possible values: non-empty
Possible values: non-empty
Header Parameters
CodeNOW API Key
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
application-components-get 200 response
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
The unique identifier of the application component. Based on the user-defined name.
Human readable name of the application component.
The detailed textual description.
ID of the application this component is part of.
Possible values: [CREATING
, READY
, FAILED
, DELETING
]
State of the application component.
CREATING - Application component is in the process of being created.
READY - Application component is ready to be used.
FAILED - Application component creation has failed.
DELETING - Application component is in the process of being deleted.
Runtime id of the application component compatible with DNS-1123 label, based on id.
It must be used in certain places such as kubernetes labels. (Might be the same as id.)
template
object
required
scm
object
required
error
object
nullable
The name of the build system used for compiling, testing, and packaging code within the library.
settings
object
ciSettings
object
{
"id": "string",
"name": "string",
"description": "string",
"applicationId": "string",
"state": "CREATING",
"runtimeId": "string",
"template": {
"id": "string",
"version": "string",
"properties": {}
},
"scm": {
"provider": "string",
"providerType": "string",
"id": "string",
"sshAddress": "string",
"httpAddress": "string"
},
"error": {
"code": "string",
"message": "string"
},
"buildSystem": "string",
"settings": {
"contextPath": "string",
"maxQueueSize": 0
},
"ciSettings": {
"provider": "string",
"globalPipelinesConfiguration": true
}
}
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.
- curl
- nodejs
- csharp
- java
- CURL