Internal Access

Allow another project to call this project's internal addresses

Changed on

Workloads of the calling project (or of one environment of it) may then call this project's *.temps.local addresses (or one environment's) through the internal proxy. Workers apply it with their next route sync, within seconds.

post/projects/{project_id}/internal-access

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

The project being called

Request body

caller_environment_idinteger nullable

Only this environment of the calling project; omit for every environment, present and future.

caller_project_idinteger required

The project whose workloads may call.

descriptionstring nullable

Why the grant exists, up to 200 characters.

target_environment_idinteger nullable

The environment of this project that may be called; omit for every environment, present and future.

Example request

{
  "description": "The checkout worker calls the orders API"
}

Response

Grant created

caller_environment_idinteger nullable

null: every environment of the caller project.

caller_environment_namestring nullable
caller_project_idinteger required
caller_project_namestring required
caller_project_slugstring required
created_atstring date-time required
created_byinteger nullable
descriptionstring nullable
idinteger required
target_environment_idinteger nullable

null: every environment of the target project.

target_environment_namestring nullable
target_project_idinteger required
target_project_namestring required
target_project_slugstring required

Changes