Code Engine

Introduction IBM Cloud Code Engine provides a platform to unify the deployment of functions, applications, and pre-built containers to a Kubernetes-based infrastructure, enabling higher productivity and a faster time to market. Code Engine is built on open-source projects such as Kubernetes, Istio, Knative, and Tekton. For more information about custom resource definition methods that are available to use with Code Engine, see API referencehttps://cloud.ibm.com/docs/codeengine?topic=codeengine-api. The curl examples require a bearer token. You can retrieve a token with the following command. shell ibmcloud iam oauth-tokens --output json You can also use jq to get clean output. shell token=ibmcloud iam oauth-tokens --output json | jq .iamtoken -r These code examples use the client library that is provided for Java. Maven xml

MethodPathSummary
GET/projectsList all projects
POST/projectsCreate a project
DELETE/projects/{id}Delete a project
GET/projects/{id}Get a project
GET/projects/{project_id}/allowed_outbound_destinationsList allowed outbound destinations
POST/projects/{project_id}/allowed_outbound_destinationsCreate an allowed outbound destination
DELETE/projects/{project_id}/allowed_outbound_destinations/{name}Delete an allowed outbound destination
GET/projects/{project_id}/allowed_outbound_destinations/{name}Get an allowed outbound destination
PATCH/projects/{project_id}/allowed_outbound_destinations/{name}Update an allowed outbound destination
GET/projects/{project_id}/egress_ipsList egress IP addresses
GET/projects/{project_id}/status_detailsGet the status details for a project
GET/projects/{project_id}/appsList applications
POST/projects/{project_id}/appsCreate an application
GET/projects/{project_id}/apps/{app_name}/instancesList application instances
GET/projects/{project_id}/apps/{app_name}/revisionsList application revisions
DELETE/projects/{project_id}/apps/{app_name}/revisions/{name}Delete an application revision
GET/projects/{project_id}/apps/{app_name}/revisions/{name}Get an application revision
DELETE/projects/{project_id}/apps/{name}Delete an application
GET/projects/{project_id}/apps/{name}Get an application
PATCH/projects/{project_id}/apps/{name}Update an application
GET/projects/{project_id}/job_runsList job runs
POST/projects/{project_id}/job_runsCreate a job run
DELETE/projects/{project_id}/job_runs/{name}Delete a job run
GET/projects/{project_id}/job_runs/{name}Get a job run
GET/projects/{project_id}/jobsList jobs
POST/projects/{project_id}/jobsCreate a job
DELETE/projects/{project_id}/jobs/{name}Delete a job
GET/projects/{project_id}/jobs/{name}Get a job
PATCH/projects/{project_id}/jobs/{name}Update a job
GET/function_runtimesList the function runtimes
GET/projects/{project_id}/functionsList functions
POST/projects/{project_id}/functionsCreate a function
DELETE/projects/{project_id}/functions/{name}Delete a function
GET/projects/{project_id}/functions/{name}Get a function
PATCH/projects/{project_id}/functions/{name}Update a function
GET/projects/{project_id}/bindingsList bindings
POST/projects/{project_id}/bindingsCreate a binding
DELETE/projects/{project_id}/bindings/{id}Delete a binding
GET/projects/{project_id}/bindings/{id}Get a binding
GET/projects/{project_id}/build_runsList build runs
POST/projects/{project_id}/build_runsCreate a build run
DELETE/projects/{project_id}/build_runs/{name}Delete a build run
GET/projects/{project_id}/build_runs/{name}Get a build run
GET/projects/{project_id}/buildsList builds
POST/projects/{project_id}/buildsCreate a build
DELETE/projects/{project_id}/builds/{name}Delete a build
GET/projects/{project_id}/builds/{name}Get a build
PATCH/projects/{project_id}/builds/{name}Update a build
GET/projects/{project_id}/domain_mappingsList domain mappings
POST/projects/{project_id}/domain_mappingsCreate a domain mapping
DELETE/projects/{project_id}/domain_mappings/{name}Delete a domain mapping
GET/projects/{project_id}/domain_mappings/{name}Get a domain mapping
PATCH/projects/{project_id}/domain_mappings/{name}Update a domain mapping
GET/projects/{project_id}/config_mapsList config maps
POST/projects/{project_id}/config_mapsCreate a config map
DELETE/projects/{project_id}/config_maps/{name}Delete a config map
GET/projects/{project_id}/config_maps/{name}Get a config map
PUT/projects/{project_id}/config_maps/{name}Update a config map
GET/projects/{project_id}/secretsList secrets
POST/projects/{project_id}/secretsCreate a secret
DELETE/projects/{project_id}/secrets/{name}Delete a secret
GET/projects/{project_id}/secrets/{name}Get a secret
PUT/projects/{project_id}/secrets/{name}Update a secret
GET/projects/{project_id}/persistent_data_storesList persistent data stores
POST/projects/{project_id}/persistent_data_storesCreate a persistent data store
DELETE/projects/{project_id}/persistent_data_stores/{name}Delete a persistent data store
GET/projects/{project_id}/persistent_data_stores/{name}Get a persistent data store
GET/projects/{project_id}/fleetsList fleets
POST/projects/{project_id}/fleetsCreate a fleet
GET/projects/{project_id}/fleets/{fleet_id}/tasksList tasks
GET/projects/{project_id}/fleets/{fleet_id}/tasks/{id}Get a task
GET/projects/{project_id}/fleets/{fleet_id}/workersList workers
GET/projects/{project_id}/fleets/{fleet_id}/workers/{name}Get a worker
DELETE/projects/{project_id}/fleets/{id}Delete a fleet
GET/projects/{project_id}/fleets/{id}Get a fleet
POST/projects/{project_id}/fleets/{id}/add_tasksAdd tasks to a fleet
POST/projects/{project_id}/fleets/{id}/cancelCancel a fleet
GET/projects/{project_id}/subnet_poolsList subnet pools
POST/projects/{project_id}/subnet_poolsCreate a subnet pool
DELETE/projects/{project_id}/subnet_pools/{id}Delete a subnet pool
GET/projects/{project_id}/subnet_pools/{id}Get a subnet pool