---
agentTools:
  projectIndex: https://docs.qdelivery.app/llms.txt
---

# Index

Index

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Integration",
    "version": "1.6.1"
  },
  "servers": [
    {
      "url": "https://api.dev.qdelivery.app/api/integration"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/task-slots": {
      "get": {
        "summary": "Index",
        "description": "Index",
        "operationId": "list-task-slots",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"data\": [\n\t\t{\n\t\t\t\"hub_id\": 1,\n\t\t\t\"slot\": \"2022041510001200\",\n\t\t\t\"starts_at\": \"2022-02-04T10:00:00.000000Z\",\n\t\t\t\"ends_at\": \"2022-02-04T10:11:00.000000Z\",\n\t\t\t\"tasks_count\": 1,\n\t\t\t\"hub\": {\n\t\t\t\t\"id\": 1,\n\t\t\t\t\"name\": \"Anadolu Depo\"\n\t\t\t}\n\t\t}\n\t]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "hub_id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "slot": {
                            "type": "string",
                            "example": "2022041510001200"
                          },
                          "starts_at": {
                            "type": "string",
                            "example": "2022-02-04T10:00:00.000000Z"
                          },
                          "ends_at": {
                            "type": "string",
                            "example": "2022-02-04T10:11:00.000000Z"
                          },
                          "tasks_count": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "hub": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "Anadolu Depo"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6602b1495613fc002042a788:6602b14a5613fc002042a7b5"
}
```