Remotes
Upsert remote
Upsert remote. If remote with the same mountPath and type already exists the remote object is returned. If the type doesn't match the existing remote, a 409 error is returned. Otherwise, a new remote is created.
post/orgs/{orgId}/projects/{projectId}/remotes
Request body
Example request
{
"mountPath": "apis/test/@v1",
"type": "CICD",
"createdAt": "2023-06-07T00:00:00Z",
"updatedAt": "2023-06-07T00:00:00Z",
"contentType": "FILE"
}Response
Remote created.
Example response
{
"mountPath": "apis/test/@v1",
"type": "CICD",
"createdAt": "2023-06-07T00:00:00Z",
"updatedAt": "2023-06-07T00:00:00Z",
"contentType": "FILE",
"id": "rem_01h2captefvs9bpg3v6twqqj9n"
}