POST
/
repos
/
{repo_id}
/
merges
curl --request POST \
  --url https://api.diversion.dev/v0/repos/{repo_id}/merges \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

Query Parameters

base_id
string

A reference to a base unto which changes will be applied

Required string length: 3 - 128
Example:

"example_id"

other_id
string

A reference to a source version from which changes will be taken

Required string length: 3 - 128
Example:

"example_id"

Response

200
_mintlify/placeholder

Base ref is already up to date with the other ref, no action was made