Files
n8n-nodes-wibu/openapi.json
bipproduction 4fcb80df3d tambahan v2
2025-11-07 10:41:05 +08:00

2432 lines
101 KiB
JSON

{
"openapi": "3.0.3",
"info": {
"title": "Elysia Documentation",
"description": "Development documentation",
"version": "0.0.0"
},
"paths": {
"/api/pengaduan/category": {
"get": {
"operationId": "getApiPengaduanCategory",
"tags": [
"mcp"
],
"summary": "List Kategori Pengaduan",
"description": "tool untuk mendapatkan list kategori pengaduan",
"responses": {
"200": {}
}
}
},
"/api/pengaduan/category/create": {
"post": {
"parameters": [],
"operationId": "postApiPengaduanCategoryCreate",
"tags": [
"pengaduan"
],
"summary": "buat kategori pengaduan",
"description": "tool untuk membuat kategori pengaduan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"name"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"name"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"name"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pengaduan/category/update": {
"post": {
"parameters": [],
"operationId": "postApiPengaduanCategoryUpdate",
"tags": [
"pengaduan"
],
"summary": "update kategori pengaduan",
"description": "tool untuk update kategori pengaduan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
}
},
"required": [
"id",
"name"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pengaduan/category/delete": {
"post": {
"parameters": [],
"operationId": "postApiPengaduanCategoryDelete",
"tags": [
"pengaduan"
],
"summary": "delete kategori pengaduan",
"description": "tool untuk delete kategori pengaduan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pengaduan/create": {
"post": {
"parameters": [],
"operationId": "postApiPengaduanCreate",
"tags": [
"mcp"
],
"summary": "Create Pengaduan Warga",
"description": "tool untuk membuat pengaduan warga",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {
"minLength": 1,
"error": "title harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
},
"location": {
"minLength": 1,
"error": "location harus diisi",
"type": "string"
},
"image": {},
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
}
},
"required": [
"title",
"detail",
"location",
"image",
"idCategory",
"idWarga",
"phone"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"title": {
"minLength": 1,
"error": "title harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
},
"location": {
"minLength": 1,
"error": "location harus diisi",
"type": "string"
},
"image": {},
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
}
},
"required": [
"title",
"detail",
"location",
"image",
"idCategory",
"idWarga",
"phone"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"title": {
"minLength": 1,
"error": "title harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
},
"location": {
"minLength": 1,
"error": "location harus diisi",
"type": "string"
},
"image": {},
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
}
},
"required": [
"title",
"detail",
"location",
"image",
"idCategory",
"idWarga",
"phone"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pengaduan/update-status": {
"post": {
"parameters": [],
"operationId": "postApiPengaduanUpdate-status",
"tags": [
"pengaduan"
],
"summary": "Update status pengaduan",
"description": "tool untuk update status pengaduan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pengaduan/detail": {
"get": {
"operationId": "getApiPengaduanDetail",
"tags": [
"mcp"
],
"summary": "Detail Pengaduan Warga",
"description": "tool untuk mendapatkan detail pengaduan warga / history pengaduan / mengecek status pengaduan",
"responses": {
"200": {}
}
}
},
"/api/pengaduan/": {
"get": {
"operationId": "getApiPengaduan",
"tags": [
"mcp"
],
"summary": "List Pengaduan Warga",
"description": "tool untuk mendapatkan list pengaduan warga",
"responses": {
"200": {}
}
}
},
"/api/pelayanan/category": {
"get": {
"operationId": "getApiPelayananCategory",
"tags": [
"mcp"
],
"summary": "List Kategori Pelayanan Surat",
"description": "tool untuk mendapatkan list kategori pelayanan surat",
"responses": {
"200": {}
}
}
},
"/api/pelayanan/category/create": {
"post": {
"parameters": [],
"operationId": "postApiPelayananCategoryCreate",
"tags": [
"pelayanan"
],
"summary": "buat kategori pelayanan surat",
"description": "tool untuk membuat kategori pelayanan surat",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"name",
"syaratDokumen",
"dataText"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"name",
"syaratDokumen",
"dataText"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"name",
"syaratDokumen",
"dataText"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pelayanan/category/update": {
"post": {
"parameters": [],
"operationId": "postApiPelayananCategoryUpdate",
"tags": [
"pelayanan"
],
"summary": "update kategori pelayanan surat",
"description": "tool untuk update kategori pelayanan surat",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"id",
"name",
"syaratDokumen",
"dataText"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"id",
"name",
"syaratDokumen",
"dataText"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"syaratDokumen": {
"type": "array",
"items": {
"minLength": 1,
"error": "syaratDokumen harus diisi",
"type": "string"
}
},
"dataText": {
"type": "array",
"items": {
"minLength": 1,
"error": "dataText harus diisi",
"type": "string"
}
}
},
"required": [
"id",
"name",
"syaratDokumen",
"dataText"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pelayanan/category/delete": {
"post": {
"parameters": [],
"operationId": "postApiPelayananCategoryDelete",
"tags": [
"pelayanan"
],
"summary": "delete kategori pelayanan surat",
"description": "tool untuk delete kategori pelayanan surat",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
}
},
"required": [
"id"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pelayanan/": {
"get": {
"operationId": "getApiPelayanan",
"tags": [
"mcp"
],
"summary": "List Ajuan Pelayanan Surat",
"description": "tool untuk mendapatkan list ajuan pelayanan surat",
"responses": {
"200": {}
}
}
},
"/api/pelayanan/detail": {
"get": {
"parameters": [
{
"schema": {
"type": "string",
"minLength": 1,
"error": "id harus diisi"
},
"in": "query",
"name": "id",
"required": true
}
],
"operationId": "getApiPelayananDetail",
"tags": [
"mcp"
],
"summary": "Detail Ajuan Pelayanan Surat",
"description": "tool untuk mendapatkan detail ajuan pelayanan surat",
"responses": {
"200": {}
}
}
},
"/api/pelayanan/create": {
"post": {
"parameters": [],
"operationId": "postApiPelayananCreate",
"tags": [
"mcp"
],
"summary": "Create Pengajuan Pelayanan Surat",
"description": "tool untuk membuat pengajuan pelayanan surat",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"dataText": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
},
"syaratDokumen": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
}
},
"required": [
"idCategory",
"idWarga",
"phone",
"dataText",
"syaratDokumen"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"dataText": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
},
"syaratDokumen": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
}
},
"required": [
"idCategory",
"idWarga",
"phone",
"dataText",
"syaratDokumen"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"idCategory": {
"minLength": 1,
"error": "idCategory harus diisi",
"type": "string"
},
"idWarga": {
"minLength": 1,
"error": "idWarga harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"dataText": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
},
"syaratDokumen": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jenis": {
"minLength": 1,
"error": "jenis harus diisi",
"type": "string"
},
"value": {
"minLength": 1,
"error": "value harus diisi",
"type": "string"
}
},
"required": [
"jenis",
"value"
]
}
}
},
"required": [
"idCategory",
"idWarga",
"phone",
"dataText",
"syaratDokumen"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/pelayanan/update-status": {
"post": {
"parameters": [],
"operationId": "postApiPelayananUpdate-status",
"tags": [
"mcp"
],
"summary": "Update status pengajuan pelayanan surat",
"description": "tool untuk update status pengajuan pelayanan surat",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {
"minLength": 1,
"error": "keterangan harus diisi",
"type": "string"
},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {
"minLength": 1,
"error": "keterangan harus diisi",
"type": "string"
},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"minLength": 1,
"error": "id harus diisi",
"type": "string"
},
"status": {
"minLength": 1,
"error": "status harus diisi",
"type": "string"
},
"keterangan": {
"minLength": 1,
"error": "keterangan harus diisi",
"type": "string"
},
"idUser": {
"minLength": 1,
"error": "idUser harus diisi",
"type": "string"
}
},
"required": [
"id",
"status",
"keterangan",
"idUser"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/apikey/create": {
"post": {
"parameters": [],
"operationId": "postApiApikeyCreate",
"tags": [
"apikey"
],
"summary": "create",
"description": "create api key by user",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"expiredAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"expiredAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"expiredAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"name",
"description"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/apikey/list": {
"get": {
"operationId": "getApiApikeyList",
"tags": [
"apikey"
],
"summary": "list",
"description": "get api key list by user",
"responses": {
"200": {}
}
}
},
"/api/apikey/delete": {
"delete": {
"parameters": [],
"operationId": "deleteApiApikeyDelete",
"tags": [
"apikey"
],
"summary": "delete",
"description": "delete api key by id",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/darmasaba/repos": {
"get": {
"operationId": "getApiDarmasabaRepos",
"tags": [
"darmasaba"
],
"summary": "repos",
"description": "get list of repositories",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/ls": {
"get": {
"operationId": "getApiDarmasabaLs",
"tags": [
"darmasaba"
],
"summary": "ls",
"description": "get list of dir in darmasaba",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/ls/{dir}": {
"get": {
"parameters": [
{
"schema": {
"type": "string"
},
"in": "path",
"name": "dir",
"required": true
}
],
"operationId": "getApiDarmasabaLsByDir",
"tags": [
"darmasaba"
],
"summary": "ls",
"description": "get list of files in darmasaba/<dir>",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/file/{dir}/{file_name}": {
"get": {
"parameters": [
{
"schema": {
"type": "string"
},
"in": "path",
"name": "dir",
"required": true
},
{
"schema": {
"type": "string"
},
"in": "path",
"name": "file_name",
"required": true
}
],
"operationId": "getApiDarmasabaFileByDirByFile_name",
"tags": [
"darmasaba"
],
"summary": "file",
"description": "get content of file in darmasaba/<dir>/<file_name>",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/list-pengetahuan-umum": {
"get": {
"operationId": "getApiDarmasabaList-pengetahuan-umum",
"tags": [
"darmasaba"
],
"summary": "list-pengetahuan-umum",
"description": "get list of files in darmasaba/pengetahuan-umum",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/pengetahuan-umum/{file_name}": {
"get": {
"parameters": [
{
"schema": {
"type": "string"
},
"in": "path",
"name": "file_name",
"required": true
}
],
"operationId": "getApiDarmasabaPengetahuan-umumByFile_name",
"tags": [
"darmasaba"
],
"summary": "pengetahuan-umum",
"description": "get content of file in darmasaba/pengetahuan-umum/<file_name>",
"responses": {
"200": {}
}
}
},
"/api/darmasaba/buat-pengaduan": {
"post": {
"parameters": [],
"operationId": "postApiDarmasabaBuat-pengaduan",
"tags": [
"darmasaba"
],
"summary": "buat-pengaduan atau pelaporan",
"description": "tool untuk membuat pengaduan atau pelaporan warga kepada desa darmasaba",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"jenis_laporan": {
"minLength": 1,
"error": "jenis laporan harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
}
},
"required": [
"jenis_laporan",
"name",
"phone",
"detail"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"jenis_laporan": {
"minLength": 1,
"error": "jenis laporan harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
}
},
"required": [
"jenis_laporan",
"name",
"phone",
"detail"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"jenis_laporan": {
"minLength": 1,
"error": "jenis laporan harus diisi",
"type": "string"
},
"name": {
"minLength": 1,
"error": "name harus diisi",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone harus diisi",
"type": "string"
},
"detail": {
"minLength": 1,
"error": "detail harus diisi",
"type": "string"
}
},
"required": [
"jenis_laporan",
"name",
"phone",
"detail"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/darmasaba/status-pengaduan": {
"post": {
"parameters": [],
"operationId": "postApiDarmasabaStatus-pengaduan",
"tags": [
"darmasaba"
],
"summary": "lihat status pengaduan",
"description": "melikat status pengaduan dari user",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/credential/create": {
"post": {
"parameters": [],
"operationId": "postApiCredentialCreate",
"tags": [
"credential"
],
"summary": "create",
"description": "create credential",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/credential/list": {
"get": {
"operationId": "getApiCredentialList",
"tags": [
"credential"
],
"summary": "list",
"description": "get credential list",
"responses": {
"200": {}
}
}
},
"/api/credential/rm": {
"delete": {
"parameters": [],
"operationId": "deleteApiCredentialRm",
"tags": [
"credential"
],
"summary": "rm",
"description": "delete credential by id",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/user/find": {
"get": {
"operationId": "getApiUserFind",
"tags": [
"user"
],
"summary": "find",
"description": "find user",
"responses": {
"200": {}
}
}
},
"/api/user/upsert": {
"post": {
"parameters": [],
"operationId": "postApiUserUpsert",
"tags": [
"user"
],
"summary": "upsert",
"description": "upsert user",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name is required",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone is required",
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name is required",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone is required",
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"name": {
"minLength": 1,
"error": "name is required",
"type": "string"
},
"phone": {
"minLength": 1,
"error": "phone is required",
"type": "string"
}
},
"required": [
"name",
"phone"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/layanan/list": {
"get": {
"operationId": "getApiLayananList",
"tags": [
"layanan"
],
"summary": "List Layanan",
"description": "Returns the list of all available public services.",
"responses": {
"200": {}
}
}
},
"/api/layanan/create-ktp": {
"post": {
"parameters": [],
"operationId": "postApiLayananCreate-ktp",
"tags": [
"mcp"
],
"summary": "Create Layanan KTP/KK",
"description": "Create a new service request for KTP or KK.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"jenis": {
"anyOf": [
{
"const": "ktp",
"type": "string"
},
{
"const": "kk",
"type": "string"
}
]
},
"nama": {
"minLength": 3,
"description": "Nama pemohon layanan",
"type": "string"
},
"deskripsi": {
"minLength": 5,
"description": "Deskripsi singkat permohonan layanan",
"type": "string"
}
},
"required": [
"jenis",
"nama",
"deskripsi"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"jenis": {
"anyOf": [
{
"const": "ktp",
"type": "string"
},
{
"const": "kk",
"type": "string"
}
]
},
"nama": {
"minLength": 3,
"description": "Nama pemohon layanan",
"type": "string"
},
"deskripsi": {
"minLength": 5,
"description": "Deskripsi singkat permohonan layanan",
"type": "string"
}
},
"required": [
"jenis",
"nama",
"deskripsi"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"jenis": {
"anyOf": [
{
"const": "ktp",
"type": "string"
},
{
"const": "kk",
"type": "string"
}
]
},
"nama": {
"minLength": 3,
"description": "Nama pemohon layanan",
"type": "string"
},
"deskripsi": {
"minLength": 5,
"description": "Deskripsi singkat permohonan layanan",
"type": "string"
}
},
"required": [
"jenis",
"nama",
"deskripsi"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/layanan/status-ktp": {
"post": {
"parameters": [],
"operationId": "postApiLayananStatus-ktp",
"tags": [
"mcp"
],
"summary": "Cek Status KTP",
"description": "Retrieve the current status of a KTP/KK request by unique ID.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"uniqid": {
"description": "Unique ID layanan",
"type": "string"
}
},
"required": [
"uniqid"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"uniqid": {
"description": "Unique ID layanan",
"type": "string"
}
},
"required": [
"uniqid"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"uniqid": {
"description": "Unique ID layanan",
"type": "string"
}
},
"required": [
"uniqid"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/aduan/create": {
"post": {
"parameters": [],
"operationId": "postApiAduanCreate",
"tags": [
"aduan"
],
"summary": "create",
"description": "create aduan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"title",
"description"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"title",
"description"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"title",
"description"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/aduan/aduan-sampah": {
"post": {
"parameters": [],
"operationId": "postApiAduanAduan-sampah",
"tags": [
"aduan"
],
"summary": "aduan sampah",
"description": "tool untuk membuat aduan sampah liar",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"judul": {
"type": "string"
},
"deskripsi": {
"type": "string"
}
},
"required": [
"judul",
"deskripsi"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"judul": {
"type": "string"
},
"deskripsi": {
"type": "string"
}
},
"required": [
"judul",
"deskripsi"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"judul": {
"type": "string"
},
"deskripsi": {
"type": "string"
}
},
"required": [
"judul",
"deskripsi"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/api/aduan/list-aduan-sampah": {
"get": {
"operationId": "getApiAduanList-aduan-sampah",
"tags": [
"aduan"
],
"summary": "list aduan sampah",
"description": "tool untuk melihat list aduan sampah liar",
"responses": {
"200": {}
}
}
},
"/auth/login": {
"post": {
"parameters": [],
"operationId": "postAuthLogin",
"tags": [
"auth"
],
"summary": "login",
"description": "Login with phone; auto-register if not found",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
]
}
},
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
]
}
},
"text/plain": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
]
}
}
}
},
"responses": {
"200": {}
}
}
},
"/auth/logout": {
"delete": {
"operationId": "deleteAuthLogout",
"tags": [
"auth"
],
"summary": "logout",
"description": "Logout (clear token cookie)",
"responses": {
"200": {}
}
}
},
"/mcp": {
"post": {
"operationId": "postMcp",
"tags": [
"MCP Server"
],
"responses": {
"200": {}
}
}
},
"/mcp/tools": {
"get": {
"operationId": "getMcpTools",
"tags": [
"MCP Server"
],
"responses": {
"200": {}
}
}
},
"/mcp/status": {
"get": {
"operationId": "getMcpStatus",
"tags": [
"MCP Server"
],
"responses": {
"200": {}
}
}
},
"/health": {
"get": {
"operationId": "getHealth",
"tags": [
"MCP Server"
],
"responses": {
"200": {}
}
}
},
"/mcp/init": {
"get": {
"operationId": "getMcpInit",
"tags": [
"MCP Server"
],
"responses": {
"200": {}
}
}
}
},
"components": {
"schemas": {}
}
}