Mark the migration as successfully executed

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/demo/doc/gitlab/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Gitlab (Unofficial) MCP server": {
  "url": "https://bump.sh/demo/doc/gitlab/mcp"
}
Close
POST /admin/migrations/{timestamp}/mark

Mark the migration as successfully executed

Path parameters

  • timestamp integer(int32) Required

    The migration version timestamp

application/json

Body

  • database string

    The name of the database

    Values are main, ci, embedding, main_clusterwide, or geo. Default value is main.

Responses

  • 201

    201 Created

  • 401

    401 Unauthorized

  • 403

    403 Forbidden

  • 404

    404 Not found

  • 422

    You can mark only pending migrations

POST /admin/migrations/{timestamp}/mark
curl \
 --request POST 'https://www.gitlab.com/api/v4/admin/migrations/{timestamp}/mark' \
 --header "Private-Token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"database":"main"}'
Request examples
{
  "database": "main"
}