Create an application
Changed onCreates a new application in an existing namespace.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/application
- AuthHTTP bearer
Request body
Example request
{
"name": "Billing API",
"namespace_id": 1234,
"repository_url": "https://github.com/crypto-inc/accounting-billing-api",
"template_id": 2345,
"settings": {
"defaults": {
"branch": "main",
"environment": "staging"
},
"asset": {
"docker_server": {
"uri": "registry.example.com/acme-corp/billing-api"
},
"ecr": {
"uri": "123456789012.dkr.ecr.us-east-1.amazonaws.com/billing-api",
"arn": "arn:aws:ecr:us-east-1:123456789012:repository/billing-api"
}
},
"code_repository": {
"specification_id": "7f3c910e-8138-4d65-9d09-b97d89f2c509",
"specification_slug": "github-configuration",
"specification_name": "GitHub",
"specification_icon": "github",
"provider_id": "82eee42c-46c9-4bb7-a53d-c08b027817f3"
}
}
}Response
The operation was successful.
Example response
{
"id": 1234,
"nrn": "organization=1:account=2:namespace=3:application=4",
"name": "Billing API",
"slug": "billing-api",
"namespace_id": 2345,
"status": "active",
"repository_url": "https://github.com/crypto-inc/accounting-billing-api",
"template_id": 3456,
"metadata": {
"key": "value"
},
"settings": {
"defaults": {
"branch": "main",
"environment": "staging"
},
"asset": {
"docker_server": {
"uri": "registry.example.com/acme-corp/billing-api"
},
"ecr": {
"uri": "123456789012.dkr.ecr.us-east-1.amazonaws.com/billing-api",
"arn": "arn:aws:ecr:us-east-1:123456789012:repository/billing-api"
}
},
"code_repository": {
"specification_id": "7f3c910e-8138-4d65-9d09-b97d89f2c509",
"specification_slug": "github-configuration",
"specification_name": "GitHub",
"specification_icon": "github",
"provider_id": "82eee42c-46c9-4bb7-a53d-c08b027817f3"
}
}
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
the response optional property
became read-only for the status - info
the response required property
became read-only for the status - info
the response required property
became read-only for the status
- info