> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# Tạo thư mục đăng ký

> Yêu cầu địa chỉ URL và tham số cho thao tác đăng ký tạo.

```http theme={"theme":"css-variables"}
POST /Files/Controllers/ControllersAll.php?main=Hunt&container=HuntAddController
```

[Treasure Hunt](https://docs.zonely.gen.tr/vi/developers/modules/treasure-hunt)


## OpenAPI

````yaml api-specs/hunt-huntaddcontroller.json POST /Files/Controllers/ControllersAll.php
openapi: 3.1.0
info:
  title: Kayıt oluştur
  version: '1.0'
  description: Kayıt oluştur işleminin istek ve yanıt alanları.
servers:
  - url: https://siteadresiniz.example
security: []
paths:
  /Files/Controllers/ControllersAll.php:
    post:
      summary: Kayıt oluştur
      operationId: Hunt_HuntAddController_POST
      parameters:
        - name: main
          in: query
          required: true
          schema:
            type: string
            enum:
              - Hunt
            default: Hunt
          example: Hunt
        - name: container
          in: query
          required: true
          schema:
            type: string
            enum:
              - HuntAddController
            default: HuntAddController
          example: HuntAddController
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Ad.
                reward_amount:
                  type: string
                  description: İşlem alanı.
                spawn_min_delay:
                  type: string
                  description: İşlem alanı.
                spawn_max_delay:
                  type: string
                  description: İşlem alanı.
                image_file:
                  type: string
                  format: binary
                  description: İşlem alanı.
                description:
                  type: string
                  description: Açıklama.
                is_active:
                  type: string
                  description: Durum değeri.
                start_at:
                  type: string
                  description: İşlem alanı.
                end_at:
                  type: string
                  description: İşlem alanı.
                cooldown_seconds:
                  type: string
                  description: İşlem alanı.
                daily_limit:
                  type: string
                  description: İşlem alanı.
                global_cap:
                  type: string
                  description: İşlem alanı.
                priority:
                  type: string
                  description: İşlem alanı.
                show_leaderboard:
                  type: string
                  description: İşlem alanı.
      responses:
        '200':
          description: İşlem yanıtı.
      security:
        - ApiKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl --request POST \
              --url "https://siteadresiniz.example/Files/Controllers/ControllersAll.php?main=Hunt&container=HuntAddController" \
              --header "X-API-Key: $ZONELY_API_KEY" \
              --form 'name=ALAN_DEGERI' \
              --form 'reward_amount=ALAN_DEGERI' \
              --form 'spawn_min_delay=ALAN_DEGERI' \
              --form 'spawn_max_delay=ALAN_DEGERI' \
              --form 'image_file=@DOSYA_YOLU' \
              --form 'description=ALAN_DEGERI' \
              --form 'is_active=ALAN_DEGERI' \
              --form 'start_at=ALAN_DEGERI' \
              --form 'end_at=ALAN_DEGERI' \
              --form 'cooldown_seconds=ALAN_DEGERI' \
              --form 'daily_limit=ALAN_DEGERI' \
              --form 'global_cap=ALAN_DEGERI' \
              --form 'priority=ALAN_DEGERI' \
              --form 'show_leaderboard=ALAN_DEGERI'
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Yönetim panelindeki API anahtarınız.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.