# Bypass Drive API

## Bypass Drive

<mark style="color:green;">`POST`</mark> `https://api.yuudrive.me/v1/bypass`

This endpoint allows you to bypass drive.

#### Headers

| Name                                     | Type   | Description           |
| ---------------------------------------- | ------ | --------------------- |
| apikey<mark style="color:red;">\*</mark> | string | Authentication token. |

#### Request Body

| Name                                 | Type   | Description      |
| ------------------------------------ | ------ | ---------------- |
| id<mark style="color:red;">\*</mark> | string | Google Drive ID. |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "code": 200,
    "limit": true,
    "result": {
        "id": "1Q1tepcTq3ZuMo6HFlSZmS6oYRIjD1XxX",
        "mimeType": "application/rar",
        "name": "[FILENAME].rar"
    },
    "success": true
}
```

{% endtab %}

{% tab title="202 " %}

```javascript
{
    "code": 202,
    "limit": false,
    "message": "This file is not limited, you can download it",
    "success": false
}
```

{% endtab %}

{% tab title="401 " %}

```javascript
{
    "code": 401,
    "message": "Require an API Key",
}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```javascript
{
    "code": 404,
    "message": "File not found"
}
```

{% endtab %}
{% endtabs %}

## Check Limit

<mark style="color:blue;">`GET`</mark> `https://api.yuudrive.me/v1/bypass/check-limit`

This endpoint allows you to get limit file information from Google Drive.

#### Query Parameters

| Name                                 | Type   | Description           |
| ------------------------------------ | ------ | --------------------- |
| id<mark style="color:red;">\*</mark> | string | Google Drive File ID. |

#### Headers

| Name                                     | Type   | Description           |
| ---------------------------------------- | ------ | --------------------- |
| apikey<mark style="color:red;">\*</mark> | string | Authentication Token. |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "code": 200,
    "limit": true,
    "message": "This file is limited"
}
```

{% endtab %}

{% tab title="202 " %}

```javascript
{
    "code": 202,
    "limit": false,
    "message": "This file is not limited, you can download it"
}
```

{% endtab %}

{% tab title="404 " %}

```javascript
{
    "code": 404,
    "message": "File not found"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.yuudrive.me/api-list/bypass-drive-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
