Gemini

Gemini Proxy Route

GET/gemini/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/gemini/{endpoint}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Gemini Proxy Route

POST/gemini/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/gemini/{endpoint}', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Gemini Proxy Route

PUT/gemini/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/gemini/{endpoint}', {
    method: 'PUT',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Gemini Proxy Route

DELETE/gemini/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/gemini/{endpoint}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}

Gemini Proxy Route

PATCH/gemini/{endpoint}
Path parameters
endpoint*Endpoint
Response

Successful Response

Body
any
Request
const response = await fetch('/gemini/{endpoint}', {
    method: 'PATCH',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}