Bedrock

Bedrock Proxy Route

GET/bedrock/{endpoint}
Authorization
Path parameters
endpoint*Endpoint
Response

Successful Response

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

Bedrock Proxy Route

POST/bedrock/{endpoint}
Authorization
Path parameters
endpoint*Endpoint
Response

Successful Response

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

Bedrock Proxy Route

PUT/bedrock/{endpoint}
Authorization
Path parameters
endpoint*Endpoint
Response

Successful Response

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

Bedrock Proxy Route

DELETE/bedrock/{endpoint}
Authorization
Path parameters
endpoint*Endpoint
Response

Successful Response

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

Bedrock Proxy Route

PATCH/bedrock/{endpoint}
Authorization
Path parameters
endpoint*Endpoint
Response

Successful Response

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