List application components
GET/applications/:applicationId/components
Lists components for the specified application.
Request
Path Parameters
Possible values: non-empty
Query Parameters
Header Parameters
CodeNOW API Key
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
application-components-list 200 response
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
Array [
]
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
Template specification for the application component.
Possible values: non-empty
An internal identifier of the scaffold selected for library creation.
It includes information about the selected language, build tool and framework, if specified.
Available templates can be obtained through the:
/templates/application_components
endpoint for application component or
/templates/libraries
endpoint for library
Possible values: non-empty
The desired version of the selected template.
Available templates can be obtained through the:
/templates/application_components
endpoint for application component or
/templates/libraries
endpoint for library
properties
object
A map of properties ("key": "value") required for proper template configuration.
Available templates can be obtained through the:
/templates/application_components
endpoint for application component or
/templates/libraries
endpoint for library
scm
object
required
An object containing Source Code Management (SCM) information, including provider, repository/project ID, HTTP clone URL, and SSH clone URL.
The name of the SCM provider associated with the library, facilitating version control and collaborative software development.
CI Provider type (gihub, codenow, etx)
The unique identifier of the library repository or project within the SCM system.
The SSH address string required for performing a Git clone operation on the repository linked to the library.
The HTTP address string required for performing a Git clone operation on the repository linked to the library.
error
object
nullable
Error details, if any, encountered during the library creation process.
The name of the build system used for compiling, testing, and packaging code within the library.
settings
object
Basic settings for the component
ciSettings
object
CI settings for the component
Associated CI provider
codenow - uses CodeNow CI
external - uses external CI
A boolean flag indicating whether pipeline settings are globally configured for the entire repository. If set to false, the pipeline settings are independently customized for individual branches.
[
{
"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.