Application
Update an application
Updates information for an application
patch/application/{id}
Path parameters
idstring required
The ID of the application to update
Request body
Example request
{
"name": "Billing API",
"status": "active",
"repository_url": "https://github.com/crypto-inc/accounting-billing-api",
"template_id": 3456,
"tags": [
{
"key": "key",
"value": "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"
}
}
}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
No recorded changes to this endpoint across all 1 revision of this API.