openapi: 3.0.3 info: title: 'Agrofin API Documentation' description: '' version: 1.0.0 servers: - url: 'https://api.agrofin.uz' tags: - name: 'Admin — audit izi' description: '' - name: 'Admin — autentifikatsiya' description: '' - name: 'Admin — bosh sahifa' description: '' - name: 'Admin — murojaatlar' description: '' - name: 'Admin — raqamli yordamchi' description: '' - name: Endpoints description: '' - name: 'Fotogalereya (Photo Gallery)' description: '' - name: 'Fotogalereya — boshqaruv' description: '' - name: 'Foydalanuvchilar (Admin Users)' description: '' - name: 'Fuqarolar qabuli' description: '' - name: 'Hujjat turlari — boshqaruv' description: '' - name: "Jamg'arma tarixi (History Milestones)" description: '' - name: "Jamg'arma tarixi — boshqaruv" description: '' - name: 'Mijoz autentifikatsiyasi (Client Auth)' description: '' - name: 'Moliyalashtirish dasturlari' description: '' - name: Murojaatlar description: "\nElektron qabulxona: murojaat yuborish va uning holatini raqam + kirish\nkodi bo'yicha tekshirish. Ro'yxatdan o'tish talab qilinmaydi." - name: 'Normativ hujjatlar' description: '' - name: 'Normativ hujjatlar — boshqaruv' description: '' - name: "Ochiq ma'lumotlar (Open Data)" description: '' - name: "Ochiq ma'lumotlar — boshqaruv" description: '' - name: Qidiruv description: "\nSayt bo'ylab yagona qidiruv: normativ hujjatlar (nomi, yo'nalishi va\nraqami), moliyalashtirish dasturlari, savol-javoblar (savol va javob) va\nyangiliklar. Atama har ikki o'zbek yozuvida va barcha tillarda izlanadi." - name: 'Rahbariyat (Management)' description: '' - name: 'Rahbariyat — boshqaruv' description: '' - name: 'Raqamli yordamchi' description: '' - name: Savol-javoblar description: '' - name: 'Sektorlar — boshqaruv' description: '' - name: 'Tashkiliy tuzilma' description: '' - name: 'Tuzilma (Staff Units) — boshqaruv' description: '' - name: 'Videogalereya (Video Gallery)' description: '' - name: 'Videogalereya — boshqaruv' description: '' - name: Yangiliklar description: '' - name: 'Yangiliklar — boshqaruv' description: '' - name: "Yo'nalishlar — boshqaruv" description: '' paths: /api/v1/admin/audit-log: get: summary: "Audit izi ro'yxati" operationId: auditIziRoyxati description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — audit izi' /api/v1/admin/login: post: summary: 'Admin panelga kirish (cookie sessiyasi)' operationId: adminPanelgaKirishcookieSessiyasi description: '' parameters: [] responses: { } tags: - 'Admin — autentifikatsiya' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: 'validation.email validation.max.' example: gbailey@example.net password: type: string description: '' example: '|]|{+-' required: - email - password security: [] /api/v1/admin/logout: post: summary: 'Sessiyani yopish' operationId: sessiyaniYopish description: '' parameters: [] responses: { } tags: - 'Admin — autentifikatsiya' security: [] /api/v1/admin/me: get: summary: 'Kirgan adminning profili va ruxsatlari' operationId: kirganAdminningProfiliVaRuxsatlari description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — autentifikatsiya' /api/v1/admin/dashboard/summary: get: summary: "Bosh sahifa ko'rsatkichlari" operationId: boshSahifaKorsatkichlari description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: stats: users: 3 published_posts: 210 post_views: 15320 assistant_sessions: 41 trend: - month: 2026-04 published_posts: 6 - month: 2026-05 published_posts: 9 - month: 2026-06 published_posts: 4 - month: 2026-07 published_posts: 11 - month: 2026-08 published_posts: 7 - month: 2026-09 published_posts: 2 errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: object properties: stats: type: object properties: users: type: integer example: 3 published_posts: type: integer example: 210 post_views: type: integer example: 15320 assistant_sessions: type: integer example: 41 trend: type: array example: - month: 2026-04 published_posts: 6 - month: 2026-05 published_posts: 9 - month: 2026-06 published_posts: 4 - month: 2026-07 published_posts: 11 - month: 2026-08 published_posts: 7 - month: 2026-09 published_posts: 2 items: type: object properties: month: type: string example: 2026-04 published_posts: type: integer example: 6 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — bosh sahifa' /api/v1/admin/appeals: get: summary: "Murojaatlar ro'yxati" operationId: murojaatlarRoyxati description: '' parameters: - in: query name: 'filter[search]' description: "Raqam, mavzu, ism, telefon yoki email bo'yicha." example: 2026/09 required: false schema: type: string description: "Raqam, mavzu, ism, telefon yoki email bo'yicha." example: 2026/09 - in: query name: 'filter[status]' description: 'received, in_review, info_requested, answered, rejected.' example: received required: false schema: type: string description: 'received, in_review, info_requested, answered, rejected.' example: received - in: query name: 'filter[type]' description: 'application, complaint, proposal, corruption, conflict_of_interest.' example: complaint required: false schema: type: string description: 'application, complaint, proposal, corruption, conflict_of_interest.' example: complaint - in: query name: 'filter[is_anonymous]' description: '' example: false required: false schema: type: boolean description: '' example: false - in: query name: 'filter[open]' description: 'Faqat yakunlanmaganlar.' example: true required: false schema: type: boolean description: 'Faqat yakunlanmaganlar.' example: true - in: query name: sort description: 'created_at, status_changed_at, status, type yoki id; `-` teskari.' example: '-created_at' required: false schema: type: string description: 'created_at, status_changed_at, status, type yoki id; `-` teskari.' example: '-created_at' - in: query name: per_page description: '' example: 20 required: false schema: type: integer description: '' example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 116 tracking_number: 2026/09-0333 type: application status: received is_anonymous: false applicant_name: "Prof. Ashtyn O'Connell" applicant_phone: '+998908980089' applicant_email: pagac.skylar@example.org applicant_region: 'Toshkent shahri' subject: 'Laboriosam est alias.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' - id: 117 tracking_number: 2026/09-5250 type: application status: received is_anonymous: false applicant_name: 'Prof. Lydia Brekke V' applicant_phone: '+998909938658' applicant_email: buster.bauch@example.com applicant_region: 'Toshkent shahri' subject: 'Et error neque recusandae.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' properties: data: type: array example: - id: 116 tracking_number: 2026/09-0333 type: application status: received is_anonymous: false applicant_name: "Prof. Ashtyn O'Connell" applicant_phone: '+998908980089' applicant_email: pagac.skylar@example.org applicant_region: 'Toshkent shahri' subject: 'Laboriosam est alias.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' - id: 117 tracking_number: 2026/09-5250 type: application status: received is_anonymous: false applicant_name: 'Prof. Lydia Brekke V' applicant_phone: '+998909938658' applicant_email: buster.bauch@example.com applicant_region: 'Toshkent shahri' subject: 'Et error neque recusandae.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' items: type: object properties: id: type: integer example: 116 tracking_number: type: string example: 2026/09-0333 type: type: string example: application status: type: string example: received is_anonymous: type: boolean example: false applicant_name: type: string example: "Prof. Ashtyn O'Connell" applicant_phone: type: string example: '+998908980089' applicant_email: type: string example: pagac.skylar@example.org applicant_region: type: string example: 'Toshkent shahri' subject: type: string example: 'Laboriosam est alias.' locale: type: string example: uz deadline_at: type: string example: '2026-10-01T07:21:36+00:00' is_overdue: type: boolean example: false status_changed_at: type: string example: '2026-09-16T07:21:36+00:00' responded_at: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Admin — murojaatlar' '/api/v1/admin/appeals/{id}': get: summary: 'Bitta murojaat, tarixi bilan' operationId: bittaMurojaatTarixiBilan description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 118 tracking_number: 2026/09-6775 type: application status: received is_anonymous: false applicant_name: 'Jermaine Tillman' applicant_phone: '+998902631582' applicant_email: aschuster@example.com applicant_region: 'Toshkent shahri' subject: 'Quo omnis nostrum aut.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' body: 'Nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora. Voluptatem laboriosam praesentium quis adipisci.' response: null access_code: DL5625 ip: 11.196.14.107 user_agent: null history: [] properties: data: type: object properties: id: type: integer example: 118 tracking_number: type: string example: 2026/09-6775 type: type: string example: application status: type: string example: received is_anonymous: type: boolean example: false applicant_name: type: string example: 'Jermaine Tillman' applicant_phone: type: string example: '+998902631582' applicant_email: type: string example: aschuster@example.com applicant_region: type: string example: 'Toshkent shahri' subject: type: string example: 'Quo omnis nostrum aut.' locale: type: string example: uz deadline_at: type: string example: '2026-10-01T07:21:36+00:00' is_overdue: type: boolean example: false status_changed_at: type: string example: '2026-09-16T07:21:36+00:00' responded_at: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' body: type: string example: 'Nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora. Voluptatem laboriosam praesentium quis adipisci.' response: type: string example: null nullable: true access_code: type: string example: DL5625 ip: type: string example: 11.196.14.107 user_agent: type: string example: null nullable: true history: type: array example: [] tags: - 'Admin — murojaatlar' parameters: - in: path name: id description: 'The ID of the appeal.' example: '564' required: true schema: type: string '/api/v1/admin/appeals/{id}/status': patch: summary: "Holatni o'zgartirish" operationId: holatniOzgartirish description: "Har bir o'zgarish tarixga yoziladi va fuqaro holat sahifasida ko'radi.\n`answered` uchun `response` shart." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 119 tracking_number: 2026/09-4027 type: application status: received is_anonymous: false applicant_name: 'Mr. Gerhard Dach Jr.' applicant_phone: '+998906980841' applicant_email: cecil42@example.com applicant_region: 'Toshkent shahri' subject: 'Perspiciatis quo omnis nostrum aut adipisci.' locale: uz deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false status_changed_at: '2026-09-16T07:21:36+00:00' responded_at: null created_at: '2026-09-16T07:21:36+00:00' body: 'Qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.' response: null access_code: MI9365 ip: 158.16.197.2 user_agent: null history: [] properties: data: type: object properties: id: type: integer example: 119 tracking_number: type: string example: 2026/09-4027 type: type: string example: application status: type: string example: received is_anonymous: type: boolean example: false applicant_name: type: string example: 'Mr. Gerhard Dach Jr.' applicant_phone: type: string example: '+998906980841' applicant_email: type: string example: cecil42@example.com applicant_region: type: string example: 'Toshkent shahri' subject: type: string example: 'Perspiciatis quo omnis nostrum aut adipisci.' locale: type: string example: uz deadline_at: type: string example: '2026-10-01T07:21:36+00:00' is_overdue: type: boolean example: false status_changed_at: type: string example: '2026-09-16T07:21:36+00:00' responded_at: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' body: type: string example: 'Qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.' response: type: string example: null nullable: true access_code: type: string example: MI9365 ip: type: string example: 158.16.197.2 user_agent: type: string example: null nullable: true history: type: array example: [] tags: - 'Admin — murojaatlar' requestBody: required: true content: application/json: schema: type: object properties: status: type: string description: 'received, in_review, info_requested, answered, rejected.' example: in_review note: type: string description: "Fuqaroga ko'rinadigan izoh." example: "Ariza mas'ul bo'limga yuborildi." nullable: true response: type: string description: 'Yakuniy javob (`answered` uchun shart).' example: 'Kredit 2026 yil 1 sentabrdan ajratiladi.' nullable: true required: - status parameters: - in: path name: id description: 'The ID of the appeal.' example: '564' required: true schema: type: string /api/v1/admin/assistant/knowledge: get: summary: "Bilim bazasining qo'lda yoziladigan qismi" operationId: bilimBazasiningQoldaYoziladiganQismi description: "Bazada yozuv bo'lmasa yordamchi repodagi faylni ishlatadi — muharrir ham\naynan shu matnni ko'rsatadi, aks holda xodim bo'sh maydondan boshlab\nmavjud bilimni yo'qotib qo'yardi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: content: '## Manzil...' updated_at: null source: file errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: object properties: content: type: string example: '## Manzil...' updated_at: type: string example: null nullable: true source: type: string example: file errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — raqamli yordamchi' put: summary: 'Bilim bazasini yangilash' operationId: bilimBazasiniYangilash description: '' parameters: [] responses: { } tags: - 'Admin — raqamli yordamchi' requestBody: required: true content: application/json: schema: type: object properties: content: type: string description: 'Markdown matn.' example: '## Manzil...' required: - content /api/v1/admin/assistant/sessions: get: summary: "Suhbatlar ro'yxati" operationId: suhbatlarRoyxati description: '' parameters: - in: query name: 'filter[search]' description: "Qurilma, ism yoki telefon bo'yicha qidiruv." example: Xusan required: false schema: type: string description: "Qurilma, ism yoki telefon bo'yicha qidiruv." example: Xusan - in: query name: 'filter[device_id]' description: "Qurilma belgisi bo'yicha qisman qidiruv." example: dev-3f required: false schema: type: string description: "Qurilma belgisi bo'yicha qisman qidiruv." example: dev-3f - in: query name: 'filter[locale]' description: 'uz, ru yoki uz_cyrl.' example: uz required: false schema: type: string description: 'uz, ru yoki uz_cyrl.' example: uz - in: query name: 'filter[with_phone]' description: 'Faqat telefon qoldirganlar.' example: true required: false schema: type: boolean description: 'Faqat telefon qoldirganlar.' example: true - in: query name: 'filter[human_takeover]' description: "Faqat xodim qo'lidagi suhbatlar." example: true required: false schema: type: boolean description: "Faqat xodim qo'lidagi suhbatlar." example: true - in: query name: sort description: "last_seen_at, messages_count yoki id; oldiga `-` qo'yilsa teskari." example: '-last_seen_at' required: false schema: type: string description: "last_seen_at, messages_count yoki id; oldiga `-` qo'yilsa teskari." example: '-last_seen_at' - in: query name: per_page description: '' example: 20 required: false schema: type: integer description: '' example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 281 device_id: dev-gz37449171 ip: 156.179.93.117 locale: uz name: null phone: null human_takeover: false messages_count: 0 daily_count: 0 last_seen_at: null created_at: '2026-09-16T07:21:36+00:00' - id: 282 device_id: dev-vd73089432 ip: 197.200.161.23 locale: uz name: null phone: null human_takeover: false messages_count: 0 daily_count: 0 last_seen_at: null created_at: '2026-09-16T07:21:36+00:00' properties: data: type: array example: - id: 281 device_id: dev-gz37449171 ip: 156.179.93.117 locale: uz name: null phone: null human_takeover: false messages_count: 0 daily_count: 0 last_seen_at: null created_at: '2026-09-16T07:21:36+00:00' - id: 282 device_id: dev-vd73089432 ip: 197.200.161.23 locale: uz name: null phone: null human_takeover: false messages_count: 0 daily_count: 0 last_seen_at: null created_at: '2026-09-16T07:21:36+00:00' items: type: object properties: id: type: integer example: 281 device_id: type: string example: dev-gz37449171 ip: type: string example: 156.179.93.117 locale: type: string example: uz name: type: string example: null nullable: true phone: type: string example: null nullable: true human_takeover: type: boolean example: false messages_count: type: integer example: 0 daily_count: type: integer example: 0 last_seen_at: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Admin — raqamli yordamchi' '/api/v1/admin/assistant/sessions/{id}': get: summary: 'Bitta suhbat, xabarlari bilan' operationId: bittaSuhbatXabarlariBilan description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 283 device_id: dev-jn96548529 ip: 51.210.32.30 locale: uz name: null phone: null human_takeover: false messages_count: 0 daily_count: 0 last_seen_at: null created_at: '2026-09-16T07:21:36+00:00' properties: data: type: object properties: id: type: integer example: 283 device_id: type: string example: dev-jn96548529 ip: type: string example: 51.210.32.30 locale: type: string example: uz name: type: string example: null nullable: true phone: type: string example: null nullable: true human_takeover: type: boolean example: false messages_count: type: integer example: 0 daily_count: type: integer example: 0 last_seen_at: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Admin — raqamli yordamchi' delete: summary: "Suhbatni xabarlari bilan o'chirish" operationId: suhbatniXabarlariBilanOchirish description: '' parameters: [] responses: { } tags: - 'Admin — raqamli yordamchi' parameters: - in: path name: id description: 'The ID of the session.' example: '564' required: true schema: type: string '/api/v1/admin/assistant/sessions/{id}/messages': post: summary: 'Xodim javobi' operationId: xodimJavobi description: "Xabar `operator` rolida saqlanadi, suhbat xodim qo'liga o'tadi (yordamchi jim turadi)." parameters: [] responses: 201: description: '' content: application/json: schema: type: object example: status: ok message: Success data: id: 12 role: operator content: ... generator: null source: null created_at: '2026-09-11T12:00:00+00:00' human_takeover: true errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: object properties: id: type: integer example: 12 role: type: string example: operator content: type: string example: ... generator: type: string example: null nullable: true source: type: string example: null nullable: true created_at: type: string example: '2026-09-11T12:00:00+00:00' human_takeover: type: boolean example: true errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — raqamli yordamchi' requestBody: required: true content: application/json: schema: type: object properties: content: type: string description: 'Javob matni.' example: 'Hujjatlaringizni qabulxonaga olib keling.' required: - content parameters: - in: path name: id description: 'The ID of the session.' example: '564' required: true schema: type: string '/api/v1/admin/assistant/sessions/{id}/release': post: summary: 'Suhbatni yordamchiga qaytarish' operationId: suhbatniYordamchigaQaytarish description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: human_takeover: false errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: object properties: human_takeover: type: boolean example: false errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Admin — raqamli yordamchi' parameters: - in: path name: id description: 'The ID of the session.' example: '564' required: true schema: type: string /api/v1/admin/programs: get: summary: '' operationId: getApiV1AdminPrograms description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - Endpoints security: [] post: summary: '' operationId: postApiV1AdminPrograms description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b program_sector_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true sector: type: string description: '' example: greenhouse enum: - cotton - wheat - seed_wheat - commodity_wheat - machinery - fruit - potato - greenhouse - oilseed - livestock - fishery kind: type: string description: '' example: leasing enum: - credit - leasing - subsidy title: type: object description: '' example: [] properties: { } summary: type: object description: '' example: null properties: { } nullable: true body: type: object description: '' example: null properties: { } nullable: true required_documents: type: object description: '' example: null properties: { } nullable: true legal_document_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.min. example: 39 terms: type: array description: '' example: null items: type: object properties: borrower_type: type: string description: '' example: leasing_organization enum: - farmer - seed_farm - cluster - textile_enterprise - grain_receiver - leasing_organization - entrepreneur label: type: object description: '' example: [] properties: { } share_percent: type: number description: 'validation.min validation.max.' example: 1 nullable: true annual_rate: type: number description: 'validation.min validation.max.' example: 22 nullable: true bank_margin: type: number description: 'validation.min validation.max.' example: 7 nullable: true rate_discount_a: type: number description: 'validation.min validation.max.' example: 16 nullable: true rate_discount_b: type: number description: 'validation.min validation.max.' example: 17 nullable: true term_months: type: integer description: 'validation.min validation.max.' example: 15 nullable: true grace_months: type: integer description: 'validation.min validation.max.' example: 8 nullable: true note: type: object description: '' example: null properties: { } nullable: true sort_order: type: integer description: validation.min. example: 60 required: - borrower_type - label - sort_order faqs: type: array description: '' example: null items: type: object properties: id: type: integer description: '' example: 16 nullable: true question: type: object description: '' example: [] properties: { } answer: type: object description: '' example: [] properties: { } status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.min. example: 27 required: - question - answer required: - slug - sector - kind - title - status - sort_order security: [] '/api/v1/admin/programs/{program_id}': get: summary: '' operationId: getApiV1AdminProgramsProgram_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - Endpoints security: [] put: summary: '' operationId: putApiV1AdminProgramsProgram_id description: '' parameters: [] responses: { } tags: - Endpoints requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b program_sector_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true sector: type: string description: '' example: greenhouse enum: - cotton - wheat - seed_wheat - commodity_wheat - machinery - fruit - potato - greenhouse - oilseed - livestock - fishery kind: type: string description: '' example: subsidy enum: - credit - leasing - subsidy title: type: object description: '' example: null properties: { } summary: type: object description: '' example: null properties: { } nullable: true body: type: object description: '' example: null properties: { } nullable: true required_documents: type: object description: '' example: null properties: { } nullable: true legal_document_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.min. example: 39 terms: type: array description: '' example: null items: type: object properties: id: type: integer description: '' example: 16 nullable: true borrower_type: type: string description: '' example: seed_farm enum: - farmer - seed_farm - cluster - textile_enterprise - grain_receiver - leasing_organization - entrepreneur label: type: object description: '' example: null properties: { } share_percent: type: number description: 'validation.min validation.max.' example: 22 nullable: true annual_rate: type: number description: 'validation.min validation.max.' example: 7 nullable: true bank_margin: type: number description: 'validation.min validation.max.' example: 16 nullable: true rate_discount_a: type: number description: 'validation.min validation.max.' example: 17 nullable: true rate_discount_b: type: number description: 'validation.min validation.max.' example: 15 nullable: true term_months: type: integer description: 'validation.min validation.max.' example: 8 nullable: true grace_months: type: integer description: 'validation.min validation.max.' example: 1 nullable: true note: type: object description: '' example: null properties: { } nullable: true sort_order: type: integer description: validation.min. example: 42 faqs: type: array description: '' example: null items: type: object properties: id: type: integer description: '' example: 16 nullable: true question: type: object description: '' example: null properties: { } answer: type: object description: '' example: null properties: { } status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.min. example: 39 security: [] delete: summary: '' operationId: deleteApiV1AdminProgramsProgram_id description: '' parameters: [] responses: { } tags: - Endpoints security: [] parameters: - in: path name: program_id description: 'The ID of the program.' example: 15 required: true schema: type: integer /api/v1/login: post: summary: '' operationId: postApiV1Login description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 163 name: 'Mrs. Justina Gaylord' email: lafayette.considine@example.com created_at: '2026-09-16 07:21:37' updated_at: '2026-09-16 07:21:37' properties: data: type: object properties: id: type: integer example: 163 name: type: string example: 'Mrs. Justina Gaylord' email: type: string example: lafayette.considine@example.com created_at: type: string example: '2026-09-16 07:21:37' updated_at: type: string example: '2026-09-16 07:21:37' tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net password: type: string description: '' example: '|]|{+-' required: - email - password security: [] /api/v1/logout: post: summary: 'Revoke the current access token.' operationId: revokeTheCurrentAccessToken description: '' parameters: [] responses: { } tags: - Endpoints security: [] /api/v1/user: get: summary: '' operationId: getApiV1User description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 164 name: 'Viva Marquardt' email: hirthe.theo@example.com created_at: '2026-09-16 07:21:37' updated_at: '2026-09-16 07:21:37' properties: data: type: object properties: id: type: integer example: 164 name: type: string example: 'Viva Marquardt' email: type: string example: hirthe.theo@example.com created_at: type: string example: '2026-09-16 07:21:37' updated_at: type: string example: '2026-09-16 07:21:37' tags: - Endpoints security: [] put: summary: '' operationId: putApiV1User description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 166 name: 'Mrs. Justina Gaylord' email: cormier.nick@example.com created_at: '2026-09-16 07:21:37' updated_at: '2026-09-16 07:21:37' properties: data: type: object properties: id: type: integer example: 166 name: type: string example: 'Mrs. Justina Gaylord' email: type: string example: cormier.nick@example.com created_at: type: string example: '2026-09-16 07:21:37' updated_at: type: string example: '2026-09-16 07:21:37' tags: - Endpoints requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: validation.max. example: b email: type: string description: 'validation.email validation.max.' example: zbailey@example.net nullable: true password: type: string description: '' example: '|]|{+-' nullable: true required: - name security: [] delete: summary: '' operationId: deleteApiV1User description: '' parameters: [] responses: { } tags: - Endpoints security: [] '/api/v1/user/{id}': get: summary: '' operationId: getApiV1UserId description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 165 name: 'Jazlyn Keebler' email: ferne52@example.com created_at: '2026-09-16 07:21:37' updated_at: '2026-09-16 07:21:37' properties: data: type: object properties: id: type: integer example: 165 name: type: string example: 'Jazlyn Keebler' email: type: string example: ferne52@example.com created_at: type: string example: '2026-09-16 07:21:37' updated_at: type: string example: '2026-09-16 07:21:37' tags: - Endpoints security: [] parameters: - in: path name: id description: 'The ID of the user.' example: 1 required: true schema: type: integer /api/v1/photo-galleries: get: summary: '' operationId: getApiV1PhotoGalleries description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Amal muvaffaqiyatli bajarildi.' data: - id: 1 title: 'Paxta yig‘im-terimi, Sirdaryo viloyati' date: '2026-09-01' image_url: 'https://api.agrofin.uz/storage/268/hero-agro-poster.jpg' sort_order: 1 - id: 2 title: 'Bug‘doy hosilini moliyalashtirish seminari' date: '2026-06-01' image_url: 'https://api.agrofin.uz/storage/269/feed-news.jpg' sort_order: 2 - id: 3 title: 'Imtiyozli lizing texnikasini topshirish' date: '2026-05-01' image_url: 'https://api.agrofin.uz/storage/270/feed-tenders.jpg' sort_order: 3 - id: 4 title: 'Hamkor banklar bilan kengaytirilgan yig‘ilish' date: '2026-04-01' image_url: 'https://api.agrofin.uz/storage/271/feed-indicators.jpg' sort_order: 4 - id: 5 title: 'Issiqxona xo‘jaligiga tashrif, Toshkent viloyati' date: '2026-03-01' image_url: 'https://api.agrofin.uz/storage/272/hero-youtube-poster.jpg' sort_order: 5 - id: 6 title: 'Yillik hisobot taqdimoti' date: '2026-02-01' image_url: 'https://api.agrofin.uz/storage/273/hero-agro-poster.jpg' sort_order: 6 - id: 7 title: 'Klaster rahbarlari bilan davra suhbati' date: '2026-01-01' image_url: 'https://api.agrofin.uz/storage/274/feed-news.jpg' sort_order: 7 - id: 8 title: 'G‘alla qabul punkti, Jizzax viloyati' date: '2025-07-01' image_url: 'https://api.agrofin.uz/storage/275/feed-tenders.jpg' sort_order: 8 - id: 9 title: 'Kartoshkachilik xo‘jaligi, Samarqand viloyati' date: '2025-06-01' image_url: 'https://api.agrofin.uz/storage/276/feed-indicators.jpg' sort_order: 9 - id: 10 title: 'Subsidiya mexanizmlari bo‘yicha mintaqaviy seminar' date: '2025-05-01' image_url: 'https://api.agrofin.uz/storage/277/hero-youtube-poster.jpg' sort_order: 10 errors: null meta: pagination: total: 12 per_page: 10 current_page: 1 last_page: 2 from: 1 to: 10 path: 'https://api.agrofin.uz/api/v1/photo-galleries' first_page_url: 'https://api.agrofin.uz/api/v1/photo-galleries?page=1' last_page_url: 'https://api.agrofin.uz/api/v1/photo-galleries?page=2' next_page_url: 'https://api.agrofin.uz/api/v1/photo-galleries?page=2' prev_page_url: null properties: status: type: string example: ok message: type: string example: 'Amal muvaffaqiyatli bajarildi.' data: type: array example: - id: 1 title: 'Paxta yig‘im-terimi, Sirdaryo viloyati' date: '2026-09-01' image_url: 'https://api.agrofin.uz/storage/268/hero-agro-poster.jpg' sort_order: 1 - id: 2 title: 'Bug‘doy hosilini moliyalashtirish seminari' date: '2026-06-01' image_url: 'https://api.agrofin.uz/storage/269/feed-news.jpg' sort_order: 2 - id: 3 title: 'Imtiyozli lizing texnikasini topshirish' date: '2026-05-01' image_url: 'https://api.agrofin.uz/storage/270/feed-tenders.jpg' sort_order: 3 - id: 4 title: 'Hamkor banklar bilan kengaytirilgan yig‘ilish' date: '2026-04-01' image_url: 'https://api.agrofin.uz/storage/271/feed-indicators.jpg' sort_order: 4 - id: 5 title: 'Issiqxona xo‘jaligiga tashrif, Toshkent viloyati' date: '2026-03-01' image_url: 'https://api.agrofin.uz/storage/272/hero-youtube-poster.jpg' sort_order: 5 - id: 6 title: 'Yillik hisobot taqdimoti' date: '2026-02-01' image_url: 'https://api.agrofin.uz/storage/273/hero-agro-poster.jpg' sort_order: 6 - id: 7 title: 'Klaster rahbarlari bilan davra suhbati' date: '2026-01-01' image_url: 'https://api.agrofin.uz/storage/274/feed-news.jpg' sort_order: 7 - id: 8 title: 'G‘alla qabul punkti, Jizzax viloyati' date: '2025-07-01' image_url: 'https://api.agrofin.uz/storage/275/feed-tenders.jpg' sort_order: 8 - id: 9 title: 'Kartoshkachilik xo‘jaligi, Samarqand viloyati' date: '2025-06-01' image_url: 'https://api.agrofin.uz/storage/276/feed-indicators.jpg' sort_order: 9 - id: 10 title: 'Subsidiya mexanizmlari bo‘yicha mintaqaviy seminar' date: '2025-05-01' image_url: 'https://api.agrofin.uz/storage/277/hero-youtube-poster.jpg' sort_order: 10 items: type: object properties: id: type: integer example: 1 title: type: string example: 'Paxta yig‘im-terimi, Sirdaryo viloyati' date: type: string example: '2026-09-01' image_url: type: string example: 'https://api.agrofin.uz/storage/268/hero-agro-poster.jpg' sort_order: type: integer example: 1 errors: type: string example: null nullable: true meta: type: object properties: pagination: type: object properties: total: type: integer example: 12 per_page: type: integer example: 10 current_page: type: integer example: 1 last_page: type: integer example: 2 from: type: integer example: 1 to: type: integer example: 10 path: type: string example: 'https://api.agrofin.uz/api/v1/photo-galleries' first_page_url: type: string example: 'https://api.agrofin.uz/api/v1/photo-galleries?page=1' last_page_url: type: string example: 'https://api.agrofin.uz/api/v1/photo-galleries?page=2' next_page_url: type: string example: 'https://api.agrofin.uz/api/v1/photo-galleries?page=2' prev_page_url: type: string example: null nullable: true tags: - 'Fotogalereya (Photo Gallery)' security: [] /api/v1/admin/photo-galleries: get: summary: '' operationId: getApiV1AdminPhotoGalleries description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Fotogalereya — boshqaruv' post: summary: '' operationId: postApiV1AdminPhotoGalleries description: '' parameters: [] responses: { } tags: - 'Fotogalereya — boshqaruv' requestBody: required: true content: multipart/form-data: schema: type: object properties: title: type: object description: '' example: [] properties: { } date: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true image_url: type: string description: validation.max. example: 'http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html' nullable: true photo: type: string format: binary description: 'validation.image validation.max.' nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 required: - title '/api/v1/admin/photo-galleries/{photoGallery_id}': get: summary: '' operationId: getApiV1AdminPhotoGalleriesPhotoGallery_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Fotogalereya — boshqaruv' put: summary: '' operationId: putApiV1AdminPhotoGalleriesPhotoGallery_id description: '' parameters: [] responses: { } tags: - 'Fotogalereya — boshqaruv' requestBody: required: false content: multipart/form-data: schema: type: object properties: title: type: object description: '' example: null properties: { } date: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true image_url: type: string description: validation.max. example: 'http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html' nullable: true photo: type: string format: binary description: 'validation.image validation.max.' nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 delete: summary: '' operationId: deleteApiV1AdminPhotoGalleriesPhotoGallery_id description: '' parameters: [] responses: { } tags: - 'Fotogalereya — boshqaruv' parameters: - in: path name: photoGallery_id description: 'The ID of the photoGallery.' example: 1 required: true schema: type: integer /api/v1/admin/users: get: summary: '' operationId: getApiV1AdminUsers description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Foydalanuvchilar (Admin Users)' post: summary: '' operationId: postApiV1AdminUsers description: '' parameters: [] responses: { } tags: - 'Foydalanuvchilar (Admin Users)' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: validation.max. example: b email: type: string description: 'validation.email validation.max.' example: zbailey@example.net password: type: string description: validation.min. example: '-0pBNvYgxw' status: type: integer description: '' example: 0 enum: - 1 - 0 roles: type: array description: 'Must match an existing stored value.' example: - architecto items: type: string required: - name - email - password '/api/v1/admin/users/{user_id}': get: summary: '' operationId: getApiV1AdminUsersUser_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Foydalanuvchilar (Admin Users)' put: summary: '' operationId: putApiV1AdminUsersUser_id description: '' parameters: [] responses: { } tags: - 'Foydalanuvchilar (Admin Users)' requestBody: required: false content: application/json: schema: type: object properties: name: type: string description: validation.max. example: b email: type: string description: 'validation.email validation.max.' example: zbailey@example.net password: type: string description: validation.min. example: '-0pBNvYgxw' nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 roles: type: array description: 'Must match an existing stored value.' example: - architecto items: type: string delete: summary: '' operationId: deleteApiV1AdminUsersUser_id description: '' parameters: [] responses: { } tags: - 'Foydalanuvchilar (Admin Users)' parameters: - in: path name: user_id description: 'The ID of the user.' example: 1 required: true schema: type: integer /api/v1/reception-slots: get: summary: 'Qabul jadvali' operationId: qabulJadvali description: "Shanba, yakshanba va bayram kunlari qabul o'tkazilmaydi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 82 full_name: 'Jarred Williamson' position: 'Bindery Machine Operator' address: "170 Lexus Stream Apt. 969\nNew Camylleland, CA 21265-6781" weekday: wednesday starts_at: '10:00' ends_at: '12:00' phone: null - id: 83 full_name: 'Derek Powlowski' position: 'Private Sector Executive' address: "61265 Annette Rue\nLake Toni, MO 49885" weekday: monday starts_at: '10:00' ends_at: '12:00' phone: null properties: data: type: array example: - id: 82 full_name: 'Jarred Williamson' position: 'Bindery Machine Operator' address: "170 Lexus Stream Apt. 969\nNew Camylleland, CA 21265-6781" weekday: wednesday starts_at: '10:00' ends_at: '12:00' phone: null - id: 83 full_name: 'Derek Powlowski' position: 'Private Sector Executive' address: "61265 Annette Rue\nLake Toni, MO 49885" weekday: monday starts_at: '10:00' ends_at: '12:00' phone: null items: type: object properties: id: type: integer example: 82 full_name: type: string example: 'Jarred Williamson' position: type: string example: 'Bindery Machine Operator' address: type: string example: "170 Lexus Stream Apt. 969\nNew Camylleland, CA 21265-6781" weekday: type: string example: wednesday starts_at: type: string example: '10:00' ends_at: type: string example: '12:00' phone: type: string example: null nullable: true tags: - 'Fuqarolar qabuli' security: [] /api/v1/admin/doc-types: get: summary: '' operationId: getApiV1AdminDocTypes description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Hujjat turlari — boshqaruv' post: summary: '' operationId: postApiV1AdminDocTypes description: '' parameters: [] responses: { } tags: - 'Hujjat turlari — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: name: type: object description: '' example: [] properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - name - slug '/api/v1/admin/doc-types/{docType_id}': get: summary: '' operationId: getApiV1AdminDocTypesDocType_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Hujjat turlari — boshqaruv' put: summary: '' operationId: putApiV1AdminDocTypesDocType_id description: '' parameters: [] responses: { } tags: - 'Hujjat turlari — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: name: type: object description: '' example: null properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminDocTypesDocType_id description: '' parameters: [] responses: { } tags: - 'Hujjat turlari — boshqaruv' parameters: - in: path name: docType_id description: 'The ID of the docType.' example: 1 required: true schema: type: integer /api/v1/history-milestones: get: summary: '' operationId: getApiV1HistoryMilestones description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Amal muvaffaqiyatli bajarildi.' data: - id: 1 date: '2018-yil 12-iyul' text: 'Vazirlar Mahkamasining 533-son qarori bilan Jamg‘arma to‘g‘risidagi Nizom tasdiqlandi.' sort_order: 1 - id: 2 date: '2021-yil 26-fevral' text: 'Prezidentning PF–6179-son Farmoni bilan Jamg‘arma faoliyati tubdan takomillashtirildi va Jamg‘armani boshqarish departamenti tashkil etildi.' sort_order: 2 - id: 3 date: '2023-yil 25-dekabr' text: 'Vazirlar Mahkamasining 680-son qarori bilan paxta xom ashyosini yetishtirish va yig‘im-terimni kreditlashning amaldagi tartibi belgilandi.' sort_order: 3 - id: 4 date: '2026-yil 8-may' text: 'Prezidentning PF–82-son Farmoni bilan paxta va bug‘doy yetishtiruvchilarni qo‘llab-quvvatlashning qo‘shimcha choralari va Departamentning amaldagi tuzilmasi tasdiqlandi.' sort_order: 4 errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Amal muvaffaqiyatli bajarildi.' data: type: array example: - id: 1 date: '2018-yil 12-iyul' text: 'Vazirlar Mahkamasining 533-son qarori bilan Jamg‘arma to‘g‘risidagi Nizom tasdiqlandi.' sort_order: 1 - id: 2 date: '2021-yil 26-fevral' text: 'Prezidentning PF–6179-son Farmoni bilan Jamg‘arma faoliyati tubdan takomillashtirildi va Jamg‘armani boshqarish departamenti tashkil etildi.' sort_order: 2 - id: 3 date: '2023-yil 25-dekabr' text: 'Vazirlar Mahkamasining 680-son qarori bilan paxta xom ashyosini yetishtirish va yig‘im-terimni kreditlashning amaldagi tartibi belgilandi.' sort_order: 3 - id: 4 date: '2026-yil 8-may' text: 'Prezidentning PF–82-son Farmoni bilan paxta va bug‘doy yetishtiruvchilarni qo‘llab-quvvatlashning qo‘shimcha choralari va Departamentning amaldagi tuzilmasi tasdiqlandi.' sort_order: 4 items: type: object properties: id: type: integer example: 1 date: type: string example: '2018-yil 12-iyul' text: type: string example: 'Vazirlar Mahkamasining 533-son qarori bilan Jamg‘arma to‘g‘risidagi Nizom tasdiqlandi.' sort_order: type: integer example: 1 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Jamg'arma tarixi (History Milestones)" security: [] /api/v1/admin/history-milestones: get: summary: '' operationId: getApiV1AdminHistoryMilestones description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Jamg'arma tarixi — boshqaruv" post: summary: '' operationId: postApiV1AdminHistoryMilestones description: '' parameters: [] responses: { } tags: - "Jamg'arma tarixi — boshqaruv" requestBody: required: true content: application/json: schema: type: object properties: date: type: object description: '' example: [] properties: { } text: type: object description: '' example: [] properties: { } status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - date - text '/api/v1/admin/history-milestones/{historyMilestone_id}': get: summary: '' operationId: getApiV1AdminHistoryMilestonesHistoryMilestone_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Jamg'arma tarixi — boshqaruv" put: summary: '' operationId: putApiV1AdminHistoryMilestonesHistoryMilestone_id description: '' parameters: [] responses: { } tags: - "Jamg'arma tarixi — boshqaruv" requestBody: required: false content: application/json: schema: type: object properties: date: type: object description: '' example: null properties: { } text: type: object description: '' example: null properties: { } status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminHistoryMilestonesHistoryMilestone_id description: '' parameters: [] responses: { } tags: - "Jamg'arma tarixi — boshqaruv" parameters: - in: path name: historyMilestone_id description: 'The ID of the historyMilestone.' example: 1 required: true schema: type: integer /api/v1/auth/register: post: summary: '' operationId: postApiV1AuthRegister description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: validation.max. example: b email: type: string description: 'validation.email validation.max.' example: zbailey@example.net password: type: string description: validation.min. example: '-0pBNvYgxw' required: - name - email - password security: [] /api/v1/auth/verify-email: post: summary: '' operationId: postApiV1AuthVerifyEmail description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net code: type: string description: validation.size. example: miyvdl required: - email - code security: [] /api/v1/auth/login: post: summary: '' operationId: postApiV1AuthLogin description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net password: type: string description: '' example: '|]|{+-' required: - email - password security: [] /api/v1/auth/resend-code: post: summary: '' operationId: postApiV1AuthResendCode description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net type: type: string description: '' example: password_reset enum: - register - password_reset required: - email - type security: [] /api/v1/auth/forgot-password: post: summary: '' operationId: postApiV1AuthForgotPassword description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net required: - email security: [] /api/v1/auth/reset-password: post: summary: '' operationId: postApiV1AuthResetPassword description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' requestBody: required: true content: application/json: schema: type: object properties: email: type: string description: validation.email. example: gbailey@example.net code: type: string description: validation.size. example: miyvdl password: type: string description: validation.min. example: 'vYgxwmi/#' required: - email - code - password security: [] /api/v1/auth/me: get: summary: '' operationId: getApiV1AuthMe description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Mijoz autentifikatsiyasi (Client Auth)' security: [] /api/v1/auth/logout: post: summary: '' operationId: postApiV1AuthLogout description: '' parameters: [] responses: { } tags: - 'Mijoz autentifikatsiyasi (Client Auth)' security: [] /api/v1/programs: get: summary: "Dasturlar ro'yxati" operationId: dasturlarRoyxati description: '' parameters: - in: query name: 'filter[sector]' description: "Yo'nalish." example: cotton required: false schema: type: string description: "Yo'nalish." example: cotton - in: query name: 'filter[kind]' description: 'Turi: credit, leasing, subsidy.' example: credit required: false schema: type: string description: 'Turi: credit, leasing, subsidy.' example: credit - in: query name: 'filter[search]' description: "Sarlavha bo'yicha qidiruv." example: paxta required: false schema: type: string description: "Sarlavha bo'yicha qidiruv." example: paxta - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 205 slug: fugiat-sunt-nihil sector: cotton kind: credit title: 'Mollitia modi deserunt aut ab provident perspiciatis quo.' summary: 'Aut adipisci quidem nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora.' body: null required_documents: null - id: 206 slug: voluptatem-laboriosam-praesentium sector: cotton kind: credit title: 'Molestias fugit deleniti distinctio eum doloremque id.' summary: 'Aliquam veniam corporis dolorem mollitia deleniti nemo. Quia officia est dignissimos neque. Odio veritatis excepturi doloribus delectus fugit qui repudiandae. Est alias tenetur ratione.' body: null required_documents: null properties: data: type: array example: - id: 205 slug: fugiat-sunt-nihil sector: cotton kind: credit title: 'Mollitia modi deserunt aut ab provident perspiciatis quo.' summary: 'Aut adipisci quidem nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora.' body: null required_documents: null - id: 206 slug: voluptatem-laboriosam-praesentium sector: cotton kind: credit title: 'Molestias fugit deleniti distinctio eum doloremque id.' summary: 'Aliquam veniam corporis dolorem mollitia deleniti nemo. Quia officia est dignissimos neque. Odio veritatis excepturi doloribus delectus fugit qui repudiandae. Est alias tenetur ratione.' body: null required_documents: null items: type: object properties: id: type: integer example: 205 slug: type: string example: fugiat-sunt-nihil sector: type: string example: cotton kind: type: string example: credit title: type: string example: 'Mollitia modi deserunt aut ab provident perspiciatis quo.' summary: type: string example: 'Aut adipisci quidem nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora.' body: type: string example: null nullable: true required_documents: type: string example: null nullable: true tags: - 'Moliyalashtirish dasturlari' security: [] /api/v1/programs/match: get: summary: 'Sizga mos moliyalashtirishni toping' operationId: sizgaMosMoliyalashtirishniToping description: 'Uchta savolga javob asosida mos dasturlarni qaytaradi.' parameters: - in: query name: borrower_type description: 'Qarz oluvchi turi yoki vergul bilan bir nechtasi.' example: 'farmer,seed_farm' required: false schema: type: string description: 'Qarz oluvchi turi yoki vergul bilan bir nechtasi.' example: 'farmer,seed_farm' - in: query name: sector description: "Yo'nalish yoki vergul bilan bir nechtasi." example: 'cotton,wheat' required: false schema: type: string description: "Yo'nalish yoki vergul bilan bir nechtasi." example: 'cotton,wheat' - in: query name: kind description: 'Turi: credit, leasing, subsidy.' example: credit required: false schema: type: string description: 'Turi: credit, leasing, subsidy.' example: credit responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 207 slug: et-animi-quos sector: commodity_wheat kind: credit title: 'Fugiat sunt nihil accusantium harum mollitia.' summary: 'Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.' body: null required_documents: null - id: 208 slug: adipisci-molestias-fugit-deleniti sector: oilseed kind: credit title: 'Doloremque id aut libero aliquam veniam corporis.' summary: 'Deleniti nemo odit quia officia. Dignissimos neque blanditiis odio. Excepturi doloribus delectus fugit qui repudiandae laboriosam.' body: null required_documents: null properties: data: type: array example: - id: 207 slug: et-animi-quos sector: commodity_wheat kind: credit title: 'Fugiat sunt nihil accusantium harum mollitia.' summary: 'Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.' body: null required_documents: null - id: 208 slug: adipisci-molestias-fugit-deleniti sector: oilseed kind: credit title: 'Doloremque id aut libero aliquam veniam corporis.' summary: 'Deleniti nemo odit quia officia. Dignissimos neque blanditiis odio. Excepturi doloribus delectus fugit qui repudiandae laboriosam.' body: null required_documents: null items: type: object properties: id: type: integer example: 207 slug: type: string example: et-animi-quos sector: type: string example: commodity_wheat kind: type: string example: credit title: type: string example: 'Fugiat sunt nihil accusantium harum mollitia.' summary: type: string example: 'Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.' body: type: string example: null nullable: true required_documents: type: string example: null nullable: true tags: - 'Moliyalashtirish dasturlari' requestBody: required: false content: application/json: schema: type: object properties: borrower_type: type: string description: validation.max. example: b nullable: true sector: type: string description: validation.max. example: 'n' nullable: true kind: type: string description: '' example: architecto enum: - credit - leasing - subsidy nullable: true borrower_types: type: array description: '' example: - architecto items: type: string enum: - farmer - seed_farm - cluster - textile_enterprise - grain_receiver - leasing_organization - entrepreneur sectors: type: array description: '' example: - architecto items: type: string enum: - cotton - wheat - seed_wheat - commodity_wheat - machinery - fruit - potato - greenhouse - oilseed - livestock - fishery security: [] '/api/v1/programs/{slug}': get: summary: 'Bitta dastur' operationId: bittaDastur description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 209 slug: et-fugiat-sunt sector: commodity_wheat kind: credit title: 'Harum mollitia modi deserunt aut ab provident perspiciatis quo.' summary: 'Aut adipisci quidem nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora.' body: null required_documents: null properties: data: type: object properties: id: type: integer example: 209 slug: type: string example: et-fugiat-sunt sector: type: string example: commodity_wheat kind: type: string example: credit title: type: string example: 'Harum mollitia modi deserunt aut ab provident perspiciatis quo.' summary: type: string example: 'Aut adipisci quidem nostrum qui commodi incidunt iure. Et et modi ipsum nostrum. Autem et consequatur aut dolores enim non facere tempora.' body: type: string example: null nullable: true required_documents: type: string example: null nullable: true tags: - 'Moliyalashtirish dasturlari' security: [] parameters: - in: path name: slug description: 'Dastur manzili.' example: paxta-yetishtirish required: true schema: type: string /api/v1/appeals: post: summary: 'Murojaat yuborish' operationId: murojaatYuborish description: "Javobda `tracking_number` va `access_code` qaytadi — ikkalasi holatni\ntekshirish uchun kerak. Anonim yuborish faqat `corruption` va\n`conflict_of_interest` turlarida mumkin." parameters: [] responses: 201: description: '' content: application/json: schema: type: object example: status: ok message: 'Murojaatingiz qabul qilindi.' data: tracking_number: 2026/09-0001 access_code: K7M4QP status: received deadline_at: '2026-09-27T10:00:00+00:00' created_at: '2026-09-12T10:00:00+00:00' errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Murojaatingiz qabul qilindi.' data: type: object properties: tracking_number: type: string example: 2026/09-0001 access_code: type: string example: K7M4QP status: type: string example: received deadline_at: type: string example: '2026-09-27T10:00:00+00:00' created_at: type: string example: '2026-09-12T10:00:00+00:00' errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - Murojaatlar requestBody: required: true content: application/json: schema: type: object properties: type: type: string description: 'application, complaint, proposal, corruption yoki conflict_of_interest.' example: application is_anonymous: type: boolean description: 'Faqat korrupsiya kanalida.' example: false applicant_name: type: string description: "Anonim bo'lmasa shart." example: 'Alisher Karimov' applicant_phone: type: string description: "Anonim bo'lmasa shart." example: '+998901234567' applicant_email: type: string description: '' example: alisher@example.com nullable: true applicant_region: type: string description: '' example: "Farg'ona viloyati" nullable: true subject: type: string description: '5–200 belgi.' example: "Bug'doy krediti bo'yicha savol" body: type: string description: '20–5000 belgi.' example: '2026 yil hosili uchun kredit ajratish muddati qachon boshlanadi?' website: type: string description: '' example: null required: - type - subject - body security: [] /api/v1/appeals/status: post: summary: 'Murojaat holatini tekshirish' operationId: murojaatHolatiniTekshirish description: 'POST, chunki kirish kodi URL va server jurnallariga tushmasligi kerak.' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: tracking_number: 2026/09-7195 type: application subject: 'Nostrum omnis autem et.' body: 'Dolores enim non facere tempora. Voluptatem laboriosam praesentium quis adipisci. Fugit deleniti distinctio eum doloremque id aut libero. Veniam corporis dolorem mollitia.' status: received is_final: false response: null responded_at: null deadline_at: '2026-10-01T07:21:36+00:00' is_overdue: false created_at: '2026-09-16T07:21:36+00:00' history: [] properties: data: type: object properties: tracking_number: type: string example: 2026/09-7195 type: type: string example: application subject: type: string example: 'Nostrum omnis autem et.' body: type: string example: 'Dolores enim non facere tempora. Voluptatem laboriosam praesentium quis adipisci. Fugit deleniti distinctio eum doloremque id aut libero. Veniam corporis dolorem mollitia.' status: type: string example: received is_final: type: boolean example: false response: type: string example: null nullable: true responded_at: type: string example: null nullable: true deadline_at: type: string example: '2026-10-01T07:21:36+00:00' is_overdue: type: boolean example: false created_at: type: string example: '2026-09-16T07:21:36+00:00' history: type: array example: [] 404: description: '' content: application/json: schema: type: object example: status: error message: 'Murojaat topilmadi. Raqam va kirish kodini tekshiring.' data: [] errors: error: 'Murojaat topilmadi. Raqam va kirish kodini tekshiring.' meta: null properties: status: type: string example: error message: type: string example: 'Murojaat topilmadi. Raqam va kirish kodini tekshiring.' data: type: array example: [] errors: type: object properties: error: type: string example: 'Murojaat topilmadi. Raqam va kirish kodini tekshiring.' meta: type: string example: null nullable: true tags: - Murojaatlar requestBody: required: true content: application/json: schema: type: object properties: tracking_number: type: string description: '' example: 2026/09-0001 access_code: type: string description: '' example: K7M4QP required: - tracking_number - access_code security: [] /api/v1/legal-documents: get: summary: 'Hujjatlar reestri' operationId: hujjatlarReestri description: '' parameters: - in: query name: 'filter[doc_type]' description: 'Hujjat turi.' example: cabinet_resolution required: false schema: type: string description: 'Hujjat turi.' example: cabinet_resolution - in: query name: 'filter[relevance]' description: 'Aloqadorlik darajasi.' example: direct_primary required: false schema: type: string description: 'Aloqadorlik darajasi.' example: direct_primary - in: query name: 'filter[state]' description: 'Holati: in_force, amended, repealed.' example: in_force required: false schema: type: string description: 'Holati: in_force, amended, repealed.' example: in_force - in: query name: 'filter[year]' description: 'Qabul qilingan yil.' example: 2023 required: false schema: type: integer description: 'Qabul qilingan yil.' example: 2023 - in: query name: 'filter[direction]' description: "Yo'nalish (joriy tildagi yorliq, `legal-documents/directions`dan)." example: Paxtachilik required: false schema: type: string description: "Yo'nalish (joriy tildagi yorliq, `legal-documents/directions`dan)." example: Paxtachilik - in: query name: 'filter[search]' description: "Sarlavha, yo'nalish yoki hujjat raqami bo'yicha qidiruv (har ikki yozuvda)." example: '680' required: false schema: type: string description: "Sarlavha, yo'nalish yoki hujjat raqami bo'yicha qidiruv (har ikki yozuvda)." example: '680' - in: query name: sort description: "Tartib: adopted_on, number, id (oldiga «-» qo'yilsa teskari)." example: '-adopted_on' required: false schema: type: string description: "Tartib: adopted_on, number, id (oldiga «-» qo'yilsa teskari)." example: '-adopted_on' - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 287 doc_type: presidential_resolution doc_type_title: null number: '690' adopted_on: '2021-09-26' title: 'Quis adipisci molestias fugit deleniti distinctio eum.' direction: 'doloremque id aut' relevance: direct state: in_force external_url: null - id: 288 doc_type: ministry_order doc_type_title: null number: '3374' adopted_on: '2026-08-27' title: 'Mollitia deleniti nemo odit quia officia.' direction: 'est dignissimos neque' relevance: related state: in_force external_url: null properties: data: type: array example: - id: 287 doc_type: presidential_resolution doc_type_title: null number: '690' adopted_on: '2021-09-26' title: 'Quis adipisci molestias fugit deleniti distinctio eum.' direction: 'doloremque id aut' relevance: direct state: in_force external_url: null - id: 288 doc_type: ministry_order doc_type_title: null number: '3374' adopted_on: '2026-08-27' title: 'Mollitia deleniti nemo odit quia officia.' direction: 'est dignissimos neque' relevance: related state: in_force external_url: null items: type: object properties: id: type: integer example: 287 doc_type: type: string example: presidential_resolution doc_type_title: type: string example: null nullable: true number: type: string example: '690' adopted_on: type: string example: '2021-09-26' title: type: string example: 'Quis adipisci molestias fugit deleniti distinctio eum.' direction: type: string example: 'doloremque id aut' relevance: type: string example: direct state: type: string example: in_force external_url: type: string example: null nullable: true tags: - 'Normativ hujjatlar' security: [] /api/v1/legal-documents/changes: get: summary: "So'nggi o'zgarishlar" operationId: songgiOzgarishlar description: "Qonunchilikka eng yaqinda o'zgartirish kiritilgan hujjatlar." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 289 doc_type: presidential_resolution doc_type_title: null number: '1789' adopted_on: '2024-09-21' title: 'Delectus fugit qui repudiandae laboriosam.' direction: 'est alias tenetur' relevance: direct_primary state: in_force external_url: null - id: 290 doc_type: charter doc_type_title: null number: '1104' adopted_on: '2021-04-23' title: 'Et recusandae modi rerum ex repellendus assumenda et.' direction: 'tenetur ab reiciendis' relevance: direct_primary state: in_force external_url: null properties: data: type: array example: - id: 289 doc_type: presidential_resolution doc_type_title: null number: '1789' adopted_on: '2024-09-21' title: 'Delectus fugit qui repudiandae laboriosam.' direction: 'est alias tenetur' relevance: direct_primary state: in_force external_url: null - id: 290 doc_type: charter doc_type_title: null number: '1104' adopted_on: '2021-04-23' title: 'Et recusandae modi rerum ex repellendus assumenda et.' direction: 'tenetur ab reiciendis' relevance: direct_primary state: in_force external_url: null items: type: object properties: id: type: integer example: 289 doc_type: type: string example: presidential_resolution doc_type_title: type: string example: null nullable: true number: type: string example: '1789' adopted_on: type: string example: '2024-09-21' title: type: string example: 'Delectus fugit qui repudiandae laboriosam.' direction: type: string example: 'est alias tenetur' relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true tags: - 'Normativ hujjatlar' security: [] /api/v1/legal-documents/directions: get: summary: "Yo'nalishlar ro'yxati" operationId: yonalishlarRoyxati description: "Faol hujjatlarda uchraydigan yo'nalish yorliqlari (joriy tilda) — saytdagi filtr uchun." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: - Chorvachilik - Lizing - Paxtachilik errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: array example: - Chorvachilik - Lizing - Paxtachilik items: type: string errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Normativ hujjatlar' security: [] /api/v1/legal-documents/types: get: summary: "Hujjat turlari ro'yxati" operationId: hujjatTurlariRoyxati description: 'Faol hujjat turlari (joriy tildagi sarlavha bilan) — saytdagi filtr uchun.' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: - slug: cabinet_resolution title: 'Vazirlar Mahkamasi qarori' errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: array example: - slug: cabinet_resolution title: 'Vazirlar Mahkamasi qarori' items: type: object properties: slug: type: string example: cabinet_resolution title: type: string example: 'Vazirlar Mahkamasi qarori' errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Normativ hujjatlar' security: [] '/api/v1/legal-documents/{id}': get: summary: "Bitta hujjat va uning o'zgartirishlar tarixi" operationId: bittaHujjatVaUningOzgartirishlarTarixi description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 291 doc_type: presidential_decree doc_type_title: null number: '9925' adopted_on: '2024-11-20' title: 'Accusantium harum mollitia modi deserunt aut ab.' direction: 'provident perspiciatis quo' relevance: direct_primary state: in_force external_url: null content: null files: [] properties: data: type: object properties: id: type: integer example: 291 doc_type: type: string example: presidential_decree doc_type_title: type: string example: null nullable: true number: type: string example: '9925' adopted_on: type: string example: '2024-11-20' title: type: string example: 'Accusantium harum mollitia modi deserunt aut ab.' direction: type: string example: 'provident perspiciatis quo' relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true content: type: string example: null nullable: true files: type: array example: [] tags: - 'Normativ hujjatlar' security: [] parameters: - in: path name: id description: 'Hujjat raqami.' example: 1 required: true schema: type: integer /api/v1/admin/legal-documents: get: summary: "Hujjatlar ro'yxati (nofaollari bilan)" operationId: hujjatlarRoyxatinofaollariBilan description: '' parameters: - in: query name: 'filter[status]' description: '1 — faol (saytda), 0 — nofaol.' example: 0 required: false schema: type: integer description: '1 — faol (saytda), 0 — nofaol.' example: 0 - in: query name: 'filter[doc_type]' description: 'Hujjat turi.' example: cabinet_resolution required: false schema: type: string description: 'Hujjat turi.' example: cabinet_resolution - in: query name: 'filter[relevance]' description: 'Aloqadorlik darajasi.' example: direct_primary required: false schema: type: string description: 'Aloqadorlik darajasi.' example: direct_primary - in: query name: 'filter[state]' description: 'Holati: in_force, amended, repealed.' example: in_force required: false schema: type: string description: 'Holati: in_force, amended, repealed.' example: in_force - in: query name: 'filter[year]' description: 'Qabul qilingan yil.' example: 2023 required: false schema: type: integer description: 'Qabul qilingan yil.' example: 2023 - in: query name: 'filter[direction]' description: "Yo'nalish (joriy tildagi yorliq)." example: Paxtachilik required: false schema: type: string description: "Yo'nalish (joriy tildagi yorliq)." example: Paxtachilik - in: query name: 'filter[search]' description: "Sarlavha, yo'nalish yoki raqam bo'yicha qidiruv." example: '680' required: false schema: type: string description: "Sarlavha, yo'nalish yoki raqam bo'yicha qidiruv." example: '680' - in: query name: sort description: "Tartib: adopted_on, number, id, sort_order (oldiga «-» qo'yilsa teskari)." example: '-adopted_on' required: false schema: type: string description: "Tartib: adopted_on, number, id, sort_order (oldiga «-» qo'yilsa teskari)." example: '-adopted_on' - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 292 doc_type: ministry_order number: '4387' adopted_on: '2020-12-02' title: uz: 'Nobis consequuntur facere est qui.' direction: uz: 'est minima quia' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: direct_primary state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' - id: 293 doc_type: presidential_resolution number: '2585' adopted_on: '2021-12-17' title: uz: 'Modi necessitatibus et tempora quidem aut.' direction: uz: 'sequi minima enim' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: related state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: array example: - id: 292 doc_type: ministry_order number: '4387' adopted_on: '2020-12-02' title: uz: 'Nobis consequuntur facere est qui.' direction: uz: 'est minima quia' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: direct_primary state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' - id: 293 doc_type: presidential_resolution number: '2585' adopted_on: '2021-12-17' title: uz: 'Modi necessitatibus et tempora quidem aut.' direction: uz: 'sequi minima enim' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: related state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' items: type: object properties: id: type: integer example: 292 doc_type: type: string example: ministry_order number: type: string example: '4387' adopted_on: type: string example: '2020-12-02' title: type: object properties: uz: type: string example: 'Nobis consequuntur facere est qui.' direction: type: object properties: uz: type: string example: 'est minima quia' legal_direction_id: type: string example: null nullable: true legal_direction: type: string example: null nullable: true legal_document_type_id: type: string example: null nullable: true document_type: type: string example: null nullable: true relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Normativ hujjatlar — boshqaruv' post: summary: 'Yangi hujjat' operationId: yangiHujjat description: "`status` yuborilmasa nofaol saqlanadi. Darhol faol (`status: 1`) qilish\n`publish legal-documents` ruxsatini talab qiladi. `revisions` bilan\no'zgartirishlar tarixini ham bir so'rovda kiritish mumkin." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 294 doc_type: ministry_order number: '9571' adopted_on: '2021-05-25' title: uz: 'Quos velit et fugiat sunt nihil accusantium harum.' direction: uz: 'mollitia modi deserunt' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: direct_primary state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' content: null files: [] properties: data: type: object properties: id: type: integer example: 294 doc_type: type: string example: ministry_order number: type: string example: '9571' adopted_on: type: string example: '2021-05-25' title: type: object properties: uz: type: string example: 'Quos velit et fugiat sunt nihil accusantium harum.' direction: type: object properties: uz: type: string example: 'mollitia modi deserunt' legal_direction_id: type: string example: null nullable: true legal_direction: type: string example: null nullable: true legal_document_type_id: type: string example: null nullable: true document_type: type: string example: null nullable: true relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' content: type: string example: null nullable: true files: type: array example: [] tags: - 'Normativ hujjatlar — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: doc_type: type: string description: validation.max. example: b enum: - presidential_decree - presidential_resolution - cabinet_resolution - ministry_order - charter - internal number: type: string description: validation.max. example: 'n' adopted_on: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2026-09-16' title: type: object description: '' example: [] properties: { } direction: type: object description: '' example: null properties: { } nullable: true content: type: object description: '' example: null properties: { } nullable: true legal_direction_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true legal_document_type_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true relevance: type: string description: '' example: direct enum: - direct_primary - direct - related state: type: string description: '' example: repealed enum: - in_force - amended - repealed external_url: type: string description: 'Must be a valid URL. validation.max.' example: 'http://bailey.com/' nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 revisions: type: array description: '' example: null items: type: object properties: id: type: string description: '' example: null changed_on: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2026-09-16' amending_document_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true summary: type: object description: '' example: [] properties: { } required: - changed_on - summary required: - doc_type - number - adopted_on - title - relevance '/api/v1/admin/legal-documents/{legalDocument_id}': get: summary: 'Bitta hujjat — tahrirlash uchun, barcha tillari, fayllari va tarixi bilan' operationId: bittaHujjatTahrirlashUchunBarchaTillariFayllariVaTarixiBilan description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 295 doc_type: presidential_decree number: '6748' adopted_on: '2025-12-13' title: uz: 'Omnis nostrum aut adipisci quidem nostrum qui commodi.' direction: uz: 'incidunt iure odit' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: related state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' content: null files: [] properties: data: type: object properties: id: type: integer example: 295 doc_type: type: string example: presidential_decree number: type: string example: '6748' adopted_on: type: string example: '2025-12-13' title: type: object properties: uz: type: string example: 'Omnis nostrum aut adipisci quidem nostrum qui commodi.' direction: type: object properties: uz: type: string example: 'incidunt iure odit' legal_direction_id: type: string example: null nullable: true legal_direction: type: string example: null nullable: true legal_document_type_id: type: string example: null nullable: true document_type: type: string example: null nullable: true relevance: type: string example: related state: type: string example: in_force external_url: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' content: type: string example: null nullable: true files: type: array example: [] tags: - 'Normativ hujjatlar — boshqaruv' put: summary: 'Hujjatni tahrirlash' operationId: hujjatniTahrirlash description: "Qisman yangilash: yuborilmagan maydonlar o'zgarmaydi. `revisions`\nyuborilsa, tarix to'liq shu ro'yxatga keltiriladi (id bor — yangilanadi,\nyo'q — qo'shiladi, ro'yxatda bo'lmagani — o'chiriladi). `status`ni\no'zgartirish `publish legal-documents` ruxsatini talab qiladi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 296 doc_type: ministry_order number: '6106' adopted_on: '2024-01-16' title: uz: 'Velit et fugiat sunt nihil accusantium.' direction: uz: 'harum mollitia modi' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: direct_primary state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' content: null files: [] properties: data: type: object properties: id: type: integer example: 296 doc_type: type: string example: ministry_order number: type: string example: '6106' adopted_on: type: string example: '2024-01-16' title: type: object properties: uz: type: string example: 'Velit et fugiat sunt nihil accusantium.' direction: type: object properties: uz: type: string example: 'harum mollitia modi' legal_direction_id: type: string example: null nullable: true legal_direction: type: string example: null nullable: true legal_document_type_id: type: string example: null nullable: true document_type: type: string example: null nullable: true relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' content: type: string example: null nullable: true files: type: array example: [] tags: - 'Normativ hujjatlar — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: doc_type: type: string description: validation.max. example: b enum: - presidential_decree - presidential_resolution - cabinet_resolution - ministry_order - charter - internal number: type: string description: validation.max. example: 'n' adopted_on: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2026-09-16' title: type: object description: '' example: null properties: { } direction: type: object description: '' example: null properties: { } nullable: true content: type: object description: '' example: null properties: { } nullable: true legal_direction_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true legal_document_type_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true relevance: type: string description: '' example: direct_primary enum: - direct_primary - direct - related state: type: string description: '' example: repealed enum: - in_force - amended - repealed external_url: type: string description: 'Must be a valid URL. validation.max.' example: 'http://bailey.com/' nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 revisions: type: array description: '' example: null items: type: object properties: id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true changed_on: type: string description: 'Must be a valid date in the format Y-m-d.' example: '2026-09-16' amending_document_id: type: integer description: 'Must not be one of Must match an existing stored value.' example: 16 nullable: true summary: type: object description: '' example: [] properties: { } required: - changed_on - summary delete: summary: "Hujjatni o'chirish" operationId: hujjatniOchirish description: "Yumshoq o'chirish — yozuv bazada qoladi va qaytarib olinishi mumkin." parameters: [] responses: { } tags: - 'Normativ hujjatlar — boshqaruv' parameters: - in: path name: legalDocument_id description: 'The ID of the legalDocument.' example: 113 required: true schema: type: integer - in: path name: legalDocument description: 'Hujjat raqami.' example: 1 required: true schema: type: integer '/api/v1/admin/legal-documents/{legalDocument_id}/files': post: summary: 'Yuklab olinadigan nusxani yuklash' operationId: yuklabOlinadiganNusxaniYuklash description: "Har bir til uchun bitta fayl: o'sha tilning avvalgi nusxasi almashadi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 297 doc_type: ministry_order number: '165' adopted_on: '2026-04-18' title: uz: 'Et fugiat sunt nihil accusantium.' direction: uz: 'harum mollitia modi' legal_direction_id: null legal_direction: null legal_document_type_id: null document_type: null relevance: direct_primary state: in_force external_url: null status: 1 sort_order: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' content: null files: [] properties: data: type: object properties: id: type: integer example: 297 doc_type: type: string example: ministry_order number: type: string example: '165' adopted_on: type: string example: '2026-04-18' title: type: object properties: uz: type: string example: 'Et fugiat sunt nihil accusantium.' direction: type: object properties: uz: type: string example: 'harum mollitia modi' legal_direction_id: type: string example: null nullable: true legal_direction: type: string example: null nullable: true legal_document_type_id: type: string example: null nullable: true document_type: type: string example: null nullable: true relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' content: type: string example: null nullable: true files: type: array example: [] tags: - 'Normativ hujjatlar — boshqaruv' requestBody: required: true content: multipart/form-data: schema: type: object properties: file: type: string format: binary description: "doc, docx, pdf yoki html; eng ko'pi 20 MB." locale: type: string description: 'Nusxa tili: uz, ru yoki uz_cyrl.' example: uz required: - file - locale parameters: - in: path name: legalDocument_id description: 'The ID of the legalDocument.' example: 113 required: true schema: type: integer - in: path name: legalDocument description: 'Hujjat raqami.' example: 1 required: true schema: type: integer '/api/v1/admin/legal-documents/{legalDocument_id}/files/{media}': delete: summary: "Nusxani o'chirish" operationId: nusxaniOchirish description: '' parameters: [] responses: { } tags: - 'Normativ hujjatlar — boshqaruv' parameters: - in: path name: legalDocument_id description: 'The ID of the legalDocument.' example: 113 required: true schema: type: integer - in: path name: media description: 'Fayl raqami (`files[].id`).' example: 12 required: true schema: type: integer - in: path name: legalDocument description: 'Hujjat raqami.' example: 1 required: true schema: type: integer /api/v1/open-data: get: summary: '' operationId: getApiV1OpenData description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Amal muvaffaqiyatli bajarildi.' data: - id: 1 title: 'Moliyalashtirish statistikasi — viloyatlar kesimida' period: '2026 I–II chorak' format: csv size: '1,8 MB' file_url: '/open-data#statistics' sort_order: 1 - id: 2 title: 'Imtiyozli lizingga berilgan texnika reyestri' period: '2026' format: xlsx size: '740 KB' file_url: '/open-data#datasets' sort_order: 2 - id: 3 title: 'Jamg‘armaning moliyaviy hisoboti' period: '2025-yil yakuni' format: pdf size: '3,2 MB' file_url: '/open-data#datasets' sort_order: 3 - id: 4 title: 'Tijorat banklari bo‘yicha mablag‘lar taqsimoti' period: '2026 II chorak' format: json size: '120 KB' file_url: '/open-data#datasets' sort_order: 4 errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Amal muvaffaqiyatli bajarildi.' data: type: array example: - id: 1 title: 'Moliyalashtirish statistikasi — viloyatlar kesimida' period: '2026 I–II chorak' format: csv size: '1,8 MB' file_url: '/open-data#statistics' sort_order: 1 - id: 2 title: 'Imtiyozli lizingga berilgan texnika reyestri' period: '2026' format: xlsx size: '740 KB' file_url: '/open-data#datasets' sort_order: 2 - id: 3 title: 'Jamg‘armaning moliyaviy hisoboti' period: '2025-yil yakuni' format: pdf size: '3,2 MB' file_url: '/open-data#datasets' sort_order: 3 - id: 4 title: 'Tijorat banklari bo‘yicha mablag‘lar taqsimoti' period: '2026 II chorak' format: json size: '120 KB' file_url: '/open-data#datasets' sort_order: 4 items: type: object properties: id: type: integer example: 1 title: type: string example: 'Moliyalashtirish statistikasi — viloyatlar kesimida' period: type: string example: '2026 I–II chorak' format: type: string example: csv size: type: string example: '1,8 MB' file_url: type: string example: '/open-data#statistics' sort_order: type: integer example: 1 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Ochiq ma'lumotlar (Open Data)" security: [] /api/v1/admin/open-data: get: summary: '' operationId: getApiV1AdminOpenData description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Ochiq ma'lumotlar — boshqaruv" post: summary: '' operationId: postApiV1AdminOpenData description: '' parameters: [] responses: { } tags: - "Ochiq ma'lumotlar — boshqaruv" requestBody: required: true content: application/json: schema: type: object properties: title: type: object description: '' example: [] properties: { } period: type: object description: '' example: [] properties: { } format: type: string description: validation.max. example: b size: type: string description: validation.max. example: 'n' nullable: true file_url: type: string description: validation.max. example: 'http://crooks.biz/et-fugiat-sunt-nihil-accusantium' nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - title - period - format '/api/v1/admin/open-data/{openDataset_id}': get: summary: '' operationId: getApiV1AdminOpenDataOpenDataset_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Ochiq ma'lumotlar — boshqaruv" put: summary: '' operationId: putApiV1AdminOpenDataOpenDataset_id description: '' parameters: [] responses: { } tags: - "Ochiq ma'lumotlar — boshqaruv" requestBody: required: false content: application/json: schema: type: object properties: title: type: object description: '' example: null properties: { } period: type: object description: '' example: null properties: { } format: type: string description: validation.max. example: b size: type: string description: validation.max. example: 'n' nullable: true file_url: type: string description: validation.max. example: 'http://crooks.biz/et-fugiat-sunt-nihil-accusantium' nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminOpenDataOpenDataset_id description: '' parameters: [] responses: { } tags: - "Ochiq ma'lumotlar — boshqaruv" parameters: - in: path name: openDataset_id description: 'The ID of the openDataset.' example: 1 required: true schema: type: integer /api/v1/search: get: summary: Qidiruv operationId: qidiruv description: '' parameters: - in: query name: q description: "Qidiruv so'zi (2–120 belgi)." example: paxta required: true schema: type: string description: "Qidiruv so'zi (2–120 belgi)." example: paxta - in: query name: limit description: 'Har bir guruhdagi natijalar soni (1–20, sukut 5).' example: 5 required: false schema: type: integer description: 'Har bir guruhdagi natijalar soni (1–20, sukut 5).' example: 5 responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: Success data: query: paxta total: 7 groups: - kind: legal_documents count: 2 items: - id: 3 doc_type: cabinet_resolution number: '680' adopted_on: '2023-12-25' title: 'Paxta xom ashyosini yetishtirishni kreditlash tartibi' direction: Paxtachilik relevance: direct_primary state: in_force external_url: null revisions_count: 0 - kind: programs count: 1 items: - id: 1 slug: paxta-krediti sector: cotton kind: credit title: 'Paxta yetishtirish krediti' summary: ... body: null required_documents: null - kind: faqs count: 3 items: - id: 12 question: 'Paxta uchun kredit qancha?' answer: ... category: id: 1 slug: kredit title: Kreditlar - kind: posts count: 1 items: - id: 210 slug: paxta-hosili title: 'Paxta hosili' intro: ... published_at: '2026-09-01T10:00:00+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 categories: [] errors: null meta: null properties: status: type: string example: ok message: type: string example: Success data: type: object properties: query: type: string example: paxta total: type: integer example: 7 groups: type: array example: - kind: legal_documents count: 2 items: - id: 3 doc_type: cabinet_resolution number: '680' adopted_on: '2023-12-25' title: 'Paxta xom ashyosini yetishtirishni kreditlash tartibi' direction: Paxtachilik relevance: direct_primary state: in_force external_url: null revisions_count: 0 - kind: programs count: 1 items: - id: 1 slug: paxta-krediti sector: cotton kind: credit title: 'Paxta yetishtirish krediti' summary: ... body: null required_documents: null - kind: faqs count: 3 items: - id: 12 question: 'Paxta uchun kredit qancha?' answer: ... category: id: 1 slug: kredit title: Kreditlar - kind: posts count: 1 items: - id: 210 slug: paxta-hosili title: 'Paxta hosili' intro: ... published_at: '2026-09-01T10:00:00+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 categories: [] items: type: object properties: kind: type: string example: legal_documents count: type: integer example: 2 items: type: array example: - id: 3 doc_type: cabinet_resolution number: '680' adopted_on: '2023-12-25' title: 'Paxta xom ashyosini yetishtirishni kreditlash tartibi' direction: Paxtachilik relevance: direct_primary state: in_force external_url: null revisions_count: 0 items: type: object properties: id: type: integer example: 3 doc_type: type: string example: cabinet_resolution number: type: string example: '680' adopted_on: type: string example: '2023-12-25' title: type: string example: 'Paxta xom ashyosini yetishtirishni kreditlash tartibi' direction: type: string example: Paxtachilik relevance: type: string example: direct_primary state: type: string example: in_force external_url: type: string example: null nullable: true revisions_count: type: integer example: 0 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - Qidiruv requestBody: required: true content: application/json: schema: type: object properties: q: type: string description: 'validation.min validation.max.' example: b limit: type: integer description: 'validation.min validation.max.' example: 12 required: - q security: [] /api/v1/management: get: summary: '' operationId: getApiV1Management description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Amal muvaffaqiyatli bajarildi.' data: - id: 1 name: 'Isroilov Abdurashid Abduraxmonovich' position: 'Departament direktori' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 1 - id: 2 name: 'Ro‘ziqulov Sayfulla Mansurovich' position: 'Departament direktori o‘rinbosari' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 2 - id: 3 name: 'Xatamova Dilbar Abduvaxobovna' position: 'Moliya-iqtisod bo‘limi - Bosh buxgalter' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 3 - id: 4 name: 'Mavlonov G‘iyos Ibroximovich' position: 'Agrar sohani moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 4 - id: 5 name: 'Ochilov Innatulla Nematullayevich' position: 'Qishloq xo‘jaligini texnika bilan jihozlashni moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 5 - id: 6 name: 'Baxridinov Abduaziz Abdimajidovich' position: 'Meva-sabzavot mahsulotlarini moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 6 errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Amal muvaffaqiyatli bajarildi.' data: type: array example: - id: 1 name: 'Isroilov Abdurashid Abduraxmonovich' position: 'Departament direktori' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 1 - id: 2 name: 'Ro‘ziqulov Sayfulla Mansurovich' position: 'Departament direktori o‘rinbosari' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 2 - id: 3 name: 'Xatamova Dilbar Abduvaxobovna' position: 'Moliya-iqtisod bo‘limi - Bosh buxgalter' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 3 - id: 4 name: 'Mavlonov G‘iyos Ibroximovich' position: 'Agrar sohani moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 4 - id: 5 name: 'Ochilov Innatulla Nematullayevich' position: 'Qishloq xo‘jaligini texnika bilan jihozlashni moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 5 - id: 6 name: 'Baxridinov Abduaziz Abdimajidovich' position: 'Meva-sabzavot mahsulotlarini moliyalashtirish bo‘limi - Bo‘lim boshlig‘i' reception_days: 'Dushanba – juma, 9:00 – 18:00' phone: '+998 71 231-02-17' email: info@agrofin.uz sort_order: 6 items: type: object properties: id: type: integer example: 1 name: type: string example: 'Isroilov Abdurashid Abduraxmonovich' position: type: string example: 'Departament direktori' reception_days: type: string example: 'Dushanba – juma, 9:00 – 18:00' phone: type: string example: '+998 71 231-02-17' email: type: string example: info@agrofin.uz sort_order: type: integer example: 1 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Rahbariyat (Management)' security: [] /api/v1/admin/management-members: get: summary: '' operationId: getApiV1AdminManagementMembers description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Rahbariyat — boshqaruv' post: summary: '' operationId: postApiV1AdminManagementMembers description: '' parameters: [] responses: { } tags: - 'Rahbariyat — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: name: type: object description: '' example: [] properties: { } position: type: object description: '' example: [] properties: { } reception_days: type: object description: '' example: null properties: { } nullable: true phone: type: string description: validation.max. example: b nullable: true email: type: string description: 'validation.email validation.max.' example: zbailey@example.net nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 required: - name - position '/api/v1/admin/management-members/{managementMember_id}': get: summary: '' operationId: getApiV1AdminManagementMembersManagementMember_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Rahbariyat — boshqaruv' put: summary: '' operationId: putApiV1AdminManagementMembersManagementMember_id description: '' parameters: [] responses: { } tags: - 'Rahbariyat — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: name: type: object description: '' example: null properties: { } position: type: object description: '' example: null properties: { } reception_days: type: object description: '' example: null properties: { } nullable: true phone: type: string description: validation.max. example: b nullable: true email: type: string description: 'validation.email validation.max.' example: zbailey@example.net nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 delete: summary: '' operationId: deleteApiV1AdminManagementMembersManagementMember_id description: '' parameters: [] responses: { } tags: - 'Rahbariyat — boshqaruv' parameters: - in: path name: managementMember_id description: 'The ID of the managementMember.' example: 1 required: true schema: type: integer /api/v1/assistant/ask: post: summary: 'Savol berish' operationId: savolBerish description: "Javob faqat Jamg'armaning tasdiqlangan bilim bazasidan olinadi.\nBazada javob bo'lmasa, yordamchi buni ochiq aytadi va ishonch\ntelefonini ko'rsatadi — o'ylab topilgan javob bermaydi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Operation completed successfully.' data: answer: ... source: '680 — ...' legal_document_id: null generator: gemini confident: true name: Xusan card: null human_takeover: false errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Operation completed successfully.' data: type: object properties: answer: type: string example: ... source: type: string example: '680 — ...' legal_document_id: type: string example: null nullable: true generator: type: string example: gemini confident: type: boolean example: true name: type: string example: Xusan card: type: string example: null nullable: true human_takeover: type: boolean example: false errors: type: string example: null nullable: true meta: type: string example: null nullable: true 429: description: '' content: application/json: schema: type: object example: status: error message: 'Kunlik xabar limiti (100) tugadi. Iltimos, ertaga qayta urinib ko‘ring yoki ishonch telefoniga murojaat qiling: +998 71 231-02-17.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Kunlik xabar limiti (100) tugadi. Iltimos, ertaga qayta urinib ko‘ring yoki ishonch telefoniga murojaat qiling: +998 71 231-02-17.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Raqamli yordamchi' requestBody: required: true content: application/json: schema: type: object properties: device_id: type: string description: 'Brauzer yaratgan qurilma belgisi.' example: dev-3f8a2b91c4 question: type: string description: 'Xabar matni (500 belgigacha).' example: 'Paxta uchun kredit qanday shartlarda beriladi?' name: type: string description: "Foydalanuvchi ismi — yordamchi so'raganida widget yuboradi." example: Xusan nullable: true required: - device_id - question security: [] '/api/v1/assistant/history/{deviceId}': get: summary: 'Suhbat tarixi' operationId: suhbatTarixi description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 506 role: user content: 'Et animi quos velit et fugiat.' source: null created_at: '2026-09-16T07:21:36+00:00' - id: 507 role: user content: 'Deserunt aut ab provident perspiciatis quo omnis nostrum.' source: null created_at: '2026-09-16T07:21:36+00:00' properties: data: type: array example: - id: 506 role: user content: 'Et animi quos velit et fugiat.' source: null created_at: '2026-09-16T07:21:36+00:00' - id: 507 role: user content: 'Deserunt aut ab provident perspiciatis quo omnis nostrum.' source: null created_at: '2026-09-16T07:21:36+00:00' items: type: object properties: id: type: integer example: 506 role: type: string example: user content: type: string example: 'Et animi quos velit et fugiat.' source: type: string example: null nullable: true created_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Raqamli yordamchi' security: [] parameters: - in: path name: deviceId description: 'Qurilma belgisi.' example: dev-3f8a2b91c4 required: true schema: type: string /api/v1/faqs: get: summary: Savol-javoblar operationId: savolJavoblar description: '' parameters: - in: query name: 'filter[faq_category_id]' description: Kategoriya. example: 1 required: false schema: type: integer description: Kategoriya. example: 1 - in: query name: 'filter[program_id]' description: Dastur. example: 1 required: false schema: type: integer description: Dastur. example: 1 - in: query name: 'filter[search]' description: "Savol matni bo'yicha qidiruv." example: subsidiya required: false schema: type: string description: "Savol matni bo'yicha qidiruv." example: subsidiya - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 50 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 50 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 229 question: 'Quasi asperiores officia qui veniam tenetur molestiae minima.?' answer: 'Et illo error quaerat non facere eos. Fugit nesciunt aut aut doloribus eos quo hic. In repudiandae quas qui dolores modi earum.' - id: 230 question: 'Dolores ipsum fuga harum velit qui explicabo dolor.?' answer: 'Fugiat ullam explicabo corporis autem et et minima. Eaque laudantium voluptatem facilis voluptas numquam. Rem est officia ex nobis enim quis molestiae.' properties: data: type: array example: - id: 229 question: 'Quasi asperiores officia qui veniam tenetur molestiae minima.?' answer: 'Et illo error quaerat non facere eos. Fugit nesciunt aut aut doloribus eos quo hic. In repudiandae quas qui dolores modi earum.' - id: 230 question: 'Dolores ipsum fuga harum velit qui explicabo dolor.?' answer: 'Fugiat ullam explicabo corporis autem et et minima. Eaque laudantium voluptatem facilis voluptas numquam. Rem est officia ex nobis enim quis molestiae.' items: type: object properties: id: type: integer example: 229 question: type: string example: 'Quasi asperiores officia qui veniam tenetur molestiae minima.?' answer: type: string example: 'Et illo error quaerat non facere eos. Fugit nesciunt aut aut doloribus eos quo hic. In repudiandae quas qui dolores modi earum.' tags: - Savol-javoblar security: [] /api/v1/faq-categories: get: summary: 'Savol-javob kategoriyalari' operationId: savolJavobKategoriyalari description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 165 slug: ut-non title: 'cupiditate facilis' - id: 166 slug: debitis-recusandae title: 'qui repudiandae' properties: data: type: array example: - id: 165 slug: ut-non title: 'cupiditate facilis' - id: 166 slug: debitis-recusandae title: 'qui repudiandae' items: type: object properties: id: type: integer example: 165 slug: type: string example: ut-non title: type: string example: 'cupiditate facilis' tags: - Savol-javoblar security: [] /api/v1/admin/program-sectors: get: summary: '' operationId: getApiV1AdminProgramSectors description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Sektorlar — boshqaruv' post: summary: '' operationId: postApiV1AdminProgramSectors description: '' parameters: [] responses: { } tags: - 'Sektorlar — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: name: type: object description: '' example: [] properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - name - slug '/api/v1/admin/program-sectors/{programSector}': get: summary: '' operationId: getApiV1AdminProgramSectorsProgramSector description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Sektorlar — boshqaruv' put: summary: '' operationId: putApiV1AdminProgramSectorsProgramSector description: '' parameters: [] responses: { } tags: - 'Sektorlar — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: name: type: object description: '' example: null properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminProgramSectorsProgramSector description: '' parameters: [] responses: { } tags: - 'Sektorlar — boshqaruv' parameters: - in: path name: programSector description: '' example: architecto required: true schema: type: string /api/v1/staff-units: get: summary: 'Tashkiliy tuzilma' operationId: tashkiliyTuzilma description: "Organogramma uchun daraxt ko'rinishida: ildizlar va ularning bo'linmalari." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 93 name: 'laborum quibusdam qui' head_name: 'Dock Bradtke' duties: null phone: null email: null - id: 94 name: 'delectus ea et' head_name: 'Mr. Vito Stiedemann II' duties: null phone: null email: null properties: data: type: array example: - id: 93 name: 'laborum quibusdam qui' head_name: 'Dock Bradtke' duties: null phone: null email: null - id: 94 name: 'delectus ea et' head_name: 'Mr. Vito Stiedemann II' duties: null phone: null email: null items: type: object properties: id: type: integer example: 93 name: type: string example: 'laborum quibusdam qui' head_name: type: string example: 'Dock Bradtke' duties: type: string example: null nullable: true phone: type: string example: null nullable: true email: type: string example: null nullable: true tags: - 'Tashkiliy tuzilma' security: [] /api/v1/admin/staff-units: get: summary: '' operationId: getApiV1AdminStaffUnits description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Tuzilma (Staff Units) — boshqaruv' post: summary: '' operationId: postApiV1AdminStaffUnits description: '' parameters: [] responses: { } tags: - 'Tuzilma (Staff Units) — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: name: type: object description: '' example: [] properties: { } parent_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true head_name: type: object description: '' example: null properties: { } nullable: true duties: type: object description: '' example: null properties: { } nullable: true phone: type: string description: validation.max. example: 'n' nullable: true email: type: string description: 'validation.email validation.max.' example: ashly64@example.com nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - name '/api/v1/admin/staff-units/{staffUnit_id}': get: summary: '' operationId: getApiV1AdminStaffUnitsStaffUnit_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Tuzilma (Staff Units) — boshqaruv' put: summary: '' operationId: putApiV1AdminStaffUnitsStaffUnit_id description: '' parameters: [] responses: { } tags: - 'Tuzilma (Staff Units) — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: name: type: object description: '' example: null properties: { } parent_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true head_name: type: object description: '' example: null properties: { } nullable: true duties: type: object description: '' example: null properties: { } nullable: true phone: type: string description: validation.max. example: 'n' nullable: true email: type: string description: 'validation.email validation.max.' example: ashly64@example.com nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminStaffUnitsStaffUnit_id description: '' parameters: [] responses: { } tags: - 'Tuzilma (Staff Units) — boshqaruv' parameters: - in: path name: staffUnit_id description: 'The ID of the staffUnit.' example: 42 required: true schema: type: integer /api/v1/videos: get: summary: '' operationId: getApiV1Videos description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: status: ok message: 'Amal muvaffaqiyatli bajarildi.' data: - id: 1 youtube_id: LRz9vMQCUa8 title: 'Jamg‘arma: hosil ortidagi moliyaviy kafolat' date: '2026-08-01' duration: '2:40' is_featured: true poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 1 - id: 2 youtube_id: LRz9vMQCUa8 title: 'Paxta yetishtirishni kreditlash qanday ishlaydi' date: '2026-07-01' duration: '4:15' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 2 - id: 3 youtube_id: LRz9vMQCUa8 title: 'Texnika lizingi: ariza berishdan topshirishgacha' date: '2026-06-01' duration: '3:05' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 3 - id: 4 youtube_id: LRz9vMQCUa8 title: 'Subsidiyalar: kim va qanday oladi' date: '2026-05-01' duration: '5:20' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 4 - id: 5 youtube_id: LRz9vMQCUa8 title: 'Hamkor banklar bilan yig‘ilish lavhalari' date: '2026-04-01' duration: '1:50' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 5 errors: null meta: null properties: status: type: string example: ok message: type: string example: 'Amal muvaffaqiyatli bajarildi.' data: type: array example: - id: 1 youtube_id: LRz9vMQCUa8 title: 'Jamg‘arma: hosil ortidagi moliyaviy kafolat' date: '2026-08-01' duration: '2:40' is_featured: true poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 1 - id: 2 youtube_id: LRz9vMQCUa8 title: 'Paxta yetishtirishni kreditlash qanday ishlaydi' date: '2026-07-01' duration: '4:15' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 2 - id: 3 youtube_id: LRz9vMQCUa8 title: 'Texnika lizingi: ariza berishdan topshirishgacha' date: '2026-06-01' duration: '3:05' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 3 - id: 4 youtube_id: LRz9vMQCUa8 title: 'Subsidiyalar: kim va qanday oladi' date: '2026-05-01' duration: '5:20' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 4 - id: 5 youtube_id: LRz9vMQCUa8 title: 'Hamkor banklar bilan yig‘ilish lavhalari' date: '2026-04-01' duration: '1:50' is_featured: false poster: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: 5 items: type: object properties: id: type: integer example: 1 youtube_id: type: string example: LRz9vMQCUa8 title: type: string example: 'Jamg‘arma: hosil ortidagi moliyaviy kafolat' date: type: string example: '2026-08-01' duration: type: string example: '2:40' is_featured: type: boolean example: true poster: type: string example: 'https://img.youtube.com/vi/LRz9vMQCUa8/hqdefault.jpg' sort_order: type: integer example: 1 errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Videogalereya (Video Gallery)' security: [] /api/v1/admin/videos: get: summary: '' operationId: getApiV1AdminVideos description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Videogalereya — boshqaruv' post: summary: '' operationId: postApiV1AdminVideos description: '' parameters: [] responses: { } tags: - 'Videogalereya — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: youtube_id: type: string description: validation.max. example: b title: type: object description: '' example: [] properties: { } date: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true duration: type: string description: validation.max. example: b nullable: true is_featured: type: boolean description: '' example: false status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - youtube_id - title '/api/v1/admin/videos/{video_id}': get: summary: '' operationId: getApiV1AdminVideosVideo_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Videogalereya — boshqaruv' put: summary: '' operationId: putApiV1AdminVideosVideo_id description: '' parameters: [] responses: { } tags: - 'Videogalereya — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: youtube_id: type: string description: validation.max. example: b title: type: object description: '' example: null properties: { } date: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true duration: type: string description: validation.max. example: 'n' nullable: true is_featured: type: boolean description: '' example: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 0 delete: summary: '' operationId: deleteApiV1AdminVideosVideo_id description: '' parameters: [] responses: { } tags: - 'Videogalereya — boshqaruv' parameters: - in: path name: video_id description: 'The ID of the video.' example: 1 required: true schema: type: integer /api/v1/posts: get: summary: "Yangiliklar ro'yxati" operationId: yangiliklarRoyxati description: "Faqat chop etilgan va so'ralgan tilda mavjud maqolalar qaytadi." parameters: - in: query name: 'filter[category]' description: "Kategoriya slug'i." example: tenderlar required: false schema: type: string description: "Kategoriya slug'i." example: tenderlar - in: query name: 'filter[search]' description: "Sarlavha bo'yicha qidiruv." example: paxta required: false schema: type: string description: "Sarlavha bo'yicha qidiruv." example: paxta - in: query name: 'filter[year]' description: 'Chop etilgan yil.' example: 2026 required: false schema: type: integer description: 'Chop etilgan yil.' example: 2026 - in: query name: 'filter[is_featured]' description: 'Faqat asosiy yangiliklar.' example: 1 required: false schema: type: integer description: 'Faqat asosiy yangiliklar.' example: 1 - in: query name: sort description: 'Tartib: published_at, id (oldiga «-» teskari).' example: '-published_at' required: false schema: type: string description: 'Tartib: published_at, id (oldiga «-» teskari).' example: '-published_at' - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 12 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 12 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 733 slug: modi-deserunt-aut-ab title: 'Modi deserunt aut ab.' intro: 'Quo omnis nostrum aut adipisci.' published_at: '2024-04-26T01:27:17+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 - id: 734 slug: voluptatem-laboriosam-praesentium title: 'Voluptatem laboriosam praesentium.' intro: 'Molestias fugit deleniti distinctio eum doloremque id.' published_at: '2025-05-04T11:44:36+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 properties: data: type: array example: - id: 733 slug: modi-deserunt-aut-ab title: 'Modi deserunt aut ab.' intro: 'Quo omnis nostrum aut adipisci.' published_at: '2024-04-26T01:27:17+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 - id: 734 slug: voluptatem-laboriosam-praesentium title: 'Voluptatem laboriosam praesentium.' intro: 'Molestias fugit deleniti distinctio eum doloremque id.' published_at: '2025-05-04T11:44:36+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 items: type: object properties: id: type: integer example: 733 slug: type: string example: modi-deserunt-aut-ab title: type: string example: 'Modi deserunt aut ab.' intro: type: string example: 'Quo omnis nostrum aut adipisci.' published_at: type: string example: '2024-04-26T01:27:17+00:00' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true is_machine_translated: type: boolean example: false view_count: type: integer example: 0 tags: - Yangiliklar security: [] /api/v1/news-categories: get: summary: 'Yangilik kategoriyalari' operationId: yangilikKategoriyalari description: 'Faol kategoriyalar, har birida joriy tildagi chop etilgan maqolalar soni bilan.' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 157 slug: voluptate-accusamus title: 'ut et' parent_id: null - id: 158 slug: modi-rerum-ex title: 'repellendus assumenda' parent_id: null properties: data: type: array example: - id: 157 slug: voluptate-accusamus title: 'ut et' parent_id: null - id: 158 slug: modi-rerum-ex title: 'repellendus assumenda' parent_id: null items: type: object properties: id: type: integer example: 157 slug: type: string example: voluptate-accusamus title: type: string example: 'ut et' parent_id: type: string example: null nullable: true tags: - Yangiliklar security: [] '/api/v1/posts/{slug}': get: summary: 'Bitta maqola' operationId: bittaMaqola description: "Maqola matni, kategoriyalari va uchta o'xshash maqola bilan qaytadi.\nHar chaqiriqda ko'rishlar soni bittaga oshadi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 735 slug: et-animi-quos-velit title: 'Et animi quos velit.' intro: 'Sunt nihil accusantium harum mollitia.' published_at: '2025-07-27T16:38:13+00:00' is_featured: false cover_url: null is_machine_translated: false view_count: 0 content: '

Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' related: [] properties: data: type: object properties: id: type: integer example: 735 slug: type: string example: et-animi-quos-velit title: type: string example: 'Et animi quos velit.' intro: type: string example: 'Sunt nihil accusantium harum mollitia.' published_at: type: string example: '2025-07-27T16:38:13+00:00' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true is_machine_translated: type: boolean example: false view_count: type: integer example: 0 content: type: string example: '

Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' related: type: array example: [] tags: - Yangiliklar security: [] parameters: - in: path name: slug description: 'Maqola manzil qismi.' example: paxta-2026 required: true schema: type: string /api/v1/admin/posts: get: summary: "Maqolalar ro'yxati (barcha holatlar)" operationId: maqolalarRoyxatibarchaHolatlar description: '' parameters: - in: query name: 'filter[publication_status]' description: 'draft, published yoki archived.' example: draft required: false schema: type: string description: 'draft, published yoki archived.' example: draft - in: query name: 'filter[category]' description: "Kategoriya slug'i." example: tenderlar required: false schema: type: string description: "Kategoriya slug'i." example: tenderlar - in: query name: 'filter[search]' description: "Sarlavha bo'yicha qidiruv." example: paxta required: false schema: type: string description: "Sarlavha bo'yicha qidiruv." example: paxta - in: query name: 'filter[year]' description: 'Chop etilgan yil.' example: 2026 required: false schema: type: integer description: 'Chop etilgan yil.' example: 2026 - in: query name: sort description: 'Tartib: published_at, id.' example: '-id' required: false schema: type: string description: 'Tartib: published_at, id.' example: '-id' - in: query name: per_page description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 required: false schema: type: integer description: "Sahifadagi yozuvlar soni (eng ko'pi 100)." example: 20 responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 736 slug: assumenda-occaecati-ea publication_status: published published_at: '2026-02-01T23:29:14+00:00' title: uz: 'Assumenda occaecati ea.' intro: uz: 'Accusamus in ipsam est perspiciatis repudiandae quia.' content: uz: '

Facilis asperiores dignissimos aut quo aut ea veniam qui. Omnis adipisci necessitatibus iste non odit repellendus ut. Omnis quidem facilis et expedita impedit.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' - id: 737 slug: natus-distinctio-assumenda publication_status: published published_at: '2024-11-10T19:26:04+00:00' title: uz: 'Natus distinctio assumenda.' intro: uz: 'Modi et aut sapiente doloremque adipisci quas eos.' content: uz: '

Maiores cum atque voluptatum a reprehenderit. Nihil numquam aut sunt ex. Autem hic voluptatem non nihil iste nesciunt officiis. Neque quisquam exercitationem et ullam.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: array example: - id: 736 slug: assumenda-occaecati-ea publication_status: published published_at: '2026-02-01T23:29:14+00:00' title: uz: 'Assumenda occaecati ea.' intro: uz: 'Accusamus in ipsam est perspiciatis repudiandae quia.' content: uz: '

Facilis asperiores dignissimos aut quo aut ea veniam qui. Omnis adipisci necessitatibus iste non odit repellendus ut. Omnis quidem facilis et expedita impedit.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' - id: 737 slug: natus-distinctio-assumenda publication_status: published published_at: '2024-11-10T19:26:04+00:00' title: uz: 'Natus distinctio assumenda.' intro: uz: 'Modi et aut sapiente doloremque adipisci quas eos.' content: uz: '

Maiores cum atque voluptatum a reprehenderit. Nihil numquam aut sunt ex. Autem hic voluptatem non nihil iste nesciunt officiis. Neque quisquam exercitationem et ullam.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' items: type: object properties: id: type: integer example: 736 slug: type: string example: assumenda-occaecati-ea publication_status: type: string example: published published_at: type: string example: '2026-02-01T23:29:14+00:00' title: type: object properties: uz: type: string example: 'Assumenda occaecati ea.' intro: type: object properties: uz: type: string example: 'Accusamus in ipsam est perspiciatis repudiandae quia.' content: type: object properties: uz: type: string example: '

Facilis asperiores dignissimos aut quo aut ea veniam qui. Omnis adipisci necessitatibus iste non odit repellendus ut. Omnis quidem facilis et expedita impedit.

' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true generated_locales: type: array example: [] legacy_slugs: type: string example: null nullable: true view_count: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Yangiliklar — boshqaruv' post: summary: 'Yangi maqola' operationId: yangiMaqola description: "`slug` bo'sh qoldirilsa sarlavhadan hosil qilinadi. `content` HTML'i\nsaqlashdan oldin tozalanadi; `intro` bo'sh bo'lsa matndan chiqariladi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 738 slug: fugiat-sunt-nihil-accusantium publication_status: published published_at: '2026-03-16T12:15:31+00:00' title: uz: 'Fugiat sunt nihil accusantium.' intro: uz: 'Modi deserunt aut ab provident perspiciatis.' content: uz: '

Nostrum aut adipisci quidem nostrum. Commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: object properties: id: type: integer example: 738 slug: type: string example: fugiat-sunt-nihil-accusantium publication_status: type: string example: published published_at: type: string example: '2026-03-16T12:15:31+00:00' title: type: object properties: uz: type: string example: 'Fugiat sunt nihil accusantium.' intro: type: object properties: uz: type: string example: 'Modi deserunt aut ab provident perspiciatis.' content: type: object properties: uz: type: string example: '

Nostrum aut adipisci quidem nostrum. Commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true generated_locales: type: array example: [] legacy_slugs: type: string example: null nullable: true view_count: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Yangiliklar — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b nullable: true publication_status: type: string description: '' example: archived enum: - draft - published - archived published_at: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true title: type: object description: '' example: [] properties: { } intro: type: object description: '' example: null properties: { } nullable: true content: type: object description: '' example: null properties: { } nullable: true is_featured: type: boolean description: '' example: false category_ids: type: array description: 'Must match an existing stored value.' example: - 16 items: type: integer required: - publication_status - title /api/v1/admin/posts/images: post: summary: 'Muqova rasmini yuklash' operationId: muqovaRasminiYuklash description: 'Kolleksiya bitta faylli — eski rasm avtomatik almashadi.' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 739 slug: eius-et-animi-quos publication_status: published published_at: '2025-12-30T13:17:13+00:00' title: uz: 'Eius et animi quos.' intro: uz: 'Fugiat sunt nihil accusantium harum mollitia.' content: uz: '

Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: object properties: id: type: integer example: 739 slug: type: string example: eius-et-animi-quos publication_status: type: string example: published published_at: type: string example: '2025-12-30T13:17:13+00:00' title: type: object properties: uz: type: string example: 'Eius et animi quos.' intro: type: object properties: uz: type: string example: 'Fugiat sunt nihil accusantium harum mollitia.' content: type: object properties: uz: type: string example: '

Aut ab provident perspiciatis quo omnis nostrum aut. Quidem nostrum qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true generated_locales: type: array example: [] legacy_slugs: type: string example: null nullable: true view_count: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Yangiliklar — boshqaruv' requestBody: required: true content: multipart/form-data: schema: type: object properties: image: type: string format: binary description: 'validation.image validation.max.' required: - image parameters: - in: path name: post description: 'Maqola raqami.' example: 1 required: true schema: type: integer '/api/v1/admin/posts/{post_id}': get: summary: 'Bitta maqola — tahrirlash uchun, barcha tillari bilan' operationId: bittaMaqolaTahrirlashUchunBarchaTillariBilan description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 740 slug: adipisci-molestias-fugit-deleniti-distinctio-eum publication_status: published published_at: '2024-02-04T03:45:34+00:00' title: uz: 'Adipisci molestias fugit deleniti distinctio eum.' intro: uz: 'Aut libero aliquam veniam corporis.' content: uz: '

Deleniti nemo odit quia officia. Dignissimos neque blanditiis odio. Excepturi doloribus delectus fugit qui repudiandae laboriosam.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: object properties: id: type: integer example: 740 slug: type: string example: adipisci-molestias-fugit-deleniti-distinctio-eum publication_status: type: string example: published published_at: type: string example: '2024-02-04T03:45:34+00:00' title: type: object properties: uz: type: string example: 'Adipisci molestias fugit deleniti distinctio eum.' intro: type: object properties: uz: type: string example: 'Aut libero aliquam veniam corporis.' content: type: object properties: uz: type: string example: '

Deleniti nemo odit quia officia. Dignissimos neque blanditiis odio. Excepturi doloribus delectus fugit qui repudiandae laboriosam.

' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true generated_locales: type: array example: [] legacy_slugs: type: string example: null nullable: true view_count: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Yangiliklar — boshqaruv' put: summary: 'Maqolani tahrirlash' operationId: maqolaniTahrirlash description: "Muharrir matnini tuzatgan til `generated_locales` ro'yxatidan chiqadi —\nya'ni «avtomatik o'girilgan» yorlig'i o'chadi." parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: id: 741 slug: mollitia-modi-deserunt-aut-ab publication_status: published published_at: '2024-04-26T01:27:17+00:00' title: uz: 'Mollitia modi deserunt aut ab.' intro: uz: 'Quo omnis nostrum aut adipisci.' content: uz: '

Qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: false cover_url: null generated_locales: [] legacy_slugs: null view_count: 0 created_at: '2026-09-16T07:21:36+00:00' updated_at: '2026-09-16T07:21:36+00:00' properties: data: type: object properties: id: type: integer example: 741 slug: type: string example: mollitia-modi-deserunt-aut-ab publication_status: type: string example: published published_at: type: string example: '2024-04-26T01:27:17+00:00' title: type: object properties: uz: type: string example: 'Mollitia modi deserunt aut ab.' intro: type: object properties: uz: type: string example: 'Quo omnis nostrum aut adipisci.' content: type: object properties: uz: type: string example: '

Qui commodi incidunt iure odit. Et modi ipsum nostrum omnis autem et consequatur. Dolores enim non facere tempora.

' is_featured: type: boolean example: false cover_url: type: string example: null nullable: true generated_locales: type: array example: [] legacy_slugs: type: string example: null nullable: true view_count: type: integer example: 0 created_at: type: string example: '2026-09-16T07:21:36+00:00' updated_at: type: string example: '2026-09-16T07:21:36+00:00' tags: - 'Yangiliklar — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b publication_status: type: string description: '' example: published enum: - draft - published - archived published_at: type: string description: validation.date. example: '2026-09-16T07:21:36' nullable: true title: type: object description: '' example: null properties: { } intro: type: object description: '' example: null properties: { } nullable: true content: type: object description: '' example: null properties: { } nullable: true is_featured: type: boolean description: '' example: false category_ids: type: array description: 'Must match an existing stored value.' example: - 16 items: type: integer delete: summary: "Maqolani o'chirish" operationId: maqolaniOchirish description: "Yumshoq o'chirish — yozuv bazada qoladi va qaytarib olinishi mumkin." parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' parameters: - in: path name: post_id description: 'The ID of the post.' example: 220 required: true schema: type: integer - in: path name: post description: 'Maqola raqami.' example: 1 required: true schema: type: integer '/api/v1/admin/posts/{post_id}/cover': post: summary: '' operationId: postApiV1AdminPostsPost_idCover description: '' parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' requestBody: required: true content: multipart/form-data: schema: type: object properties: cover: type: string format: binary description: 'validation.image validation.max.' required: - cover delete: summary: "Muqova rasmini o'chirish" operationId: muqovaRasminiOchirish description: '' parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' parameters: - in: path name: post_id description: 'The ID of the post.' example: 220 required: true schema: type: integer /api/v1/admin/news-categories: get: summary: "Kategoriyalar ro'yxati (nofaollari bilan)" operationId: kategoriyalarRoyxatinofaollariBilan description: '' parameters: [] responses: 200: description: '' content: application/json: schema: type: object example: data: - id: 159 slug: eius-et title: uz: 'animi quos' parent_id: null status: 1 sort_order: 0 - id: 160 slug: et-fugiat title: uz: 'sunt nihil' parent_id: null status: 1 sort_order: 0 properties: data: type: array example: - id: 159 slug: eius-et title: uz: 'animi quos' parent_id: null status: 1 sort_order: 0 - id: 160 slug: et-fugiat title: uz: 'sunt nihil' parent_id: null status: 1 sort_order: 0 items: type: object properties: id: type: integer example: 159 slug: type: string example: eius-et title: type: object properties: uz: type: string example: 'animi quos' parent_id: type: string example: null nullable: true status: type: integer example: 1 sort_order: type: integer example: 0 tags: - 'Yangiliklar — boshqaruv' post: summary: 'Yangi kategoriya' operationId: yangiKategoriya description: '' parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b title: type: object description: '' example: [] properties: { } parent_id: type: integer description: 'Must match an existing stored value.' example: 16 nullable: true status: type: integer description: '' example: 1 enum: - 1 - 0 sort_order: type: integer description: 'validation.min validation.max.' example: 22 required: - slug - title '/api/v1/admin/news-categories/{newsCategory_id}': get: summary: "Kategoriyani ko'rish" operationId: kategoriyaniKorish description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - 'Yangiliklar — boshqaruv' put: summary: 'Kategoriyani tahrirlash' operationId: kategoriyaniTahrirlash description: '' parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: 'Must match the regex /^[a-z0-9]+(?:-[a-z0-9]+)*$/. validation.max.' example: b title: type: object description: '' example: null properties: { } parent_id: type: integer description: 'Must match an existing stored value. Must not be one of .' example: 16 nullable: true status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: 'validation.min validation.max.' example: 22 delete: summary: "Kategoriyani o'chirish" operationId: kategoriyaniOchirish description: "Maqolalari bor kategoriya o'chirilmaydi — avval maqolalar boshqa\nkategoriyaga ko'chirilishi kerak." parameters: [] responses: { } tags: - 'Yangiliklar — boshqaruv' parameters: - in: path name: newsCategory_id description: 'The ID of the newsCategory.' example: 7 required: true schema: type: integer /api/v1/admin/legal-directions: get: summary: '' operationId: getApiV1AdminLegalDirections description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Yo'nalishlar — boshqaruv" post: summary: '' operationId: postApiV1AdminLegalDirections description: '' parameters: [] responses: { } tags: - "Yo'nalishlar — boshqaruv" requestBody: required: true content: application/json: schema: type: object properties: name: type: object description: '' example: [] properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 required: - name - slug '/api/v1/admin/legal-directions/{legalDirection_id}': get: summary: '' operationId: getApiV1AdminLegalDirectionsLegalDirection_id description: '' parameters: [] responses: 401: description: '' content: application/json: schema: type: object example: status: error message: 'Autentifikatsiyadan o‘tilmagan.' data: [] errors: null meta: null properties: status: type: string example: error message: type: string example: 'Autentifikatsiyadan o‘tilmagan.' data: type: array example: [] errors: type: string example: null nullable: true meta: type: string example: null nullable: true tags: - "Yo'nalishlar — boshqaruv" put: summary: '' operationId: putApiV1AdminLegalDirectionsLegalDirection_id description: '' parameters: [] responses: { } tags: - "Yo'nalishlar — boshqaruv" requestBody: required: false content: application/json: schema: type: object properties: name: type: object description: '' example: null properties: { } slug: type: string description: validation.max. example: b status: type: integer description: '' example: 0 enum: - 1 - 0 sort_order: type: integer description: validation.between. example: 1 delete: summary: '' operationId: deleteApiV1AdminLegalDirectionsLegalDirection_id description: '' parameters: [] responses: { } tags: - "Yo'nalishlar — boshqaruv" parameters: - in: path name: legalDirection_id description: 'The ID of the legalDirection.' example: 2 required: true schema: type: integer