Skip to main content

Create an application

POST 

/applications

Creates a new application.

Request

Header Parameters

    X-Codenow-Api-Key anyrequired

    CodeNOW API Key

Body

required

    name string
    description stringnullable

    relatedEnvironments

    object[]

    nullable

  • Array [

  • id string
    production boolean
  • ]

Responses

application-create 200 response

Schema

    abilities string[]
    id stringrequired

    The unique identifier of the application.

    runtimeName stringrequired


    Runtime id of the application 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.)

    name stringrequired


    Human readable name of the component.

    description string


    Description of the application.

    status stringrequired

    Status of the application.
    READY - Application is ready to be used.
    DELETING - Application is being deleted.

    relatedEnvironments

    object[]


    Environments related to the application.

  • Array [

  • id stringrequired


    Unique environment ID.

    displayName string


    Human readable name of the environment.

    production boolean
  • ]

Loading...