{
  "opencollection": "1.0.0",
  "info": {
    "name": "GitLab access_requests geo API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "geo",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Determine if a Geo site should proxy requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v4/geo/proxy"
          },
          "docs": "Returns a Geo proxy response"
        },
        {
          "info": {
            "name": "Internal endpoint that returns a replicable file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v4/geo/retrieve/:replicable_name/:replicable_id",
            "params": [
              {
                "name": "replicable_name",
                "value": "package_file",
                "type": "path",
                "description": "The replicable name of a replicator instance"
              },
              {
                "name": "replicable_id",
                "value": "",
                "type": "path",
                "description": "The replicable ID of a replicable instance"
              }
            ]
          },
          "docs": "Returns a replicable file from store (via CDN or sendfile)"
        },
        {
          "info": {
            "name": "Used by secondary runners to verify the secondary instance has the very latest version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v4/geo/repositories/:gl_repository/pipeline_refs",
            "params": [
              {
                "name": "gl_repository",
                "value": "",
                "type": "path",
                "description": "The repository to check"
              }
            ]
          },
          "docs": "Returns the list of pipeline refs for the project"
        },
        {
          "info": {
            "name": "Internal endpoint that posts the current node status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/status"
          },
          "docs": "Posts the current node status to the primary site"
        },
        {
          "info": {
            "name": "Internal endpoint that returns info refs upload pack for clone or pull operations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/proxy_git_ssh/info_refs_upload_pack"
          },
          "docs": "Responsible for making HTTP GET /repo.git/info/refs?service=git-upload-pack\n                  request from secondary gitlab-shell to primary"
        },
        {
          "info": {
            "name": "Internal endpoint that posts git-upload-pack for clone or pull operations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/proxy_git_ssh/upload_pack"
          },
          "docs": "Responsible for making HTTP POST /repo.git/git-upload-pack\n                  request from secondary gitlab-shell to primary"
        },
        {
          "info": {
            "name": "Internal endpoint that returns git-received-pack output for git push",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/proxy_git_ssh/info_refs_receive_pack"
          },
          "docs": "Responsible for making HTTP GET /repo.git/info/refs?service=git-receive-pack\n                  request from secondary gitlab-shell to primary"
        },
        {
          "info": {
            "name": "Internal endpoint that posts git-receive-pack for git push",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/proxy_git_ssh/receive_pack"
          },
          "docs": "Responsible for making HTTP POST /repo.git/info/refs?service=git-receive-pack\n                  request from secondary gitlab-shell to primary"
        },
        {
          "info": {
            "name": "Query the GraphQL endpoint of an existing Geo node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v4/geo/node_proxy/:id/graphql",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the Geo node"
              }
            ]
          },
          "docs": "Query the GraphQL endpoint of an existing Geo node"
        }
      ]
    }
  ],
  "bundled": true
}