Skip to content

Deployment

deployment_domain_routes_add

Add a path-route to a custom domain

Tool

deployment_domain_routes_add

Add a path-route to a custom domain

Add a path-route to a custom domain

Behavior

HTTP
POST /deployment/domains/:domainId/routes

Arguments

NameTypeRequiredDescription
domainIdstringNo description in the catalog.
priorityintegerNo description in the catalog.
isDefaultbooleanNo description in the catalog.
serviceIdstringNo description in the catalog.
pathPrefixstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
domainIdstring
priorityinteger
createdAtstring
isDefaultboolean
serviceIdstring
updatedAtstring
pathPrefixstring

Try it

Add a path-route to a custom domain.

When to use

Add a path-route to a custom domain

Example

Ask your agent something like this:

Add a path-route to a custom domain.

The agent will invoke deployment_domain_routes_add with these arguments:

{
  "domainId": "<domainId>",
  "serviceId": "<serviceId>",
  "pathPrefix": "<pathPrefix>"
}

Esc

Start typing to search the docs.

navigateselect